NetBSD Problem Report #60085
From www@netbsd.org Sun Mar 15 15:47:35 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 21BBE1A9257
for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Mar 2026 15:47:35 +0000 (UTC)
Message-Id: <20260315154733.BEE111A9258@mollari.NetBSD.org>
Date: Sun, 15 Mar 2026 15:47:33 +0000 (UTC)
From: jspath55@gmail.com
Reply-To: jspath55@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Core dump in libexec/ld.elf_so/t_dlclose_thread test on Pi0W
X-Send-Pr-Version: www-1.0
X-From4GNATS: "jspath55@gmail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60085
>Category: port-evbarm
>Synopsis: Core dump in libexec/ld.elf_so/t_dlclose_thread test on Pi0W
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbarm-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 15 15:50:00 +0000 2026
>Closed-Date: Fri Jun 05 06:23:05 +0000 2026
>Last-Modified: Fri Jun 05 06:23:05 +0000 2026
>Originator: Jim Spath
>Release: 11.0_RC2
>Organization:
None.
>Environment:
NetBSD rpi 11.0_RC2 NetBSD 11.0_RC2 (RPI) #0: Wed Mar 4 21:02:00 UTC 2026 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/RPI evbar
>Description:
Running the ATF test suite, got occasional core dumps with gdb launch. Didn't see this in BETA tests, but several on RC1 and now one with RC2.
End of ATF log:
...
tp-start: 1773446938.192654, libexec/ld.elf_so/t_dlclose_thread, 1
tc-start: 1773446938.194107, dlclose_thread
tc-se:Test program crashed; attempting to get stack trace
Resulting GDB process (still running):
root 9683 86.7 5.9 39396 27260 ? Rl 12:09AM 1118:41.00 gdb -batch -q -ex bt libexec/ld.elf_so/t_dlclose_thread /tmp/atf-run.IWIv1h/t_dlclose_thread.core
# pwd
/tmp/atf-run.IWIv1h
# ls -l
total 704
-rw-r--r-- 1 root wheel 247906 Mar 15 15:40 gdb.out
-rw------- 1 root wheel 470676 Mar 14 00:09 t_dlclose_thread.core
gdb.out:
[New process 9303]
[New process 10514]
[New process 2247]
[New process 22122]
[New process 4469]
[New process 23516]
[New process 14402]
Core was generated by `t_dlclose_thread'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7bc2a96c in _rtld_bind () from /usr/libexec/ld.elf_so
[Current thread is 1 (process 9303)]
#0 0x7bc2a96c in _rtld_bind () from /usr/libexec/ld.elf_so
#1 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#2 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#3 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#4 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
...
#3655 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#3656 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#3657 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
(still running)
Attempted gdb trace:
# gdb /usr/tests/libexec/ld.elf_so/t_dlclose_thread t_dlclose_thread.core
GNU gdb (GDB) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7--netbsdelf-eabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/tests/libexec/ld.elf_so/t_dlclose_thread...
(No debugging symbols found in /usr/tests/libexec/ld.elf_so/t_dlclose_thread)
[New process 9303]
[New process 10514]
[New process 2247]
[New process 22122]
[New process 4469]
[New process 23516]
[New process 14402]
Core was generated by `t_dlclose_thread'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7bc2a96c in _rtld_bind () from /usr/libexec/ld.elf_so
[Current thread is 1 (process 9303)]
(gdb) bt
#0 0x7bc2a96c in _rtld_bind () from /usr/libexec/ld.elf_so
#1 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#2 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
#3 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
...
#38 0x7bc2a53c in _rtld_bind_start () from /usr/libexec/ld.elf_so
--Type <RET> for more, q to quit, c to continue without paging--
>How-To-Repeat:
Intermittently happens during atf runs. 3 runs with no fault, and the last one has a crash.
-rw-r--r-- 1 root wheel 12318638 Mar 11 05:46 /root/tests-rpi-202603102242.log
-rw-r--r-- 1 root wheel 12327994 Mar 12 05:45 /root/tests-rpi-202603112242.log
-rw-r--r-- 1 root wheel 12325648 Mar 13 05:46 /root/tests-rpi-202603122242.log
-rw-r--r-- 1 root wheel 2200327 Mar 14 00:09 /root/tests-rpi-202603132242.log
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-evbarm/60085: Core dump in
libexec/ld.elf_so/t_dlclose_thread test on Pi0W
Date: Sun, 15 Mar 2026 18:12:07 +0100
On Sun, Mar 15, 2026 at 03:50:00PM +0000, jspath55@gmail.com via gnats wrote:
> ...
> tp-start: 1773446938.192654, libexec/ld.elf_so/t_dlclose_thread, 1
> tc-start: 1773446938.194107, dlclose_thread
> tc-se:Test program crashed; attempting to get stack trace
This is expected behaviour, as the bug this test is for is not yet fixed.
>
> Resulting GDB process (still running):
This is another instance of PR 59813.
Martin
From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-evbarm/60085: Core dump in libexec/ld.elf_so/t_dlclose_thread
test on Pi0W
Date: Sun, 15 Mar 2026 18:52:20 -0400
On Sun, Mar 15, 2026 at 1:15=E2=80=AFPM Martin Husemann via gnats
<gnats-admin@netbsd.org> wrote:
> This is expected behaviour, as the bug this test is for is not yet fixed.
OK.
> This is another instance of PR 59813.
I missed that PR on search.
Let me know if I should do anything else on this.
Jim
State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Fri, 05 Jun 2026 06:23:05 +0000
State-Changed-Why:
dup of 59813
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.