Subject: [Boost-bugs] [Boost C++ Libraries] #4121: locking of boost::timed_mutex results in segmentation fault on linux x64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-19 09:11:08
#4121: locking of boost::timed_mutex results in segmentation fault on linux x64
---------------------------------------------------------+------------------
Reporter: Andrew Tylychko <andriy.tylychko@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: thread
Version: Boost 1.42.0 | Severity: Showstopper
Keywords: |
---------------------------------------------------------+------------------
Linux version 2.6.24-27-generic (buildd_at_crested) (gcc version 4.2.4
(Ubuntu 4.2.4-1ubuntu3)) #1 SMP Fri Mar 12 00:52:19 UTC 2010
x64
intensive usage of boost::timed_mutex::scoped_lock from many threads with
the same timed_mutex results in segmentation fault. Sample code is
attached. It catches SIGSEGV signal in about 5-10 secs of normal operation
and prints stack traces.
Stack traces show:
#5 <signal handler called>
#6 0x00007f5834551244 in __lll_timedlock_wait () from
/lib/libpthread.so.0
#7 0x00007f583454d9ac in _L_timedlock_161 () from /lib/libpthread.so.0
#8 0x00007f583454d230 in pthread_mutex_timedlock () from
/lib/libpthread.so.0
#9 0x000000000040a2f0 in thread_func ()
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4121> 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:02 UTC