NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/49698: libexecinfo fails on hppa
>Number: 49698
>Category: lib
>Synopsis: libexecinfo fails on hppa
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 26 13:20:00 +0000 2015
>Originator: Martin Husemann
>Release: NetBSD 7.99.5
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD moondance.duskware.de 7.99.5 NetBSD 7.99.5 (MOONDANCE) #0: Wed Feb 25 15:54:58 CET 2015 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/usr/src/sys/arch/hppa/compile/MOONDANCE hppa
Architecture: hppa
Machine: hppa
>Description:
The tests/lib/libexecinfo test fails on hppa:
got nptrs=18 ncalls=12 (min_frames: 4, max_frames: 9)
backtrace is:
#0: myfunc3
#1: myfunc2
#2: myfunc1
#3: myfunc1
#4: myfunc1
#5: myfunc1
#6: myfunc1
#7: myfunc1
#8: myfunc1
#9: myfunc1
#10: myfunc1
#11: myfunc1
#12: myfunc1
#13: myfunc1
#14: myfunc
#15: atfu_backtrace_fmt_basic_body
#16: _fini
#17: _fini
*** Check failed: /usr/src/tests/lib/libexecinfo/t_backtrace.c:107: strings[j] != frames[i].name (_fini != atf_tc_run)
Running the test in gdb shows the expected frames:
#0 myfunc3 (ncalls=12) at /usr/src/tests/lib/libexecinfo/t_backtrace.c:75
#1 0x00011048 in myfunc2 (ncalls=<optimized out>)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:119
#2 0x000110c4 in myfunc1 (origcalls=origcalls@entry=12, ncalls=1)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:131
#3 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=2)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#4 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=3)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#5 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=4)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#6 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=5)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#7 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=6)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#8 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=7)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#9 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=8)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#10 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=9)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#11 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=10)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#12 0x00011094 in myfunc1 (origcalls=origcalls@entry=12, ncalls=11)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#13 0x00011094 in myfunc1 (origcalls=origcalls@entry=12,
ncalls=ncalls@entry=12) at /usr/src/tests/lib/libexecinfo/t_backtrace.c:129
#14 0x000110dc in myfunc (ncalls=ncalls@entry=12)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:140
#15 0x00011114 in atfu_backtrace_fmt_basic_body (tc=<optimized out>)
at /usr/src/tests/lib/libexecinfo/t_backtrace.c:155
#16 0xafd0b384 in atf_tc_run (tc=0x123dc <atfu_backtrace_fmt_basic_tc>,
resfile=<optimized out>) at /usr/src/external/bsd/atf/dist/atf-c/tc.c:1024
#17 0xafd06cf8 in run_tc (exitcode=<synthetic pointer>, p=0xb00024c8,
tp=0xb00024f8) at /usr/src/external/bsd/atf/dist/atf-c/detail/tp_main.c:510
#18 controlled_main (exitcode=<synthetic pointer>,
add_tcs_hook=@0x1225e: 0x10b68 <atfu_tp_add_tcs>, argv=<optimized out>,
argc=<optimized out>)
at /usr/src/external/bsd/atf/dist/atf-c/detail/tp_main.c:580
#19 atf_tp_main (argc=<optimized out>, argv=<optimized out>,
add_tcs_hook=@0x1225e: 0x10b68 <atfu_tp_add_tcs>)
at /usr/src/external/bsd/atf/dist/atf-c/detail/tp_main.c:610
#19 atf_tp_main (argc=<optimized out>, argv=<optimized out>,
add_tcs_hook=@0x1225e: 0x10b68 <atfu_tp_add_tcs>)
at /usr/src/external/bsd/atf/dist/atf-c/detail/tp_main.c:610
#20 0x00010ae0 in ___start ()
>How-To-Repeat:
n/a
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index