This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

3.1 1022 libstdc++ FAIL:21_strings/{ctor_copy_dtor,insert} exec if arch == i686


@@ -1,5 +1,7 @@
-Running target unix/-march=i586
+Running target unix
 FAIL: 18_support/numeric_limits.cc execution test
+FAIL: 21_strings/ctor_copy_dtor.cc execution test
+FAIL: 21_strings/insert.cc execution test
 FAIL: 22_locale/codecvt.cc (test for excess errors)

In <http://gcc.gnu.org/ml/gcc-bugs/2001-09/msg00664.html> (3.1 0923)
21_strings/ctor_copy_dtor was failing for everything but -march=i686 (default).
This time i{3,4,5}86 is working and i686 (default) failing. If I read the
gdb backtraces correctly, it's failing with the same thing - trying to
allocate a zero sized object.

bash-2.04$ /devel/src/gcc-3.1-experimental/gcc/g+++ -v
Using builtin specs.
Configured with: ../gcc/configure --enable-checking --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
Thread model: single
gcc version 3.1 20011022 (experimental)
bash-2.04$ . ./tmp.rdb.1
/devel/src/gcc-3.1-experimental/gcc/g++ -B/devel/src/gcc-3.1-experimental/gcc/ -nostdinc++
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src/.libs -B/usr/local/i686-unknown-sysv5UnixWare7.1.0/bin/
-B/usr/local/i686-unknown-sysv5UnixWare7.1.0/lib/ -isystem /usr/local/i686-unknown-sysv5UnixWare7.1.0/include -g -ffunction-sections -fdata-sections
-DDEBUG_ASSERT -DLOCALEDIR="/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/po/share/locale" -nostdinc++
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include/i686-unknown-sysv5UnixWare7.1.0
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include -I/devel/src/gcc/libstdc++-v3/libsupc++
-I/devel/src/gcc/libstdc++-v3/libio -I/devel/src/gcc/libstdc++-v3/include/backward -I/devel/src/gcc/libstdc++-v3/testsuite
/devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_
dtor.cc -DDEBUG_ASSERT -lm -o ./ctor_copy_dtor
bash-2.04$ ./ctor_copy_dtor
./ctor_copy_dtor
Abort (core dumped)
bash-2.04$ .d./tmp.rdb.2
. ./tmp.rdb.2
set -v
/devel/src/gcc-3.1-experimental/gcc/g++ -B/devel/src/gcc-3.1-experimental/gcc/ -nostdinc++
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src/.libs -B/usr/local/i686-unknown-sysv5UnixWare7.1.0/bin/
-B/usr/local/i686-unknown-sysv5UnixWare7.1.0/lib/ -isystem /usr/local/i686-unknown-sysv5UnixWare7.1.0/include -g -ffunction-sections -fdata-sections
-DDEBUG_ASSERT -DLOCALEDIR="/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/po/share/locale" -nostdinc++
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include/i686-unknown-sysv5UnixWare7.1.0
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include -I/devel/src/gcc/libstdc++-v3/libsupc++
-I/devel/src/gcc/libstdc++-v3/libio -I/devel/src/gcc/libstdc++-v3/include/backward -I/devel/src/gcc/libstdc++-v3/testsuite
/devel/src/gcc/libstdc++-v3/testsuite/21_strings/insert.cc
-DDEBUG_ASSERT -lm -o ./insert
bash-2.04$ ./insert
./insert
Abort (core dumped)
bash-2.04$ gdb ./ctor_copy_dtor
gdb ./ctor_copy_dtor
GNU gdb 5.0
Copyright 2000 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-sco-sysv5uw7.0.1"...
(gdb) r
Starting program: /devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/testsuite/./ctor_copy_dtor

Program received signal SIGABRT, Aborted.
0xbffa196c in kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xbffa196c in kill () from /usr/lib/libc.so.1
#1  0xbffd634f in abort () from /usr/lib/libc.so.1
#2  0x8056ea3 in _ZSt9terminatev ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
#3  0x8056fd0 in __cxa_rethrow ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_throw.cc:77
#4  0x805710a in _Znwj (sz=3221216332)
    at ../../../../gcc/libstdc++-v3/libsupc++/new_op.cc:53
#5  0x8059f23 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
#6  0x8059d75 in _ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi
    (__size=32, __nobjs=@0x8047a64) at stl_alloc.h:457
#7  0x8059bb9 in _ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEj (__n=32)
    at stl_alloc.h:502
#8  0x80599c2 in _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj (__n=31)
    at stl_alloc.h:362
#9  0x8059681 in _ZNSaIcE8allocateEjPKv (this=0x8047ad0, __n=31)
    at stl_alloc.h:611
