[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] gawk debugger: internal error line 1711, file: debug.c
From: |
Hermann Peifer |
Subject: |
[bug-gawk] gawk debugger: internal error line 1711, file: debug.c |
Date: |
Fri, 3 Jun 2016 19:18:40 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
Hi again,
While running some recent sample code from c.l.a through the debugger, I
came across the below fatal error.
I was using gawk from git/master, on a MacBook.
Hermann
$ head test.*
==> test.awk <==
BEGIN { FS = OFS = "|" }
FNR == 1 {
for (i=1; i<=NF; i++)
SYMTAB[$i] = i
print
next
}
$title == "Bad" { print $0 }
==> test.data <==
title|artist|released
American Life|Madonna|1993
Bad|Michael Jackson|1987
$
$ awk -D -f test.awk test.data
gawk> w SYMTAB
Watchpoint 1: SYMTAB
gawk> r
Starting program:
Stopping in Rule ...
Watchpoint 1: SYMTAB
Old value: array, 30 elements
New value: array, 31 elements
main() at `test.awk':5
5 SYMTAB[$i] = i
gawk> c
Watchpoint 1: SYMTAB
Old value: array, 31 elements
New value: array, 32 elements
main() at `test.awk':5
5 SYMTAB[$i] = i
gawk> w artist
Watchpoint 2: (null)
gawk> n
awk: test.awk:4: (FILENAME=test.data FNR=1) fatal: internal error line
1711, file: debug.c
Program exited abnormally with exit value: 2
- [bug-gawk] gawk debugger: internal error line 1711, file: debug.c,
Hermann Peifer <=