Date: Thu, 11 Aug 2005 15:44:53 -0500
From: Ed Morton <address@hidden>
Subject: gawk 3.1.4 core dump
To: address@hidden
I'm getting a core dump, details below.
Regards,
Ed.
$ cat t3
text /
$ gawk -vRS=" /( |$)\n" '1' t3
gawk: cmd. line:1: fatal error: internal error
Abort(coredump)
$ gawk --version | head -1
GNU Awk 3.1.4
$ uname -a
SunOS ihgp 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-Enterprise
I cannot reproduce this under Linux, with 3.1.4 or 3.1.5.
First, please get a copy of 3.1.5 and see if the problem persists.
Second, let me know how it was compiled. I've seen things where compiling
regex.c and/or dfa.c without optimization made weird problems go away; it
seems that those two files really stress out compiler optimizers.
Thanks,
Arnold