Re: [Boost-bugs] [Boost C++ Libraries] #4736: MinGW: tss crashes (SIGSEGV) in ~thread_specific_ptr

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4736: MinGW: tss crashes (SIGSEGV) in ~thread_specific_ptr
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-11 13:07:00


#4736: MinGW: tss crashes (SIGSEGV) in ~thread_specific_ptr
-----------------------------------------+----------------------------------
  Reporter: Jim Bell <jim@…> | Owner: anthonyw
      Type: Bugs | Status: reopened
 Milestone: Boost-1.45.0 | Component: thread
   Version: Boost 1.44.0 | Severity: Showstopper
Resolution: | Keywords: mingw tss SIGSEGV thread_specific_ptr destructor set_tss_data
-----------------------------------------+----------------------------------

Comment (by Jim Bell <jim@…>):

 If this_thread::get_id() gets called before a boost::thread is created, no
 call to set_current_thread_data() would have been made, and you'd see this
 symptom.

 FWIW, also noticed that the "throw thread_resource_error()" in
 get_or_make_current_thread_data() is inconsistent with other uses:
 "boost::throw_exception(thread_resource_error());"

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4736#comment:10>
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:04 UTC