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

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

Re: problem with gawk CONVFMT


From: Aharon Robbins
Subject: Re: problem with gawk CONVFMT
Date: Sun, 24 Apr 2011 10:31:41 +0300
User-agent: Heirloom mailx 12.4 7/29/08

Hi. I spent about 2 hours trying to fix this bug. It's buried deep in
the code and I was not able to.

The good news is that it works OK in the development version, which I
hope will be released pretty soon.

> Date: Tue, 8 Mar 2011 16:52:27 +0100
> Subject: problem with gawk CONVFMT
> From: Alain NOULLEZ <address@hidden>
> To: address@hidden
>
> Hello,
>
> I have got a strange bug (crash) when converting a variable inside a loop
> modifying at the same time CONVFMT.
> The strange thing is that it seems converting a real variable to a string can
> cause a modification of the variable itself, against all expectations.
> The minimal program causing the crash is included.  As such, it crashes
> with the message "fatal error: internal error" (or segfaults on some
> machines).
> If the line s = x "" is commented, and the line containing the gensub is
> uncommented, the program goes into an infinite loop.  Also, if the
> initialization
> of CONVFMT is uncommented, the program crashes in some cases, but not
> always ?!?.
> For information, gawk's version is 3.1.8
> and my system 'uname -a' is
> Linux ### 2.6.34.7-66.fc13.i686.PAE #1 SMP Wed Dec 15 07:21:49 UTC
> 2010 i686 i686 i386 GNU/Linux
>
> Thanks a lot in any case for gawk, and I hope you can understand and solve
> that problem.
> Best regards,
> A. Noullez.
>
> -- 
> Dr. Alain NOULLEZ
> CNRS Observatoire de Nice; B.P. 4229; F-06304? Nice Cedex 4; FRANCE
> Tel: +[33]4-92.00.30.74.?? Fax: +[33]4-92.00.30.58.?? E-Mail: address@hidden



reply via email to

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