NetBSD Problem Report #52155
From martin@aprisoft.de Tue Apr 11 16:07:40 2017
Return-Path: <martin@aprisoft.de>
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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id A34E17A266
for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Apr 2017 16:07:40 +0000 (UTC)
Message-Id: <20170411160731.E380B5CC761@emmas.aprisoft.de>
Date: Tue, 11 Apr 2017 18:07:31 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: running sparc tests/lib/libc/net/t_hostent locks up
X-Send-Pr-Version: 3.95
>Number: 52155
>Category: port-sparc
>Synopsis: running sparc tests/lib/libc/net/t_hostent locks up
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 11 16:10:00 +0000 2017
>Last-Modified: Sat Apr 15 15:05:00 +0000 2017
>Originator: Martin Husemann
>Release: NetBSD 7.99.67
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 7.99.67 NetBSD 7.99.67 (NELLY) #6: Mon Apr 10 20:08:09 CEST 2017 martin@martins.aprisoft.de:/ssd/src/sys/arch/sparc64/compile/NELLY sparc
Architecture: sparc
Machine: sparc
>Description:
Using a sparc64 SMP kernel and sparc userland on any SMP ultrasparc
fails various tests. One simple way to reproduce it:
On a sparc64 system, extract all sparc sets in a subdirectory, chroot
there and do:
cd /usr/tests/lib/libc/net
atf-run t_hostent
This will hang in (at latest) the second test and block forever.
Something must be wrong with sparc libpthread would be my guess.
Unfortunately trying to run the same test under netbsd32 compat (so using
the sparc64 compat libpthread) fails for other reasons (will send a separate
PR). This all works fine natively on sparc64.
>How-To-Repeat:
s/a
>Fix:
n/a
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/52155: running sparc tests/lib/libc/net/t_hostent locks up
Date: Sat, 15 Apr 2017 17:03:48 +0200
The same lockup happens on a MP sparc (32bit) machine.
It seems to work on uniprocessor sparcs.
Martin
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.