--- Comment #9 from chris at cdnorthamerica dot com 2007-07-20 21:22
---
This fails for me too on HPUX 11.11, gcc 4.1.1:
[EMAIL PROTECTED]:121>uname -a
HP-UX wendy B.11.11 U 9000/785 1681839108 unlimited-user license
[EMAIL PROTECTED]:122>make
/opt/hp-gcc64-4.1.1/bin/g++ -pthread crashme.cpp -o crashme -lpthread
[EMAIL PROTECTED]:123>~/dev/.dev/gdb/hpux-hppa-11.11/bin/gdb crashme
GNU gdb 6.4
Copyright 2005 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 "hppa64-hp-hpux11.11"...(no debugging symbols found)
(gdb) run 5 10
Starting program: /home/cmm/hpux/crashme 5 10
Detaching after fork from child process 17434.
Detaching after fork from child process 17435.
Detaching after fork from child process 17436.
(no debugging symbols found)
(no debugging symbols found)
[New process 17433, lwp 886906]
Pass 1: Throwing exception in thread 0
[New process 17433, lwp 886907]
Pass 1: Throwing exception in thread 1
[New process 17433, lwp 886908]
Pass 1: Throwing exception in thread 2
[New process 17433, lwp 886909]
Pass 1: Throwing exception in thread 3
[New process 17433, lwp 886910]
Pass 1: Throwing exception in thread 4
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 17433, lwp 886910]
_Unwind_SetGR (context=, index=,
val=)
at /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/gcc/unwind-dw2.c:176
176 /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/gcc/unwind-dw2.c: No such file or
directory.
in /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/gcc/unwind-dw2.c
(gdb) bt
#0 _Unwind_SetGR (context=, index=,
val=)
at /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/gcc/unwind-dw2.c:176
#1 0x83ffbffc66c8 in __gxx_personality_v0 (version=,
actions=6, exception_class=,
ue_header=0x8001000c4038, context=0x83ffbfc8b490)
at
/tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/libstdc++-v3/libsupc++/eh_personality.cc:672
#2 0x83ffbfe36218 in _Unwind_RaiseException_Phase2 (exc=, context=)
at unwind.inc:66
#3 0x83ffbfe36524 in _Unwind_RaiseException (exc=) at
unwind.inc:135
#4 0x83ffbffc6b70 in __cxa_throw (obj=, tinfo=0x14,
dest=0x8001000c4038)
at /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/libstdc++-v3/libsupc++/eh_throw.cc:72
#5 0x40002bd8 in f ()
#6 0x83ffbffdb250 in __pthread_body () from /lib/pa20_64/libpthread.1
#7 0x83ffbffdb250 in __pthread_body () from /lib/pa20_64/libpthread.1
#8 0x83ffbffdb250 in __pthread_body () from /lib/pa20_64/libpthread.1
#9 0x83ffbffdb250 in __pthread_body () from /lib/pa20_64/libpthread.1
Cannot access memory at address 0x83ffbfc8afb0
(gdb) quit
The program is running. Exit anyway? (y or n) y
[EMAIL PROTECTED]:124>/opt/hp-gcc64-4.1.1/bin/g++ -v
Using built-in specs.
Target: hppa64-hp-hpux11.11
Configured with: /tmp/gcc-4.1.1.tar.gz/gcc-4.1.1/configure
--host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --build=hppa64-hp
-hpux11.11 --prefix=/opt/hp-gcc64-4.1.1 --enable-languages=c,c++ --with-gnu-as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-t
hreads=posix
Thread model: posix
gcc version 4.1.1
[EMAIL PROTECTED]:125>
--
chris at cdnorthamerica dot com changed:
What|Removed |Added
CC| |chris at cdnorthamerica dot
||com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29517