bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] incorrect checksum for freed object ... Abort trap: 6 ... fat


From: Hermann Peifer
Subject: [bug-gawk] incorrect checksum for freed object ... Abort trap: 6 ... fatal error: internal error: segfault
Date: Wed, 11 Mar 2015 09:01:43 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Hi,

I am getting the below errors very occasionally, but even when using the -o switch, i.e. not processing any data at all. The "incorrect checksum for freed object" error occurs perhaps in 1 out of 100 script runs, the segfault error even less often.

I am not sure if these errors are interrelated, they seem to go away when either dropping -o/-p or -M. I'll send the script code and a Mac OS X crash report in a private mail. Hope this is OK.

Wild guess based the crash report: libgmp.10.dylib and __gmp_doprnt are mentioned there, so maybe this is not a GAWK issue in the first place.

Hermann

$ c=0; while [ $((c++)) -lt 1000 ]  ; do
> printf "+++ $c +++\n"
> awk -o -M -b -f gtx.awk
> done
+++ 1 +++
+++ 2 +++
+++ 3 +++
...
+++ 135 +++
awk(8661,0x7fff73a62300) malloc: *** error for object 0x7f8548e00010: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
+++ 136 +++
...
+++ 309 +++
awk: gtx.awk:89: fatal error: internal error: segfault
Abort trap: 6
+++ 310 +++
...



reply via email to

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