Subject: Re: awk bug in current ?
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 03/19/2006 08:44:30
On Sun, 2006-03-19 at 17:19 +0100, Vincent wrote:
> Hi there,
> I've build the current release some minutes ago, and now I get this message:
> 
> assertion "c < NCHARS" failed: file "/usr/src/dist/nawk/b.c", line 890, 
> function "cgoto"
> [1]   Abort trap (core dumped) /usr/bin/awk "/#...

I see the same (on i386):

Core was generated by `awk'.
Program terminated with signal 6, Aborted.
#0  0xbbb1f17b in ?? ()
(gdb) bt
#0  0xbbb1f17b in ?? ()
#1  0xbbb74066 in ?? ()
#2  0x0804cf26 in nematch (f=0x807a000, p0=0x2 <Address 0x2 out of
bounds>)
    at /usr/src/dist/nawk/b.c:580
#3  0x0804b753 in yyparse () at awkgram.c:3349
#4  0x0804b641 in yyparse () at /usr/src/dist/nawk/awkgram.y:447
#5  0x0804afb0 in yyparse () at /usr/src/dist/nawk/awkgram.y:388
#6  0x080505f4 in readrec (pbuf=0x1, pbufsize=0xbfbfecd8,
inf=0xbfbfece4)
    at /usr/src/dist/nawk/lib.c:212
#7  0x080492e6 in ___start ()