NetBSD Problem Report #123

From gnats  Sat Feb 12 04:04:16 1994
Received: from yarrina.connect.com.au (yarrina.connect.com.au [192.189.54.17]) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) with SMTP id EAA12465 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sat, 12 Feb 1994 04:03:41 -0800
Message-Id: <199402121155.WAA16701@pandion.eyrie.img.com.au>
Date: Sat, 12 Feb 1994 22:55:11 +1100
From: David Burren <davidb@eyrie.img.com.au>
Reply-To: davidb@eyrie.img.com.au
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: awk dumps core on empty command string
X-Send-Pr-Version: 3.2

>Number:         123
>Category:       bin
>Synopsis:       awk dumps core on empty command string
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 04:05:02 +0000 1994
>Closed-Date:    Fri May 20 06:31:20 +0000 1994
>Last-Modified:  Tue Jul 22 10:25:28 +0000 2014
>Originator:     David Burren
>Release:        
>Organization:
	img Consultants
>Environment:
	NetBSD-current (29/01/94 copy)

System: NetBSD pandion.eyrie.img.com.au 0.9a PANDION#0 i386


>Description:
	"awk ''" coredumps.  This construct is used by code such as Larry
	Wall's Configure utility to check the existence of files.
	eg:
		awk '' `awk '{print $1}' MANIFEST` > /dev/null

>How-To-Repeat:

	pandion:~ 179% awk ''
	awk: cmd. line:1: fatal error: internal error
	IOT trap (core dumped)
	pandion:~ 180%

>Fix:
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Tue Feb 15 17:08:27 1994
State-Changed-Why:
This seems to be a Gawk bug.  

We are not running the most recent version of Gawk, but running the
same test with the current version on a SunOS 4.1.1 system makes me
think that upgrading will not solve our problems.

	conklin@ngai$ gawk '' 
	gawk: cmd. line:1: fatal error: internal error

The only difference is the core dump.  I'll see if upgrading gets rid
of the core dump, but right now it looks like the gawk maintainers
should be made aware of the bug.

State-Changed-From-To: analyzed->suspended
State-Changed-By: jtc
State-Changed-When: Wed Feb 16 17:24:38 1994
State-Changed-Why:
I've contacted the gawk maintainers about this bug.  I've been told that
the bug has been fixed, and that they expect to make another release 
shortly.  There is nothing we can do until the next release.

State-Changed-From-To: suspended->closed
State-Changed-By: jtc
State-Changed-When: Fri May 20 06:31:20 1994
State-Changed-Why:
integrated gawk 2.15.5, which fixes this bug.

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.