Re: [Boost-bugs] [Boost C++ Libraries] #12441: Crash in Boost.Test 1.61

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12441: Crash in Boost.Test 1.61
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-07 19:32:30


#12441: Crash in Boost.Test 1.61
-------------------------------------------+-------------------------
  Reporter: Andy Salnikov <a_salnikov@…> | Owner: rogeeff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.61.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------------------+-------------------------

Comment (by Andy Salnikov <a_salnikov@…>):

 I made another test with the same code (above) on different platform:
 - boost 1.60
 - CentOS 7
 - gcc 4.8.5

 With this setup instead of glibc complaints I see SEGV crash, stack from
 this crash:
 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0x00007ffff69b8aad in malloc_consolidate () from /lib64/libc.so.6
 (gdb) bt
 #0 0x00007ffff69b8aad in malloc_consolidate () from /lib64/libc.so.6
 #1 0x00007ffff69b9ec6 in _int_free () from /lib64/libc.so.6
 #2 0x0000000000476c92 in void boost::checked_array_delete<char>(char*) ()
 #3 0x00000000004697c9 in boost::scoped_array<char>::~scoped_array() ()
 #4 0x00000000004596fa in boost::execution_monitor::~execution_monitor()
 ()
 #5 0x00000000004697e4 in
 boost::unit_test::unit_test_monitor_t::~unit_test_monitor_t() ()
 #6 0x00007ffff69761da in __cxa_finalize () from /lib64/libc.so.6
 #7 0x00007ffff7b6db63 in __do_global_dtors_aux () from
 /u2/salnikov/lsstsw/stack/Linux64/boost/1.60.lsst1/lib/libboost_unit_test_framework.so.1.60.0
 #8 0x00007fffffffdd70 in ?? ()
 #9 0x00007ffff7deaa1a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
 }}}

 which looks pretty much the same globals destruction issue, except his
 happens not is string destructors but in some scoped array destructor.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12441#comment:3>
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:20 UTC