[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] incorrect checksum for freed object ... Abort trap: 6 ...
Re: [bug-gawk] incorrect checksum for freed object ... Abort trap: 6 ... fatal error: internal error: segfault
Wed, 11 Mar 2015 20:56:10 +0100
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
On 2015-03-11 19:38, Aharon Robbins wrote:
Thanks for the report.
Valgrind shows a problem under Linux. The patch below fixes it, and also
makes the profiled/pretty-printed output look normal when using -M. Can
you try it out before I push it? (Save the patch to a file, then use
patch -p1 < the-file
The patch is relative to gawk-4.1-stable but should work on master as well.
May I add your test program and data file to the test suite?
Thanks for the fix: all errors are gone, after applying the patch to
master. There is actually no difference in the profiles (generated by
The test program was never meant to be serious gawk code that would go
into a serious test suite, but if you find it helpful: please take it. I
just noted that RS is defined twice in the BEGIN clause, which looks
silly. The first assignment should be dropped. The data file is
essentially hand-made by myself, following NOAA specs, so it can be used
without any restrictions.