bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] bug related to hash function


From: Andres Legarra
Subject: Re: [bug-gawk] bug related to hash function
Date: Tue, 3 May 2016 10:58:08 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Update, I have tried with 4.1.3 from macports, to no success.

On 02/05/16 20:53, Aharon Robbins wrote:
Hello.

Thanks for the report. Please send a full program that demonstrates
the bug, and any necessary data files as well. I can't attempt to
diagnose any such issue if I can't first reproduce it.

You might also try with the current release, which is 4.1.3.

Also, did you compile gawk as a 32 bit or 64 bit executable?

Thanks,

Arnold

To: address@hidden
From: Andres Legarra <address@hidden>
Date: Mon, 2 May 2016 17:34:36 +0200
Subject: [bug-gawk] bug related to hash function

Hi there,

I have found a weird bug concerning hashes. For a particular element
x="00000779770060", the value of its hash table
posout[x]
that should be 44, becomes empty (null string). The asignment of this 44
works, but then it gets lost.

If I print it to /dev/stderr every few loops, it is not lost.

I see this behaviour in my mac running El Capitan and GNU Awk 4.1.0,
API: 1.0
However in our Linux server running GNU Awk 3.1.7 I do not see this problem

The error is reproducible (in my machine) and I can send files if needed.

any help is welcome
Andres
--
Andres Legarra
+33 561285182
INRA, UMR1388 GenPhySE
CS 52627
31326 Castanet Tolosan, France

--
Andres Legarra
+33 561285182
INRA, UMR1388 GenPhySE
CS 52627
31326 Castanet Tolosan, France




reply via email to

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