Re: [Boost-bugs] [Boost C++ Libraries] #10537: Application crash on throw exception

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10537: Application crash on throw exception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-26 05:59:19


#10537: Application crash on throw exception
-------------------------------+----------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.41.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Changes (by viboes):

 * owner: anthonyw => viboes
 * status: new => assigned


Old description:

> I am getting following backtrace,which occur only once, please let me
> know on this:
>
> #0 0x00007f05e797dd95 in raise () from /lib64/libc.so.6
> #1 0x00007f05e797f2ab in abort () from /lib64/libc.so.6
> #2 0x00007f05e85bef2d in __gnu_cxx::__verbose_terminate_handler() ()
> from /usr/lib64/libstdc++.so.6
> #3 0x00007f05e85bd0d6 in ?? () from /usr/lib64/libstdc++.so.6
> #4 0x00007f05e85bd103 in std::terminate() () from
> /usr/lib64/libstdc++.so.6
> #5 0x00007f05e85bd1fe in __cxa_throw () from /usr/lib64/libstdc++.so.6
> #6 0x00000000019b5a16 in boost::throw_exception<boost::lock_error>
> (e=...) at /usr/include/boost/throw_exception.hpp:61
> #7 0x00000000019b4a31 in boost::mutex::lock (this=0x47ef3a8) at
> /usr/include/boost/thread/pthread/mutex.hpp:55
> #8 0x00000000019b5c66 in boost::unique_lock<boost::mutex>::lock
> (this=0x7f058c5f5ce0) at /usr/include/boost/thread/locks.hpp:412
> #9 0x00000000019b5b21 in boost::unique_lock<boost::mutex>::unique_lock
> (this=0x7f058c5f5ce0, m_=...)
> at /usr/include/boost/thread/locks.hpp:290
> #10 0x00000000019b54c9 in boost::shared_mutex::unlock_and_lock_upgrade
> (this=0x47ef3a0)
> at /usr/include/boost/thread/pthread/shared_mutex.hpp:274
> #11 0x00000000019b79d6 in
> boost::upgrade_lock<boost::shared_mutex>::upgrade_lock
> (this=0x7f058c5f5d30, other=...)
> at /usr/include/boost/thread/locks.hpp:769
> #12 0x00000000019b6f12 in
> boost::upgrade_lock<boost::shared_mutex>::operator=(boost::unique_lock<boost::shared_mutex>&&)
> (
> this=0x7f058c5f61f0, other=...) at
> /usr/include/boost/thread/locks.hpp:784
> #13 0x00000000019b626e in
> boost::upgrade_to_unique_lock<boost::shared_mutex>::~upgrade_to_unique_lock
> (this=0x7f058c5f61d0,
> __in_chrg=<optimized out>) at /usr/include/boost/thread/locks.hpp:932

New description:

 I am getting following backtrace,which occur only once, please let me know
 on this:


 {{{
 #0 0x00007f05e797dd95 in raise () from /lib64/libc.so.6
 #1 0x00007f05e797f2ab in abort () from /lib64/libc.so.6
 #2 0x00007f05e85bef2d in __gnu_cxx::__verbose_terminate_handler() () from
 /usr/lib64/libstdc++.so.6
 #3 0x00007f05e85bd0d6 in ?? () from /usr/lib64/libstdc++.so.6
 #4 0x00007f05e85bd103 in std::terminate() () from
 /usr/lib64/libstdc++.so.6
 #5 0x00007f05e85bd1fe in __cxa_throw () from /usr/lib64/libstdc++.so.6
 #6 0x00000000019b5a16 in boost::throw_exception<boost::lock_error>
 (e=...) at /usr/include/boost/throw_exception.hpp:61
 #7 0x00000000019b4a31 in boost::mutex::lock (this=0x47ef3a8) at
 /usr/include/boost/thread/pthread/mutex.hpp:55
 #8 0x00000000019b5c66 in boost::unique_lock<boost::mutex>::lock
 (this=0x7f058c5f5ce0) at /usr/include/boost/thread/locks.hpp:412
 #9 0x00000000019b5b21 in boost::unique_lock<boost::mutex>::unique_lock
 (this=0x7f058c5f5ce0, m_=...)
     at /usr/include/boost/thread/locks.hpp:290
 #10 0x00000000019b54c9 in boost::shared_mutex::unlock_and_lock_upgrade
 (this=0x47ef3a0)
     at /usr/include/boost/thread/pthread/shared_mutex.hpp:274
 #11 0x00000000019b79d6 in
 boost::upgrade_lock<boost::shared_mutex>::upgrade_lock
 (this=0x7f058c5f5d30, other=...)
     at /usr/include/boost/thread/locks.hpp:769
 #12 0x00000000019b6f12 in
 boost::upgrade_lock<boost::shared_mutex>::operator=(boost::unique_lock<boost::shared_mutex>&&)
 (
     this=0x7f058c5f61f0, other=...) at
 /usr/include/boost/thread/locks.hpp:784
 #13 0x00000000019b626e in
 boost::upgrade_to_unique_lock<boost::shared_mutex>::~upgrade_to_unique_lock
 (this=0x7f058c5f61d0,
     __in_chrg=<optimized out>) at /usr/include/boost/thread/locks.hpp:932
 }}}

--
Comment:
 Please could you add the compiler, boost version and a small test that
 shows the backtrace?
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10537#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:17 UTC