Subject: [Boost-bugs] [Boost C++ Libraries] #11946: Boost.Context crashes on x86_64/MinGW
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-28 16:33:13
#11946: Boost.Context crashes on x86_64/MinGW
---------------------------------+-------------------------
Reporter: tomasz.wlostowski@⦠| Owner: olli
Type: Bugs | Status: new
Milestone: To Be Determined | Component: context
Version: Boost 1.60.0 | Severity: Showstopper
Keywords: |
---------------------------------+-------------------------
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
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11946> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC