id summary reporter owner description type status milestone component version severity resolution keywords cc
11946 Boost.Context crashes on x86_64/MinGW tomasz.wlostowski@… olli "Dear Boost Developers,
The GNU assembler version of the make_fcontext()/jump_fcontext() functions on x86_64 platforms have a serious bug that causes the program to segfault: the GAS code loads an invalid memory location instead of a constant due to a missing '$', for example:
Is: movq 1, rcx // rcx = mem[1]
Should be: movq $1, rcx // rcx = 1
movq $1, %rcx -> moves
The attached patch fixes the issue.
Best Regards,
Tomasz Wlostowski" Bugs closed To Be Determined context Boost 1.60.0 Showstopper fixed