Re: [Boost-bugs] [Boost C++ Libraries] #10381: Boost log mutex lock failure

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10381: Boost log mutex lock failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-29 14:27:53


#10381: Boost log mutex lock failure
-------------------------------+---------------------
  Reporter: anonymous | Owner: andysem
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: log
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by mirous):

 It crashes every time. I tried it with gcc 4.8 & 4.7 on the same system
 and it crashes as well.

 The backtrace:
 {{{
 #0 0x00007ffff6a16077 in __GI_raise (sig=sig_at_entry=6) at
 ../nptl/sysdeps/unix/sysv/linux/raise.c:56
 #1 0x00007ffff6a17458 in __GI_abort () at abort.c:89
 #2 0x00007ffff6a0f196 in __assert_fail_base (fmt=0x7ffff6b458c8
 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
     assertion=assertion_at_entry=0x4120d0
 "!posix::pthread_mutex_destroy(&m)",
     file=file_at_entry=0x4120a0
 "/usr/include/boost/thread/pthread/mutex.hpp", line=line_at_entry=108,
     function=function_at_entry=0x412960
 <boost::mutex::~mutex()::__PRETTY_FUNCTION__> "boost::mutex::~mutex()") at
 assert.c:92
 #3 0x00007ffff6a0f242 in __GI___assert_fail (assertion=0x4120d0
 "!posix::pthread_mutex_destroy(&m)",
     file=0x4120a0 "/usr/include/boost/thread/pthread/mutex.hpp", line=108,
     function=0x412960 <boost::mutex::~mutex()::__PRETTY_FUNCTION__>
 "boost::mutex::~mutex()") at assert.c:101
 #4 0x000000000040cda4 in ~mutex (this=0x61a850, __in_chrg=<optimized
 out>) at /usr/include/boost/thread/pthread/mutex.hpp:108
 #5
 boost::log::v2_mt_posix::sinks::synchronous_sink<boost::log::v2_mt_posix::sinks::basic_text_ostream_backend<char>
>::~synchronous_sink (this=0x61a7c0, __in_chrg=<optimized out>) at
 /usr/include/boost/log/sinks/sync_frontend.hpp:61
 #6 0x000000000040b58e in destroy (this=0x61a7b8) at
 /usr/include/boost/smart_ptr/make_shared_object.hpp:57
 #7 operator() (this=0x61a7b8) at
 /usr/include/boost/smart_ptr/make_shared_object.hpp:87
 #8
 boost::detail::sp_counted_impl_pd<boost::log::v2_mt_posix::sinks::synchronous_sink<boost::log::v2_mt_posix::sinks::basic_text_ostream_backend<char>
>*,
 boost::detail::sp_ms_deleter<boost::log::v2_mt_posix::sinks::synchronous_sink<boost::log::v2_mt_posix::sinks::basic_text_ostream_backend<char>
> > >::dispose (this=0x61a7a0) at
 /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153
 #9 0x00007ffff7853ab8 in boost::log::v2_mt_posix::core::~core() () from
 /usr/lib/x86_64-linux-gnu/libboost_log.so.1.55.0
 #10 0x00007ffff7856262 in
 boost::detail::sp_counted_impl_p<boost::log::v2_mt_posix::core>::dispose()
 ()
    from /usr/lib/x86_64-linux-gnu/libboost_log.so.1.55.0
 #11 0x00007ffff7855eb9 in
 boost::shared_ptr<boost::log::v2_mt_posix::core>::~shared_ptr() ()
    from /usr/lib/x86_64-linux-gnu/libboost_log.so.1.55.0
 #12 0x00007ffff6a18b39 in __run_exit_handlers (status=0,
 listp=0x7ffff6d835a8 <__exit_funcs>,
     run_list_atexit=run_list_atexit_at_entry=true) at exit.c:82
 #13 0x00007ffff6a18b85 in __GI_exit (status=<optimized out>) at exit.c:104
 #14 0x00007ffff6a02b4c in __libc_start_main (main=0x40a630 <main(int,
 char**)>, argc=1, argv=0x7fffffffe398, init=<optimized out>,
     fini=<optimized out>, rtld_fini=<optimized out>,
 stack_end=0x7fffffffe388) at libc-start.c:321
 #15 0x000000000040ab34 in _start ()
 }}}

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