NetBSD Problem Report #55385
From gson@gson.org Sun Jun 14 08:47:01 2020
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 BB6361A9213
for <gnats-bugs@gnats.NetBSD.org>; Sun, 14 Jun 2020 08:47:01 +0000 (UTC)
Message-Id: <20200614084656.AED88253EE5@guava.gson.org>
Date: Sun, 14 Jun 2020 11:46:56 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: ARM testbeds hang running lib/libpthread/t_mutex test
X-Send-Pr-Version: 3.95
>Number: 55385
>Category: port-arm
>Synopsis: ARM testbeds hang running lib/libpthread/t_mutex test
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-arm-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 14 08:50:00 +0000 2020
>Closed-Date: Mon Jun 29 15:37:31 +0000 2020
>Last-Modified: Mon Jun 29 15:37:31 +0000 2020
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date >= 2020.06.04.00.45.32
>Organization:
>Environment:
System: NetBSD
Architecture: earmv7hf
Machine: evbarm
>Description:
The TNF evbarm-earmv7hf and evbarm-aarch64 testbeds are both hanging
at the mutex5 test case of the lib/libpthread/t_mutex test:
lib/libpthread/t_mutex (407/847): 7 test cases
mutex1: [606.695610s] Failed: Test case timed out after 300 seconds
mutex2: [604.408457s] Failed: Test case timed out after 300 seconds
mutex3: [602.468435s] Failed: Test case timed out after 300 seconds
mutex4: [604.340654s] Failed: Test case timed out after 300 seconds
mutex5:
Note that this is the whole test run hanging, not just an individual
test case.
The problem started with this commit:
2020.06.04.00.45.32 joerg src/external/bsd/jemalloc/dist/src/tsd.c 1.3
2020.06.04.00.45.32 joerg src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h 1.13
2020.06.04.00.45.32 joerg src/lib/libpthread/pthread.c 1.174
Logs:
http://releng.netbsd.org/b5reports/evbarm-earmv7hf/commits-2020.06.html#2020.06.04.00.45.32
http://releng.netbsd.org/b5reports/evbarm-aarch64/commits-2020.06.html#2020.06.04.00.45.32
>How-To-Repeat:
Run the ATF tests on arm.
>Fix:
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-arm/55385: ARM testbeds hang running lib/libpthread/t_mutex
test
Date: Mon, 15 Jun 2020 02:09:45 +0200
On Sun, Jun 14, 2020 at 08:50:01AM +0000, Andreas Gustafsson wrote:
> The TNF evbarm-earmv7hf and evbarm-aarch64 testbeds are both hanging
> at the mutex5 test case of the lib/libpthread/t_mutex test:
>
> lib/libpthread/t_mutex (407/847): 7 test cases
> mutex1: [606.695610s] Failed: Test case timed out after 300 seconds
> mutex2: [604.408457s] Failed: Test case timed out after 300 seconds
> mutex3: [602.468435s] Failed: Test case timed out after 300 seconds
> mutex4: [604.340654s] Failed: Test case timed out after 300 seconds
> mutex5:
I'm still analyzing it. aarch64 is a relocation bug in rtld. ARM is next
on my list.
Joerg
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-arm/55385: ARM testbeds hang running lib/libpthread/t_mutex test
Date: Mon, 29 Jun 2020 18:32:29 +0300
This issue has been fixed by the following commits:
2020.06.16.21.01.30 joerg src/libexec/ld.elf_so/arch/aarch64/mdreloc.c 1.14
2020.06.16.21.02.20 joerg src/libexec/ld.elf_so/arch/arm/mdreloc.c 1.45
The evbarm-earmv7hf tests are currently failing to complete, but
that's an unrelated issue.
--
Andreas Gustafsson, gson@gson.org
State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Mon, 29 Jun 2020 15:37:31 +0000
State-Changed-Why:
Fixed by joerg, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.