strace crashed with SIGABRT in malloc()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
strace (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: strace
Everytime I strace quanta, it crashes with:
*** glibc detected *** /usr/bin/strace: malloc(): memory corruption (fast): 0x0000000000f11a30 ***
I attached a full gdb backtrace.
$ LC_ALL=C apt-cache policy strace quanta libc6
strace:
Installed: 4.5.17+
Candidate: 4.5.17+
Version table:
*** 4.5.17+
500 http://
100 /var/lib/
quanta:
Installed: 4:3.5.10-0ubuntu1
Candidate: 4:3.5.10-0ubuntu1
Version table:
*** 4:3.5.10-0ubuntu1 0
500 http://
100 /var/lib/
libc6:
Installed: 2.9-0ubuntu7
Candidate: 2.9-0ubuntu7
Version table:
*** 2.9-0ubuntu7 0
500 http://
100 /var/lib/
I'm getting a similar crash when I try to strace in Kubuntu 9.04, e.g. if I run 2.strace
strace kcmshell4 kcmsolidproc > kcsmsolidproc_
*** glibc detected *** strace: malloc(): memory corruption (fast): 0x0000000001c72610 ***
a workaround is to use strace -v.
There seems to be a patch for this crash in https:/ /bugzilla. redhat. com/show_ bug.cgi? id=478324 ; that bug also comments that newer code in http:// strace. cvs.sourceforge .net/viewvc/ strace/ strace/ util.c avoids the bug.
Sometimes I get instead
*** glibc detected *** strace: munmap_chunk(): invalid pointer: 0x00000000008107d0