bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk 3.1.4 core dump


From: Ed Morton
Subject: Re: gawk 3.1.4 core dump
Date: Fri, 12 Aug 2005 08:10:47 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

Arnold - I don't know how it was compiled, it's part of a package maintained by a tools group at work. I'll try to twist their arm to move to gawk 3.1.5 as you suggest but that could take some time. I do get the same result with gawk 3.1.4 under Cygwin on Windows XP so I suspect it isn't a compilation problem:

$ cat t3
text /
$ gawk -vRS=" /( |$)\n" '1' t3
gawk: cmd. line:1: fatal error: internal error
Aborted (core dumped)
$ gawk --version | head -1
GNU Awk 3.1.4
$ uname -a
CYGWIN_NT-5.1 your-wg5n33dutv 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin

Regards,

   Ed.

Aharon Robbins wrote:

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]