bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] bug related to hash function


From: Andres Legarra
Subject: [bug-gawk] bug related to hash function
Date: Mon, 2 May 2016 17:34:36 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

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




reply via email to

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