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:27:20 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Here
I am gonna try 4.1.3. I'd like to install it side by side with 4.1.0 so it may take me some time I did not compile gawk myself. I cannot remember if I installed it using ports or something similar or it came with the OS operative system. At any rate, I did not compile it. It is a 64 bit executable.

BTW, I am a big fan of gawk, that we use all the time. Thanks

Andres


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

Attachment: for_aharon.tar.gz
Description: GNU Zip compressed data


reply via email to

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