NetBSD Problem Report #3874

Received: (qmail 11075 invoked from network); 16 Jul 1997 14:46:20 -0000
Message-Id: <199707161446.QAA01026@lyssa.owl.de>
Date: Wed, 16 Jul 1997 16:46:12 +0200 (MEST)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: sh crashes on input redirection
X-Send-Pr-Version: 3.95

>Number:         3874
>Category:       bin
>Synopsis:       sh crashes on input redirection
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 16 07:50:01 +0000 1997
>Closed-Date:    Thu Jul 17 01:04:43 +0000 1997
>Last-Modified:  Thu Jul 17 01:05:14 +0000 1997
>Originator:     Matthias Scheler
>Release:        970714
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Environment:
System: NetBSD lyssa 1.2G NetBSD 1.2G (LYSSA) #0: Tue Jul 15 18:24:18 MEST 1997 tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA i386

>Description:
When I tried to SUP today my shellscript for this purpose caused a core dump.
After trying to track down the problem I could reduce it on a three line
shell script.

>How-To-Repeat:
$ cat >boom
#!/bin/sh
LOGFILE=/dev/null
echo -v -s $* >>$LOGFILE 2>&1
$ chmod 755 boom
$ ./boom
$ ./boom -o
Segmentation fault

>Fix:
Sorry, I don't know.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Wed Jul 16 21:04:43 EDT 1997 
State-Changed-Why:  
Fixed as a side effect of another PR. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.