#10 0x805927f in _ZNSs4_Rep9_S_createEjRKSaIcE (__capacity=18,
    __alloc=@0x8047c20) at basic_string.tcc:376
#11 0x805948b in _ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag (__beg=0x8047c40 "rodeo beach, marin", __end=0x8047c52 "", __a
=@0x8047c20)
    at basic_string.tcc:143
#12 0x8059080 in _S_construct_aux<const char*> (__beg=0x0,
    __end=0xbff90938 "", __a=@0x7d030) at basic_string.h:667
#13 0x8058bfa in _S_construct<const char*> (__beg=0x0, __end=0xbff90938 "",
    __a=@0x7d030) at basic_string.h:684
#14 0x80587a6 in basic_string (this=0x8047c30,
    __s=0x8047c40 "rodeo beach, marin", __a=@0x8047c20) at basic_string.tcc:219
#15 0x804cc13 in _Z6test01v ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc:37
#16 0x804d7df in main ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc:200
(gdb) up 4
#4  0x805710a in _Znwj (sz=3221216332)
    at ../../../../gcc/libstdc++-v3/libsupc++/new_op.cc:53
53        throw bad_alloc();
(gdb) l
48   while (p == 0)
49     {
50       new_handler handler = __new_handler;
51       if (! handler)
52   #ifdef __EXCEPTIONS
53        throw bad_alloc();
54   #else
55        std::abort();
56   #endif
57       handler ();
(gdb) up 1
#5  0x8059f23 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
105   { return ::operator new(__n); }
(gdb) l
100  class __new_alloc
101  {
102  public:
103   static void*
104   allocate(size_t __n)
105   { return ::operator new(__n); }
106
107   static void
108   deallocate(void* __p, size_t)
109   { ::operator delete(__p); }
(gdb) p __n
$1 = 0
(gdb) c
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) q
bash-2.04$

bash-2.04$ set -o vi
set -o vi
bash-2.04$ gdb ./insert
GNU gdb 5.0
Copyright 2000 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-sco-sysv5uw7.0.1"...
(gdb) r
Starting program: /devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/testsuite/./insert

Program received signal SIGABRT, Aborted.
0xbffa196c in kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xbffa196c in kill () from /usr/lib/libc.so.1
#1  0xbffd634f in abort () from /usr/lib/libc.so.1
#2  0x8056eb3 in _ZSt9terminatev ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
#3  0x8056fe0 in __cxa_rethrow ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_throw.cc:77
#4  0x805711a in _Znwj (sz=3221216332)
    at ../../../../gcc/libstdc++-v3/libsupc++/new_op.cc:53
#5  0x805a547 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
#6  0x805a389 in _ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi
    (__size=32, __nobjs=@0x8047a64) at stl_alloc.h:457
#7  0x805a209 in _ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEj (__n=32)
    at stl_alloc.h:502
#8  0x805a0f4 in _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj (__n=31)
    at stl_alloc.h:362
#9  0x8059e79 in _ZNSaIcE8allocateEjPKv (this=0x8047ad0, __n=31)
    at stl_alloc.h:611
#10 0x8059753 in _ZNSs4_Rep9_S_createEjRKSaIcE (__capacity=18,
    __alloc=@0x8047c50) at basic_string.tcc:376
#11 0x8059c73 in _ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag (__beg=0x8088fe4 "rodeo beach, marin", __end=0x8088ff6 "", __a
=@0x8047c50)
    at basic_string.tcc:143
#12 0x8059514 in _S_construct_aux<const char*> (__beg=0x0,
    __end=0xbff90938 "", __a=@0x7d030) at basic_string.h:667
#13 0x8058d9a in _S_construct<const char*> (__beg=0x0, __end=0xbff90938 "",
    __a=@0x7d030) at basic_string.h:684
#14 0x80587b6 in basic_string (this=0x8047c60,
    __s=0x8088fe4 "rodeo beach, marin", __a=@0x8047c50) at basic_string.tcc:219
#15 0x804cbdf in _Z6test01v ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/insert.cc:35
#16 0x804d7fb in main ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/insert.cc:193
(gdb) up 5
#5  0x805a547 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
105   { return ::operator new(__n); }
(gdb) p __n
$1 = 0
(gdb) up 1
#6  0x805a389 in _ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi
    (__size=32, __nobjs=@0x8047a64) at stl_alloc.h:457
