Re: [Boost-bugs] [Boost C++ Libraries] #4894: segmentation fault on thread_group::join_all depending on the machine used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4894: segmentation fault on thread_group::join_all depending on the machine used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-04 15:34:44


#4894: segmentation fault on thread_group::join_all depending on the machine used
---------------------------------+------------------------------------------
  Reporter: lyxthe@… | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------

Comment (by viboes):

 I have not tried but I see a possible source of the problem: the groupe
 variable stores threads that are joined several times. Could you try to
 move the declaration inside the for?

 {{{
         for(i=0;i<5;i++){
             boost::thread_group groupe;

 }}}

 Vicente

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4894#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:05 UTC