This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2009 00:49:47 -0000
- Subject: [Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test
- References: <bug-40094-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from danglin at gcc dot gnu dot org 2009-05-21 00:49 -------
This is the backtrace for the last delete:
(gdb) bt
#0 operator delete (p=0x800000010000e4f8) at deallocate_global.cc:51
#1 0x400000000000eafc in __gnu_cxx::new_allocator<char>::deallocate (
this=0x800003fffdff0fc8, __p=0x800000010000e4f8 "")
at
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/new_allocator.h:95
#2 0x400000000000e90c in __gnu_cxx::throw_allocator<char>::deallocate (
this=0x800003fffdff0f20, __p=0x800000010000e4f8 "", __n=35)
at
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ext/throw_allocator.h:335
#3 0x400000000000e35c in std::basic_string<char, std::char_traits<char>,
__gnu_cxx::throw_allocator<char> >::_Rep::_M_destroy (this=0x800000010000e4f8,
__a=@0x800003fffdff0de8)
at
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.tcc:426
#4 0x400000000000efe0 in std::basic_string<char, std::char_traits<char>,
__gnu_cxx::throw_allocator<char> >::_Rep::_M_dispose (this=0x800000010000e4f8,
__a=@0x800003fffdff0de8)
at
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:231
#5 0x400000000000ed6c in ~basic_string (this=0x8000000100001580)
at
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:498
#6 0x400000000000eca0 in __static_initialization_and_destruction_0 (
---Type <return> to continue, or q <return> to quit---
__initialize_p=0, __priority=65535) at deallocate_global.cc:68
#7 0x400000000000f0a8 in global destructors keyed to _Znwm ()
at deallocate_global.cc:73
#8 0x4000000000008bc4 in __do_global_dtors_aux ()
#9 0xc000000000032aa0 in TE_do_list#HLO_CL_#i1_0x0 ()
from /usr/lib/pa20_64/dld.sl
#10 0xc00000000000d198 in TE_do_program_exit () from /usr/lib/pa20_64/dld.sl
#11 0x800003fffdcd762c in exit () from /lib/pa20_64/libc.2
#12 0xc00000000000b394 in UT_exit () from /usr/lib/pa20_64/dld.sl
#13 0xc00000000000b3b4 in exit () from /usr/lib/pa20_64/dld.sl
#14 0xc00000000000b478 in $START$ () from /usr/lib/pa20_64/dld.sl
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40094