Boost logo

Boost Users :

Subject: [Boost-users] Coroutine jump_fcontext crash (Boost 1.61)
From: Jason Mancini (jayrusman_at_[hidden])
Date: 2016-06-21 13:24:05


Starting with Boost 1.61, if -DBOOST_USE_VALGRIND=1 is set, then the Coroutine sample from boost docs crashes on first stack switch. Is this a known issue? (We're using GCC 6.1 on 64-bit Linux.) Not posting a code sample, it's literally the exact one from the Coroutine web page. Compile with the define, then run. We have Valgrind 3.10.1 installed. [Curiously, the Context code sample runs fine.] I am suspecting a missing snippet on the Coroutine side that affects stack_context structure size.



# gdb ./a.out


SIGSEGV, Segmentation fault.

(gdb) bt

#0 0x00002aaaaaab3ec0 in jump_fcontext () from .../lib/


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at