Re: [Boost-bugs] [Boost C++ Libraries] #12400: libunwind fails to detect end-of-stack with boost::context

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12400: libunwind fails to detect end-of-stack with boost::context
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-11 08:23:07


#12400: libunwind fails to detect end-of-stack with boost::context
-------------------------------+-----------------------------------------
  Reporter: mmayorga@… | Owner: olli
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: context
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords: libunwind context coroutine
-------------------------------+-----------------------------------------

Comment (by olli):

 your code seams to be false because RIP (address of cotnext-fn) is stored
 AS RIP in 0x30(%rax).
 the address of the 'finish' label is stored as the return address for the
 context-fn (e.g. if the context-fn returns, a branch to label 'finish'
 happens).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12400#comment:5>
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:20 UTC