Re: [Boost-bugs] [Boost C++ Libraries] #8508: Created thread segfaults when memory is scarce

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8508: Created thread segfaults when memory is scarce
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-12 21:11:59


#8508: Created thread segfaults when memory is scarce
-------------------------------+---------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.53.0 | Severity: Problem
Resolution: worksforme | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 Hello,

 I have encounter the same problem with:

 ''ulimit -Sd 450000 -Sm 450000 -Sv 450000 ; gdb ./bin/a.out''

 Using boost lib 1.53.0 an CXX_FLAGS="-march=corei7 -O2 -pipe"

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7ffff34f4700 (LWP 31454)]
 0x00007ffff75363eb in boost::detail::get_once_per_thread_epoch() () from
 /usr/lib64/libboost_thread.so.1.53.0
 (gdb) where
 #0 0x00007ffff75363eb in boost::detail::get_once_per_thread_epoch() ()
 from /usr/lib64/libboost_thread.so.1.53.0
 #1 0x00007ffff7534b48 in void boost::call_once<void
 (*)()>(boost::once_flag&, void (*)()) () from
 /usr/lib64/libboost_thread.so.1.53.0
 #2 0x00007ffff75310e7 in
 boost::detail::set_current_thread_data(boost::detail::thread_data_base*)
 () from /usr/lib64/libboost_thread.so.1.53.0
 #3 0x00007ffff7531159 in ?? () from /usr/lib64/libboost_thread.so.1.53.0
 #4 0x00007ffff59a2ec6 in start_thread () from /lib64/libpthread.so.0
 #5 0x00007ffff5ca2dfd in clone () from /lib64/libc.so.6
 }}}

 Some advice or patch indication would be awesome.

 Regards,

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8508#comment:4>
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:13 UTC