[Top][All Lists]

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

Re: [bug-gawk] Call from BEGIN to user-defined function with explicit re

From: Eli Zaretskii
Subject: Re: [bug-gawk] Call from BEGIN to user-defined function with explicit return causes SIGSEGV in Gawk 3.1.6 Win32
Date: Mon, 09 Apr 2012 23:53:32 +0300

> Date: Mon, 9 Apr 2012 11:43:26 -0500
> From: Developer Address <address@hidden>
> The following script terminates with a SIGSEGV error when executed on Gawk
> Win32:
>     a();
> }
> function a() {
>     return 0;
> }
> No input file is used. Command and output are:
> ----
> E:\gawk-issue>.\gawk.exe -f breakIt.awk
> gawk: breakIt.awk:7: fatal error: internal error (SIGSEGV)

This problem doesn't happen in the latest Gawk 4.0.1 on Windows XP,
which I built myself from the sources.  (You can find that binary on
http://sourceforge.net/projects/ezwinports/files/.)  But then it also
doesn't happen with Gawk 3.1.6 that I built.  So I suspect that this
is part of the problems with the GnuWin32 precompiled binaries of
Gawk, which is the reason I switched to building Gawk myself.

I suggest you to stop using GnuWin32's broken ports, and never look

reply via email to

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