457       _S_start_free = (char*) __mem_interface::allocate(__bytes_to_get);
(gdb) l
452          _S_free_list + _S_freelist_index(__bytes_left);
453
454        ((_Obj*)_S_start_free) -> _M_free_list_link = *__my_free_list;
455        *__my_free_list = (_Obj*)_S_start_free;
456       }
457       _S_start_free = (char*) __mem_interface::allocate(__bytes_to_get);
458       if (0 == _S_start_free)
459       {
460        size_t __i;
461        _Obj* __STL_VOLATILE* __my_free_list;
(gdb) p __bytes_to_getr
$2 = 1280
(gdb) down 1
#5  0x805a547 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
105   { return ::operator new(__n); }
(gdb) up 1
#6  0x805a389 in _ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi
    (__size=32, __nobjs=@0x8047a64) at stl_alloc.h:457
457       _S_start_free = (char*) __mem_interface::allocate(__bytes_to_get);
(gdb) x/10i *0x805a389
0x8c344a3:     Cannot access memory at address 0x8c344a3
(gdb) x/10i 0x805a389

0x805a389 <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+231>:
    mov   %eax,0x808c344
0x805a38e <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+236>:   cmpl   $0x0,0x808c344
0x805a395 <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+243>:   jne    0x805a42f
<_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+397>
0x805a39b <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+249>:   mov    0x8(%ebp),%eax
0x805a39e <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+252>:   mov    %eax,0xffffffe8(%ebp)
0x805a3a1 <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+255>:   cmpl   $0x80,0xffffffe8(%ebp)
0x805a3a8 <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+262>:   jbe    0x805a3ac
<_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+266>
0x805a3aa <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+264>:   jmp    0x805a415
<_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+371>
0x805a3ac <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+266>:   mov    0xffffffe8(%ebp),%eax
0x805a3af <_ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi+269>:   mov    %eax,(%esp,1)
(gdb) c
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) q
bash-2.04$ . ./tmp.rdb.1
/devel/src/gcc-3.1-experimental/gcc/g++ -v -B/devel/src/gcc-3.1-experimental/gcc/ -nostdinc++
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src/.libs -B/usr/local/i686-unknown-sysv5UnixWare7.1.0/bin/
-B/usr/local/i686-unknown-sysv5UnixWare7.1.0/lib/ -isystem /usr/local/i686-unknown-sysv5UnixWare7.1.0/include -g -ffunction-sections -fdata-sections
-DDEBUG_ASSERT -DLOCALEDIR="/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/po/share/locale" -nostdinc++
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include/i686-unknown-sysv5UnixWare7.1.0
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include -I/devel/src/gcc/libstdc++-v3/libsupc++
-I/devel/src/gcc/libstdc++-v3/libio -I/devel/src/gcc/libstdc++-v3/include/backward -I/devel/src/gcc/libstdc++-v3/testsuite
/devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_co
py_dtor.cc -DDEBUG_ASSERT -lm -o ./ctor_copy_dtor
Reading specs from /devel/src/gcc-3.1-experimental/gcc/specs
Configured with: ../gcc/configure --enable-checking --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
Thread model: single
gcc version 3.1 20011022 (experimental)
 /devel/src/gcc-3.1-experimental/gcc/cc1plus -nostdinc++ -nostdinc++ -v
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include/i686-unknown-sysv5UnixWare7.1.0
-I/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include -I/devel/src/gcc/libstdc++-v3/libsupc++
-I/devel/src/gcc/libstdc++-v3/libio -I/devel/src/gcc/libstdc++-v3/include/backward -I/devel/src/gcc/libstdc++-v3/testsuite -iprefix
/devel/src/gcc-3.1-experimental/gcc/../lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.1/ -isystem /devel/src/gcc-3.1-experimental/gcc/include -isystem
/usr/local/i686-unknown-sysv5UnixWare7.1.0/bin/include -isystem /usr/local/i686-unknown-sysv5UnixWare7.1.0/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=1
 -D__GNUC_PATCHLEVEL__=0 -Dunix -D__svr4__ -D__unix__ -D__svr4__ -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386
-Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ -DDEBUG_ASSERT -DLOCALEDIR=/devel/src/gcc-3.1
-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/po/share/locale -DDEBUG_ASSERT -isystem /usr/local/i686-unknown-sysv5UnixWare7.1.0/include
/devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase
 ctor_copy_dtor.cc -g -version -ffunction-sections -fdata-sections -o /var/tmp//ccDkr9tj.s
ignoring nonexistent directory "/usr/local/i686-unknown-sysv5UnixWare7.1.0/bin/include"
ignoring nonexistent directory "/usr/local/i686-unknown-sysv5UnixWare7.1.0/lib/include"
ignoring nonexistent directory "/usr/local/i686-unknown-sysv5UnixWare7.1.0/include"
GNU CPP version 3.1 20011022 (experimental) (cpplib) (i386 System V Release 4)
GNU C++ version 3.1 20011022 (experimental) (i686-unknown-sysv5UnixWare7.1.0)
     compiled by GNU C version 3.1 20011022 (experimental).
