NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/59796: sh3 libpthread dlopen tests are crashing
>Number: 59796
>Category: toolchain
>Synopsis: sh3 libpthread dlopen tests are crashing
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 27 09:50:00 +0000 2025
>Originator: Martin Husemann
>Release: NetBSD 11.99.4
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD last-of-the-heroes.duskware.de 11.99.4 NetBSD 11.99.4 (GENERIC) #366: Wed Nov 26 09:38:04 CET 2025 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/landisk/compile/GENERIC landisk
Architecture: sh3el
Machine: landisk
>Description:
Libpthread dlopen tests are failing on sh3
https://netbsd.org/~martin/landisk-atf/288_atf.html#lib_libpthread_dlopen_t_dlopen_dlopen
>How-To-Repeat:
(gdb) run dlopen
Starting program: /usr/tests/lib/libpthread/dlopen/t_dlopen dlopen
t_dlopen: WARNING: Running test cases without atf-run(1) is unsupported
t_dlopen: WARNING: No isolation nor timeout control is being applied; you may ge t unexpected failures; see atf-test-case(4)
passed
Program received signal SIGSEGV, Segmentation fault.
0x6ec69cb8 in ?? ()
(gdb) bt
#0 0x6ec69cb8 in ?? ()
#1 0x6ea38b64 in __gthread_mutex_lock.constprop.0.isra.0 ()
from /usr/lib/libgcc_s.so.1
#2 0x6ea39260 in __deregister_frame_info_bases () from /usr/lib/libgcc_s.so.1
#3 0x6ea392f0 in __deregister_frame_info () from /usr/lib/libgcc_s.so.1
#4 0x6ea3236a in __do_global_dtors_aux () from /usr/lib/libgcc_s.so.1
#5 0x6ea395cc in _fini () from /usr/lib/libgcc_s.so.1
#6 0x7dd55e38 in _rtld_call_initfini_function (mask=0x7ff326f8,
func=0x6ea395b8 <_fini>) at /work/src/libexec/ld.elf_so/rtld.c:152
#7 _rtld_call_fini_function (obj=<optimized out>, mask=0x7ff326f8,
cur_objgen=4) at /work/src/libexec/ld.elf_so/rtld.c:167
#8 0x7dd56830 in _rtld_call_fini_functions (force=1, mask=0x7ff326f8)
at /work/src/libexec/ld.elf_so/rtld.c:213
#9 _rtld_exit () at /work/src/libexec/ld.elf_so/rtld.c:431
#10 0x6edcda62 in __cxa_finalize (dso=0x0)
at /work/src/lib/libc/stdlib/atexit.c:237
#11 0x6edcd64a in exit (status=0) at /work/src/lib/libc/stdlib/exit.c:60
#12 0x6eea8c8c in pass (ctx=0x6eec4494 <Current>)
at /work/src/external/bsd/atf/dist/atf-c/tc.c:337
#13 0x6eea950e in atf_tc_run (tc=0x412524 <atfu_dlopen_tc>,
resfile=<optimized out>) at /work/src/external/bsd/atf/dist/atf-c/tc.c:1041
#14 0x6eea64e8 in atf_tp_run (tp=<optimized out>, tcname=<optimized out>,
resfile=0x6eeca000 "/dev/stdout")
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index