Re: [Boost-bugs] [Boost C++ Libraries] #9868: boost1.55-program crashes on exit when boost 1.55 is used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9868: boost1.55-program crashes on exit when boost 1.55 is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-09 21:57:05


#9868: boost1.55-program crashes on exit when boost 1.55 is used
-------------------------------+-----------------------
  Reporter: anonymous | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by anonymous):

 For some reasons, i could not attach the stacktrace file. Here is the
 stack trace i have:
 (gdb) backtrace
 #0 0x4022fe08 in raise () from /lib/libc.so.6
 #1 0x4023398c in abort () from /lib/libc.so.6
 #2 0x40228adc in ?? () from /lib/libc.so.6
 #3 0x40228ba4 in __assert_fail () from /lib/libc.so.6
 #4 0x002da2ec in
 boost::detail::lightweight_mutex::scoped_lock::scoped_lock (
     this=0xbefff8c8, m=...) at
 ./boost/smart_ptr/detail/lwm_pthreads.hpp:73
 #5 0x0030612c in
 boost::atomics::detail::lockpool::scoped_lock::scoped_lock (
     this=0xbefff8c8,
     addr=0x3fe304 <boost::detail::(anonymous
 namespace)::current_thread_tls_init_flag>) at
 ./boost/atomic/detail/lockpool.hpp:36
 #6 0x003061b4 in boost::atomics::detail::base_atomic<unsigned int, int,
 4u, false>::load (
     this=0x3fe304 <boost::detail::(anonymous
 namespace)::current_thread_tls_init_flag>) at
 ./boost/atomic/detail/base.hpp:294
 #7 0x00305d94 in boost::thread_detail::enter_once_region (flag=...)
     at libs/thread/src/pthread/./once_atomic.cpp:38
 #8 0x0030217c in boost::call_once<void (*)()> (flag=...,
     f=0x2fe73c <boost::detail::(anonymous
 namespace)::create_current_thread_tls_key()>) at
 ./boost/thread/pthread/once_atomic.hpp:145
 #9 0x002fe79c in boost::detail::get_current_thread_data ()
     at libs/thread/src/pthread/thread.cpp:140
 #10 0x002ffd08 in boost::detail::find_tss_data (key=0x3ff278)
     at libs/thread/src/pthread/thread.cpp:679
 ---Type <return> to continue, or q <return> to quit---return
 #11 0x002fff6c in boost::detail::set_tss_data (key=0x3ff278, func=...,
     tss_data=0x0, cleanup_existing=true)
     at libs/thread/src/pthread/thread.cpp:722
 #12 0x00278750 in
 boost::thread_specific_ptr<boost::log::v2s_mt_posix::core::implementation::thread_data>::~thread_specific_ptr
 (this=0x3ff278,
     __in_chrg=<optimized out>) at ./boost/thread/tss.hpp:79
 #13 0x00278014 in
 boost::log::v2s_mt_posix::core::implementation::~implementation
 (this=0x3ff240, __in_chrg=<optimized out>) at libs/log/src/core.cpp:184
 #14 0x00275490 in boost::log::v2s_mt_posix::core::~core (this=0x3ff230,
     __in_chrg=<optimized out>) at libs/log/src/core.cpp:416
 #15 0x0027af90 in boost::checked_delete<boost::log::v2s_mt_posix::core> (
     x=0x3ff230) at ./boost/checked_delete.hpp:34
 #16 0x0027b5c4 in
 boost::detail::sp_counted_impl_p<boost::log::v2s_mt_posix::core>::dispose
 (this=0x3ff760) at ./boost/smart_ptr/detail/sp_counted_impl.hpp:78
 #17 0x00049698 in boost::detail::sp_counted_base::release (this=0x3ff760)
     at
 /home/UTILS/pre/boost_1_55_0/boost/smart_ptr/detail/sp_counted_base_spin.hpp:103
 #18 0x00049738 in boost::detail::shared_count::~shared_count (
     this=0x3fdd48
 <boost::log::v2s_mt_posix::aux::lazy_singleton<boost::log::v2s_mt_posix::core::implementation,
 boost::shared_ptr<boost::log::v2s_mt_posix::core>
>::get_instance()::instance+4>, __in_chrg=<optimized out>)
     at
 /home/UTILS/pre/boost_1_55_0/boost/smart_ptr/detail/shared_count.hpp:371
 ---Type <return> to continue, or q <return> to quit---return
 #19 0x000c48e8 in
 boost::shared_ptr<boost::log::v2s_mt_posix::core>::~shared_ptr (
     this=0x3fdd44
 <boost::log::v2s_mt_posix::aux::lazy_singleton<boost::log::v2s_mt_posix::core::implementation,
 boost::shared_ptr<boost::log::v2s_mt_posix::core>
>::get_instance()::instance>, __in_chrg=<optimized out>)
     at /home/UTILS/pre/boost_1_55_0/boost/smart_ptr/shared_ptr.hpp:328
 #20 0x402352fc in ?? () from /lib/libc.so.6
 #21 0x40235334 in exit () from /lib/libc.so.6
 #22 0x4021a288 in __libc_start_main () from /lib/libc.so.6
 #23 0x00037e30 in _start ()
 (gdb) exit

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9868#comment:1>
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:16 UTC