Re: [Boost-bugs] [Boost C++ Libraries] #5526: fast_pool_allocator crash

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5526: fast_pool_allocator crash
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-15 09:55:56


#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 anonymous):

 I've tracked the cause of this - it's because you have code using
 singleton_pool from a globally-scoped thread_specific_ptr. This then runs
 into order-of-destruction issues, with the global pool's destructor being
 called before that of the thread_specific_ptr's (which gets called
 ''very'' late due to the way it's implemented).

 In general, this one's going to be very hard to fix, but I'll think about
 it ;-)

 John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5526#comment:1>
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