|
Boost Users : |
Subject: [Boost-users] glibc detected corrupted doubly-linked list (unit test)
From: Ross Boylan (ross_at_[hidden])
Date: 2009-02-05 15:45:39
I get error shown below when I try to test my program. It appears to be
coming directly out of the unit test framework, though this is after a
test, and so my code could have done something. Can anyone help me
determine what is going on or how to fix it?
Valgrind shows the error, but it's source is mysterious.
This was generated on Debian GNU/Linux etch with 64 bit Xeon and gcc.
The same tests run fine on Debian testing with 32 bit AMD and OS-X on 64
bit powerpc (although I think the older version of the OS on the machine
is mostly 32 bit).
*** glibc detected *** corrupted double-linked list: 0x00000000005fd2a0
***
Program received signal SIGABRT, Aborted.
0x00002affd559207b in *__GI_raise () from /usr/lib/debug/libc.so.6
Current language: auto; currently c
(gdb) where
#0 0x00002affd559207b in *__GI_raise () from /usr/lib/debug/libc.so.6
#1 0x00002affd559384e in *__GI_abort () from /usr/lib/debug/libc.so.6
#2 0x00002affd55c85f9 in __libc_message ()
from /usr/lib/debug/libc.so.6
#3 0x00002affd55cd9cc in malloc_consolidate ()
from /usr/lib/debug/libc.so.6
#4 0x00002affd55cf789 in _int_malloc () from /usr/lib/debug/libc.so.6
#5 0x00002affd55d116d in *__GI___libc_malloc ()
from /usr/lib/debug/libc.so.6
#6 0x00002affd518f93d in operator new () from /usr/lib/libstdc++.so.6
#7 0x00002affd516e5d1 in std::string::_Rep::_S_create ()
from /usr/lib/libstdc++.so.6
#8 0x00002affd516ef8b in std::string::_Rep::_M_clone ()
from /usr/lib/libstdc++.so.6
#9 0x00002affd516f895 in std::string::reserve () from /usr/lib/libstdc
++.so.6
#10 0x00002affd51690a5 in std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> >::overflow ()
from /usr/lib/libstdc++.so.6
#11 0x00002affd516da8d in std::basic_streambuf<char,
std::char_traits<char> >::xsputn () from /usr/lib/libstdc++.so.6
#12 0x00002affd5163512 in std::operator<< <std::char_traits<char> > ()
from /usr/lib/libstdc++.so.6
#13 0x00002affd4fbb175 in
boost::unit_test::results_collector_t::test_unit_finish ()
from /usr/lib/libboost_unit_test_framework-gcc-mt-1_33_1.so.1.33.1
#14 0x00002affd4fb8180 in boost::unit_test::framework_impl::visit ()
from /usr/lib/libboost_unit_test_framework-gcc-mt-1_33_1.so.1.33.1
#15 0x00002affd4fc9f1b in boost::unit_test::traverse_test_tree ()
from /usr/lib/libboost_unit_test_framework-gcc-mt-1_33_1.so.1.33.1
#16 0x00002affd4fb72d8 in boost::unit_test::framework::run ()
from /usr/lib/libboost_unit_test_framework-gcc-mt-1_33_1.so.1.33.1
#17 0x00002affd4fc2b35 in main ()
from /usr/lib/libboost_unit_test_framework-gcc-mt-1_33_1.so.1.33.1
#18 0x00002affd557f4ca in __libc_start_main ()
from /usr/lib/debug/libc.so.6
#19 0x000000000040420a in _start () at ../sysdeps/x86_64/elf/start.S:113
-- Ross Boylan wk: (415) 514-8146 185 Berry St #5700 ross_at_[hidden] Dept of Epidemiology and Biostatistics fax: (415) 514-8150 University of California, San Francisco San Francisco, CA 94107-1739 hm: (415) 550-1062
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net