[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-14 00:12 --- Subject: Re: PATCH COMMITTED: new variable for malloc It turns out a variable I thought would always point to the beginning of the malloc-block, can actually change value. This was causing crashes in some cas

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-14 00:12 --- OK, I've committed it to the CVS repository. Thanks for the report. -- What|Removed |Added

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 23:52 --- (In reply to comment #5) > I've figured out the crashing bug, and can fix that. I tried your test and it > gave a different line number than you got, but I assume that's due to build > differences. But jus

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-13 23:46 --- I've figured out the crashing bug, and can fix that. I tried your test and it gave a different line number than you got, but I assume that's due to build differences. But just to make sure, do you mind applyin

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 23:43 --- On Linux, to reproduce it, you may try [EMAIL PROTECTED] binutils]$ MALLOC_CHECK_=1 ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head -1 | awk '{print $1}'` malloc: using debugging hooks

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 19:56 --- bash-3.2$ ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head -1 | awk '{print $1}'` ??:0 *** glibc detected *** ./addr2line: munmap_chunk(): invalid pointer: 0x7f60c57010a2 *** ==

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 16:38 --- The correct behaviour should be bash-3.2$ ./addr2line -e addr2line 0x401f49 /export/gnu/import/binutils-last/src/binutils/addr2line.c:341 bash-3.2$ -- http://sourceware.org/bugzilla/show_bug.cgi?id=674

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 15:56 --- Hi Craig, your patch: http://sourceware.org/ml/binutils/2008-06/msg00203.html caused this regression. -- What|Removed |Added ---