IA64 Crashes in stack unwinding
H. J. Lu
hjl@lucon.org
Wed Mar 17 18:19:00 GMT 2004
See
http://sources.redhat.com/ml/libc-alpha/2004-03/msg00061.html
http://sources.redhat.com/ml/libc-alpha/2004-03/msg00236.html
It may be related.
H.J.
-----
On Wed, Mar 17, 2004 at 04:43:53PM +0100, Otto Bruggeman wrote:
> Hi,
>
> I'm seeing crashes with a 3.3.2 gcc and what will be 2.3.3 glibc on a quad
> Itanium 2 system during backtrace() calls. Can anyone confirm this ?
>
> I tried it with the simple backtrace info page example, slightly modified to
> give me more information for debugging but it crashes during unwinding.
> I've attached my version and it's output so you can compile it and test if you
> have access to an Itanium system.
>
> The backtrace in gdb looks like this:
> Program received signal SIGSEGV, Segmentation fault.
> uw_update_reg_address (context=0x60000fffffff9590, fs=0x60000fffffff9950,
> regno=UNW_REG_PSP) at ../../gcc/config/ia64/unwind-ia64.c:1859
> 1859 ../../gcc/config/ia64/unwind-ia64.c: No such file or directory.
> in ../../gcc/config/ia64/unwind-ia64.c
> (gdb) bt
> #0 uw_update_reg_address (context=0x60000fffffff9590, fs=0x60000fffffff9950,
> regno=UNW_REG_PSP)
> at ../../gcc/config/ia64/unwind-ia64.c:1859
> #1 0x20000000002d2340 in uw_update_context (context=0x60000fffffff9590,
> fs=0x60000fffffff9950)
> at ../../gcc/config/ia64/unwind-ia64.c:2006
> #2 0x20000000002d3ee0 in _Unwind_Backtrace (trace=0x200000000003cfa0
> <local+5416>, trace_argument=0x60000fffffffa060) at unwind.inc:295
> #3 0x200000000021a120 in backtrace () from /lib/libc.so.6.1
> #4 0x4000000000000d20 in signalhandler ()
> #5 <signal handler called>
> #6 0x60000f80000000d0 in ?? ()
>
> Any help would be appreciated.
>
> Otto Bruggeman
> Bah, signal handler called and signal = 11
>
> Bah, signal handler called and signal = 11
>
> Bah, signal handler called and signal = 11
>
> Bah, signal handler called and signal = 11
>
> Bah, signal handler called and signal = 11
>
> Backtrace worked...(well backtrace returned something)
> returned size=31
> s_a: ./bt-test(signalhandler+0x70) [0x4000000000000d20]
> s_a: [0xa0000000000040c0]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d1b10]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d2340]
> s_a: /lib/libgcc_s.so.1(_Unwind_Backtrace+0x2f0) [0x20000000002d3ee0]
> s_a: /lib/libc.so.6.1(backtrace+0xf0) [0x200000000021a120]
> s_a: ./bt-test(signalhandler+0x70) [0x4000000000000d20]
> s_a: [0xa0000000000040c0]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d1b10]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d2340]
> s_a: /lib/libgcc_s.so.1(_Unwind_Backtrace+0x2f0) [0x20000000002d3ee0]
> s_a: /lib/libc.so.6.1(backtrace+0xf0) [0x200000000021a120]
> s_a: ./bt-test(signalhandler+0x70) [0x4000000000000d20]
> s_a: [0xa0000000000040c0]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d1b10]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d2340]
> s_a: /lib/libgcc_s.so.1(_Unwind_Backtrace+0x2f0) [0x20000000002d3ee0]
> s_a: /lib/libc.so.6.1(backtrace+0xf0) [0x200000000021a120]
> s_a: ./bt-test(signalhandler+0x70) [0x4000000000000d20]
> s_a: [0xa0000000000040c0]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d1b10]
> s_a: /lib/libgcc_s.so.1 [0x20000000002d2340]
> s_a: /lib/libgcc_s.so.1(_Unwind_Backtrace+0x2f0) [0x20000000002d3ee0]
> s_a: /lib/libc.so.6.1(backtrace+0xf0) [0x200000000021a120]
> s_a: ./bt-test(signalhandler+0x70) [0x4000000000000d20]
> s_a: [0xa0000000000040c0]
> s_a: ./bt-test(function2+0x51) [0x4000000000000f41]
> s_a: ./bt-test(function1+0x30) [0x4000000000000fb0]
> s_a: ./bt-test(main+0x60) [0x4000000000001040]
> s_a: /lib/libc.so.6.1(__libc_start_main+0x1d0) [0x200000000006f940]
> s_a: ./bt-test(_start+0x80) [0x4000000000000b20]
More information about the Libc-alpha
mailing list