NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/56769: libexecinfo not working for signal handlers on sparc64
>Number: 56769
>Category: lib
>Synopsis: libexecinfo not working for signal handlers on sparc64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 26 16:50:00 +0000 2022
>Originator: Martin Husemann
>Release: NetBSD 9.99.95
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 9.99.95 NetBSD 9.99.95 (MODULAR) #536: Sat Mar 26 09:19:27 CET 2022 martin%thirdstage.duskware.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Libexecinfo fails to capture backtraces for signal handlers on sparc64.
>How-To-Repeat:
cd /usr/tests/lib/libexecinfo
./t_sig_backtrace sig_backtrace
notice that it outputs:
signal: 11
Backtrace 1 stack frames.
0x101974 <handler+0x100034> at ./t_sig_backtrace
where we would expect something like:
signal: 11
Backtrace 6 stack frames.
0xd0a135c <handler+0xd0a002c> at ./t_sig_backtrace
0xf8bd835cee68 <__sigtramp_siginfo_2> at /usr/lib/libc.so.12
0xd0a1168 <the_loop+0xd0a0008> at ./t_sig_backtrace
0xd0a12b4 <atfu_sig_backtrace_body+0xd0a00a4> at ./t_sig_backtrace
0xf8bd8387a8b8 <atf_tc_run+0x58> at /usr/lib/libatf-c.so.0
0xf8bd83876cc8 <atf_tp_main+0x9c4> at /usr/lib/libatf-c.so.0
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index