ignoring nonexistent directory "/devel/src/gcc-3.1-experimental/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.1/include"
ignoring nonexistent directory
"/devel/src/gcc-3.1-experimental/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.1/../../../../i686-unknown-sysv5UnixWare7.1.0/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.1/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.1/../../../../i686-unknown-sysv5UnixWare7.1.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include/i686-unknown-sysv5UnixWare7.1.0
 /devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/include
 /devel/src/gcc/libstdc++-v3/libsupc++
 /devel/src/gcc/libstdc++-v3/libio
 /devel/src/gcc/libstdc++-v3/include/backward
 /devel/src/gcc/libstdc++-v3/testsuite
 /devel/src/gcc-3.1-experimental/gcc/include
 /usr/local/include
 /usr/include
End of search list.
 /usr/local/bin/as --traditional-format -V -Qy -o /var/tmp//ccvfuVyh.o /var/tmp//ccDkr9tj.s
GNU assembler version 2.10 (i586-sco-sysv5uw7.1.0) using BFD version 2.10
 /devel/src/gcc-3.1-experimental/gcc/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o ./ctor_copy_dtor /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o
/usr/ccs/lib/values-Xa.o /devel/src/gcc-3.1-experimental/gcc/crtbegin.o
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src
-L/devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/src/.libs -L/devel/src/gcc-3.1-experimental/gcc -L/usr/ccs/bin
-L/usr/ccs/lib /var/tmp//ccvfuVyh.o -lstdc++ -lm -lgcc -lc -lcrt -lgcc /devel/src/gcc-3.1-experimental/gcc/crtend.o /usr/ccs/lib/crtn.o
GNU ld version 2.10 (with BFD 2.10)
  Supported emulations:
   elf_i386
bash-2.04$ ./ctor_copy_dtor
./ctor_copy_dtor
Abort (core dumped)
bash-2.04$ gdb ./ctor_copy_dtor
gdb ./ctor_copy_dtor
GNU gdb 5.0
Copyright 2000 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-sco-sysv5uw7.0.1"...
(gdb) r
Starting program: /devel/src/gcc-3.1-experimental/i686-unknown-sysv5UnixWare7.1.0/libstdc++-v3/testsuite/./ctor_copy_dtor

Program received signal SIGABRT, Aborted.
0xbffa196c in kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xbffa196c in kill () from /usr/lib/libc.so.1
#1  0xbffd634f in abort () from /usr/lib/libc.so.1
#2  0x8056ea3 in _ZSt9terminatev ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
#3  0x8056fd0 in __cxa_rethrow ()
    at ../../../../gcc/libstdc++-v3/libsupc++/eh_throw.cc:77
#4  0x805710a in _Znwj (sz=3221216332)
    at ../../../../gcc/libstdc++-v3/libsupc++/new_op.cc:53
#5  0x8059f23 in _ZNSt11__new_alloc8allocateEj (__n=0) at stl_alloc.h:105
#6  0x8059d75 in _ZNSt24__default_alloc_templateILb1ELi0EE14_S_chunk_allocEjRi
    (__size=32, __nobjs=@0x8047a64) at stl_alloc.h:457
#7  0x8059bb9 in _ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEj (__n=32)
    at stl_alloc.h:502
#8  0x80599c2 in _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj (__n=31)
    at stl_alloc.h:362
#9  0x8059681 in _ZNSaIcE8allocateEjPKv (this=0x8047ad0, __n=31)
    at stl_alloc.h:611
#10 0x805927f in _ZNSs4_Rep9_S_createEjRKSaIcE (__capacity=18,
    __alloc=@0x8047c20) at basic_string.tcc:376
#11 0x805948b in _ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag (__beg=0x8047c40 "rodeo beach, marin", __end=0x8047c52 "", __a
=@0x8047c20)
    at basic_string.tcc:143
#12 0x8059080 in _S_construct_aux<const char*> (__beg=0x0,
    __end=0xbff90938 "", __a=@0x7d030) at basic_string.h:667
#13 0x8058bfa in _S_construct<const char*> (__beg=0x0, __end=0xbff90938 "",
    __a=@0x7d030) at basic_string.h:684
#14 0x80587a6 in basic_string (this=0x8047c30,
    __s=0x8047c40 "rodeo beach, marin", __a=@0x8047c20) at basic_string.tcc:219
#15 0x804cc13 in _Z6test01v ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc:37
#16 0x804d7df in main ()
    at /devel/src/gcc/libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc:200
(gdb) c
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) q


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]