Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-04-30 10:13:05

The test passes, but during program "clean-up", a segmentation
violation occurs. Here's the gdb session:

GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/".

(gdb) run
Starting program:

Running 13 test cases...

*** No errors detected

Program received signal SIGSEGV, Segmentation fault.
0x00000011 in ?? ()
(gdb) bt
#0 0x00000011 in ?? ()
#1 0x08083098 in
boost::checked_delete<boost::unit_test::report_formatter> (x=0x80a8c00)
     at checked_delete.hpp:34
#2 0x0807dc75 in ~scoped_ptr (this=0x80a870c) at scoped_ptr.hpp:77
#3 0x4005339d in __static_initialization_and_destruction_0
     __priority=65535) at
#4 0x4005343a in global destructors keyed to
_ZN5boost9unit_test16unit_test_result4Impl6m_headE () at
#5 0x400435e0 in __do_global_dtors_aux ()
#6 0x4005d076 in _fini ()
#7 0x4000c4f6 in _dl_init () from /lib/
#8 0x4019cae2 in exit () from /lib/
#9 0x40186dce in __libc_start_main () from /lib/
#10 0x08066151 in _start () at ../sysdeps/i386/elf/start.S:102
(gdb) up
#1 0x08083098 in
boost::checked_delete<boost::unit_test::report_formatter> (x=0x80a8c00)
     at checked_delete.hpp:34

Anyone else encounter this problem? David or Jonathan, I'll try to
narrow the problem down (after all, it may be in the
boost_unit_test_framework ), but just thought I'd give others
a "heads-up".

Boost list run by bdawes at, gregod at, cpdaniel at, john at