|
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
Hello,
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.
Thanks!
Jason
# gdb ./a.out
...
SIGSEGV, Segmentation fault.
(gdb) bt
#0 0x00002aaaaaab3ec0 in jump_fcontext () from .../lib/libboost_context.so.1.61.0
(gdb)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net