Pele44

Results 10 comments of Pele44

With gcc 13.2 and clang 17.0.6, running under Fedora 39 (x86_64), problem doesn't occur. But running under Windows, example built by MSVC 19.39 get's stuck on io_context dcor...

I've check this code on every combination of g++ 13.2 /clang++ 17.0.6, -O2 / -O0, no sanitizer / address sanitizer / thread sanitizer on Linux platform without any problems. In...

Is there a chance that the error is actually in cobalt? Or maybe it's better to report the case to Microsoft? The problem occurs in our project and unfortunately the...

Is there a chance that the mentioned bug/workaround for the MSVC bug will be fixed in the near future?

I'm working on boost 1.85, which already has the mentioned changes (https://github.com/boostorg/cobalt/commit/61bf8d467786fefe8a8ab6f7cb51896bcade6d46)

The error is not 100% reproducible, but in my environment, at least once in 10 launches the error occurred. I tested last time on debug, without optimization. Fedora 40, AMD...

``` ================================================================= ==19516==ERROR: AddressSanitizer: heap-use-after-free on address 0x5210000001d8 at pc 0x000000438afa bp 0x7f560d1ff4c0 sp 0x7f560d1ff4b8 READ of size 1 at 0x5210000001d8 thread T2 #0 0x438af9 in boost::cobalt::detail::task_receiver::cancel(boost::asio::cancellation_type) const (arch_cmd+0x438af9) (BuildId:...

I've added https://github.com/boostorg/cobalt/pull/196

I've been trying to open this bug on my current machine for a few hours. But boost versions 1.85 and 1.86 didn't cause any problems. I've tried address sanitizer, thread...