NetBSD Problem Report #41654

From bad@atsec.com  Tue Jun 30 21:51:41 2009
Return-Path: <bad@atsec.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 969EF63B976
	for <gnats-bugs@gnats.netbsd.org>; Tue, 30 Jun 2009 21:51:41 +0000 (UTC)
Message-Id: <20090630211427.4671558@nervous-energy.atsec.com>
Date: Tue, 30 Jun 2009 23:14:27 +0200 (MEST)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: sh(1) hangs while collecting command substitution output
X-Send-Pr-Version: 3.95

>Number:         41654
>Category:       bin
>Synopsis:       sh(1) hangs collection output for "eval $(cmd)"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 30 21:55:00 +0000 2009
>Closed-Date:    Sun May 15 06:20:47 +0000 2022
>Last-Modified:  Sun May 15 06:20:47 +0000 2022
>Originator:     Christoph Badura
>Release:        NetBSD 5.99.14 iso-image from 20090627 autobuild
>Organization:
bozotic netbsd software testing labs
>Environment:


System: NetBSD 5.99.14
Architecture: i386
Machine: i386
>Description:

Boot the i386 installation ISO image.  In sysinst select the utility menu
and run /bin/sh.
Enter the following commands
(
eval $(fdisk -S wd0)
)

The top-level shell hangs in "piperd".  The job is suspendable with ^Z.
ps shows a zombie from the fdisk command hanging around.

The system in question is a PIII 866 MHz with 256MB RAM detected.

This is repeatable every time when immediately running /sbin/sh from
sysinst's Utility menue after booting into sysinst.

>How-To-Repeat:

see above.

>Fix:

dunno.

>Release-Note:

>Audit-Trail:
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@www.netbsd.org
Cc: bad@bsd.de
Subject: Re: bin/41654:  sh(1) hangs while collecting command substitution output
Date: Wed, 17 Nov 2021 23:25:29 +0700

 This bug report is > 12 years old now, and I cannot reproduce the
 problem.   Much has changed in the intervening 12 years...

 Unless someone can show that there is still an issue that needs
 fixing (or even just examining) here, I plan on closing this PR soon.

 kre

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 06:20:47 +0000
State-Changed-Why:
No longer occurs, 6 month notice (granted it wasn't in feedback)

I wonder if the problem was actually that pipe splice issue, can't
remember the timeframe when that was a thing...


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.