C++: today's cvs yields segmentation faults on hppa2.0w-hp-hpux11.00

Markus Werle markus@lufmech.rwth-aachen.de
Fri Jun 1 01:49:00 GMT 2001


Reading specs from
/opt/FREE-SOFTWARE/gcc-20010601/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/specs

Configured with: ../gcc/configure --host=hppa2.0w-hp-hpux11.00
--prefix=/opt/FREE-SOFTWARE/gcc-20010601 --enable-languages=c,c++
--with-gnu-as --without-gnu-ld --enable-version-specific-runtime-libs
Thread model: single
gcc version 3.1 20010601 (experimental)

[markus@tresca]  src/ > g++ -g ../experimental/HelloWorld.C

[markus@tresca]  src/ > a.out
Segmentation fault

[markus@tresca]  src/ > gdb32 a.out
HP gdb 2.0
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 2.0 (based on GDB 4.17-hpwdb-980821)
Wildebeest 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 Wildebeest.  Type "show warranty" for
details.
Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
..
(gdb) run
Starting program:
/home/tresca/volume1/markus/DISS/TONGAS/TONGAS-1.4/src/a.out

Program received signal SIGSEGV, Segmentation fault.
0x7ae61168 in _ZNSt8ios_base4Init13_S_ios_createEb (__sync=24)
    at ../../../../gcc/libstdc++-v3/libsupc++/new:65
65      inline void *operator new(std::size_t, void *place) throw() {
return pla
ce; }
(gdb) backtrace
#0  0x7ae61168 in _ZNSt8ios_base4Init13_S_ios_createEb (__sync=24)
    at ../../../../gcc/libstdc++-v3/libsupc++/new:65
#1  0x7ae61824 in _ZNSt8ios_base4InitC1Ev (this=0x7b041718)
    at ../../../../gcc/libstdc++-v3/src/ios.cc:166
#2  0x7ae61160 in _ZNSt8ios_base4Init13_S_ios_createEb (__sync=24)
    at ../../../../gcc/libstdc++-v3/src/ios.cc:138
(gdb)




More information about the Gcc-bugs mailing list