Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12592: Wrongly aligned bottom stack address
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-23 09:58:30
#12592: Wrongly aligned bottom stack address
-------------------------------------------------+-------------------------
Reporter: Christian Maaser | Owner: olli
<runningwithscythes@â¦> | Status: closed
Type: Bugs | Component: context
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.62.0 | Keywords:
Resolution: worksforme |
-------------------------------------------------+-------------------------
Comment (by olli):
Replying to [comment:6 Christian Maaser]:
> Actually, due to the assumptions of _chkstk/Windows use of
fixedsize_stack should be discouraged and shouldn't be default on Windows,
but that is a different issue.
A solution for fixedsize_stack could be to use
{{{
VirtualAlloc()
}}}
as in protected_fixedsize_stack but without adding a guard page at the
end. On Windows the minimal stack size must be of page size.
So fixedsize_stack would allocate a stack of mulitple pages size.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12592#comment:7> 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