NetBSD Problem Report #56296
From martin@duskware.de Sat Jul 3 15:41:02 2021
Return-Path: <martin@duskware.de>
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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9B6501A923B
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Jul 2021 15:41:02 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb spins in lib/libc/tls/t_tls_dlopen
X-Send-Pr-Version: 3.95
>Number: 56296
>Category: port-arm
>Synopsis: gdb spins in lib/libc/tls/t_tls_dlopen
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-arm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 03 15:45:00 +0000 2021
>Last-Modified: Tue Aug 15 04:05:03 +0000 2023
>Originator: Martin Husemann
>Release: NetBSD 9.99.86
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 9.99.86 NetBSD 9.99.86 (UNPLUGED) #387: Sat Jul 3 10:36:35 CEST 2021 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earmv5
Machine: evbarm
>Description:
During a ful ATF test run, this machine stops at:
lib/libc/tls/t_tls_dlopen (361/890): 1 test cases
t_tls_dlopen:
Examining closer, the test crashes and ATF tries to get a backtrace, but
gdb spins and blocks atf. Killing gdb makes atf continue.
>How-To-Repeat:
cd /usr/tests/lib/libc/tls/ && atf-run t_tls_dlopen
>Fix:
n/a
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-arm/56296: gdb spins forever
Date: Fri, 5 Nov 2021 19:40:01 +0100
This is still reproducable on evbarmv5.
Martin
From: Rin Okuyama <rokuyama.rk@gmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>, netbsd-bugs@netbsd.org
Cc:
Subject: Re: port-arm/56296 (gdb spins in lib/libc/tls/t_tls_dlopen)
Date: Tue, 15 Aug 2023 13:03:23 +0900
For earmv5-el, in addition to lib/libc/tls/t_tls_dlopen,
all tests in libexec/ld_elf.so/t_tls_extern crashes in
a similar manner. GDB also spins forever.
port-arm/56839 is irrelevant here; its workaround
https://gist.github.com/rokuyama/3d791f2ceb2757dc389a95910162c9cb
does not help.
Strangely enough, these failures are not observed for
earmv5-eb, even if running on *the same machine* (note
that MARVELL_NAS-based machines support both endians).
I will examine further...
Thanks,
rin
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.