From owner-freebsd-questions Sun Aug 4 14:13:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA24167 for questions-outgoing; Sun, 4 Aug 1996 14:13:28 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA24161 for ; Sun, 4 Aug 1996 14:13:24 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ae29845; 4 Aug 96 21:13 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa08290; 4 Aug 96 22:10 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id UAA02059; Sun, 4 Aug 1996 20:27:10 GMT From: James Raynard Message-Id: <199608042027.UAA02059@jraynard.demon.co.uk> Subject: Re: Bug in gawk? To: mike@networx.ie Date: Sun, 4 Aug 1996 20:27:09 +0000 () Cc: questions@freebsd.org In-Reply-To: from "Michael Ryan" at Aug 4, 96 01:13:47 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Am I being unreasonable in expecting the following awk > program to work? [snip] > awk: awkprog:2: (FILENAME=infile FNR=1) fatal: internal error line 1150, file: / > usr/src/gnu/usr.bin/awk/eval.c Nope, this definitely looks like a bug in (g)awk. Apart from the "internal error" clue, line 1150 of eval.c in the awk source is a call to a function called "cant_happen()" :-) >From the context, it looks like a trashed pointer. In any case, I'd report it to the GNU utilities team ('info gawk' for details), even though our version of gawk is rather old.