Re: [Boost-bugs] [Boost C++ Libraries] #5542: Segmentation fold in boost/thread.hpp Linux -x86_64

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5542: Segmentation fold in boost/thread.hpp Linux -x86_64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-06 20:45:15


#5542: Segmentation fold in boost/thread.hpp Linux -x86_64
---------------------------------------------------+------------------------
  Reporter: One People <leonardo777@…> | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords: thread segmentation fold
---------------------------------------------------+------------------------

Comment (by Branan Purvine-Riley <branan@…>):

 I'm having the same issue, and can confirm that this occurs even with the
 most trivial boost::thread program.

 {{{
 #include <boost/thread.hpp>

 void run_thread() {
         return;
 }

 int main() {
         boost::thread t(run_thread);
         return 0;
 }
 }}}

 And the backtrace (built in release mode with debug symbols, so I'm not
 sure how useful it is):
 {{{
 #0 operator= (this=0x7fffffffd670) at
 ./boost/smart_ptr/shared_ptr.hpp:305
 #1 boost::thread::start_thread (this=0x7fffffffd670) at
 libs/thread/src/pthread/thread.cpp:185
 #2 0x00000000004025e2 in boost::thread::thread<void (*)()>(void (*)(),
 boost::disable_if<boost::is_convertible<void (*&)(),
 boost::detail::thread_move_t<void (*)()> >, boost::thread::dummy*>::type)
 ()
 #3 0x000000000040182a in main ()
 }}}

 Boost version is 1.6.1, built with gcc (Gentoo 4.4.5 p1.2, pie-0.4.5)
 4.4.5

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