Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5526: fast_pool_allocator crash
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-15 17:28:35
#5526: fast_pool_allocator crash
-----------------------------------+----------------------------------------
Reporter: philippeb8@⦠| Owner: cnewbold
Type: Bugs | Status: new
Milestone: To Be Determined | Component: pool
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by philippeb8@â¦):
I changed thread_specific_ptr to an auto_ptr and I still have the crash.
There is a problem with the destruction order of fast_pool_allocator.
I changed my code to use a static thread_specific_ptr from within a static
function and the crash went away because thread_specific_ptr gets detroyed
before any of fast_pool_allocator's internal static objects (I imagine
there are static objects inside fast_pool_allocator).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5526#comment:2> 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:06 UTC