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

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

problem with gawk CONVFMT


From: Alain NOULLEZ
Subject: problem with gawk CONVFMT
Date: Tue, 8 Mar 2011 16:52:27 +0100

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

Attachment: awkconv
Description: Binary data


reply via email to

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