Memory corruption in strace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
strace (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: strace
System: Kubuntu 9.04 (amd64, updated from 8.10) with backports and proposed repositories enabled.
When I'm trying to strace firefox, strace crash due to memory corruption:
pawel@galileo:~$ strace firefox 2&>1 > firefox.strace
*** glibc detected *** strace: malloc(): memory corruption (fast): 0x000000000133e610 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/lib/libc.
strace[0x4087d8]
strace[0x405c0e]
strace[0x404916]
/lib/libc.
strace[0x402119]
======= Memory map: ========
00400000-00447000 r-xp 00000000 08:02 254867 /usr/bin/strace
00646000-00647000 r--p 00046000 08:02 254867 /usr/bin/strace
00647000-00648000 rw-p 00047000 08:02 254867 /usr/bin/strace
00648000-00656000 rw-p 00648000 00:00 0
0133e000-0135f000 rw-p 0133e000 00:00 0 [heap]
7f330c000000-
7f330c021000-
7f331009a000-
7f33100b0000-
7f33102b0000-
7f33102b1000-
7f33102b2000-
7f331041a000-
7f331061a000-
7f331061e000-
7f331061f000-
7f3310624000-
7f331081c000-
7f3310840000-
7f3310843000-
7f3310844000-
7fff1882f000-
7fff189fe000-
ffffffffff60000
Aborted
More information about system:
pawel@galileo:~$ dpkg -l | grep strace
ii strace 4.5.17+
pawel@galileo:~$ /lib/libc.so.6
GNU C Library stable release version 2.9, by Roland McGrath et al.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.3.
Compiled on a Linux >>2.6.24-
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
For bug reporting instructions, please see:
<http://
pawel@galileo:~$ cat /proc/version
Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009
Got the same when stracing Skype (32-bit app on 64bit system): ~/bin/skype$ strace ./skype --enable-dbus --use-system-dbus 2> /home/pawel/ down/tmp/ skype.log so.6[0x7f2f0862 ecb8] so.6[0x7f2f0863 2351] so.6(__ libc_malloc+ 0x98)[0x7f2f086 33828] so.6(__ libc_start_ main+0xe6) [0x7f2f085d55a6 ] 7f2f04021000 rw-p 7f2f04000000 00:00 0 7f2f08000000 ---p 7f2f04021000 00:00 0 7f2f083b5000 r-xp 00000000 08:02 879483 /lib/libgcc_s.so.1 7f2f085b5000 ---p 00016000 08:02 879483 /lib/libgcc_s.so.1 7f2f085b6000 r--p 00016000 08:02 879483 /lib/libgcc_s.so.1 7f2f085b7000 rw-p 00017000 08:02 879483 /lib/libgcc_s.so.1 7f2f0871f000 r-xp 00000000 08:02 879462 /lib/libc-2.9.so 7f2f0891f000 ---p 00168000 08:02 879462 /lib/libc-2.9.so 7f2f08923000 r--p 00168000 08:02 879462 /lib/libc-2.9.so 7f2f08924000 rw-p 0016c000 08:02 879462 /lib/libc-2.9.so 7f2f08929000 rw-p 7f2f08924000 00:00 0 7f2f08949000 r-xp 00000000 08:02 879459 /lib/ld-2.9.so 7f2f08b22000 rw-p 7f2f08b20000 00:00 0 7f2f08b48000 rw-p 7f2f08b44000 00:00 0 7f2f08b49000 r--p 0001f000 08:02 879459 /lib/ld-2.9.so 7f2f08b4a000 rw-p 00020000 08:02 879459 /lib/ld-2.9.so 7fff10b49000 rw-p 7ffffffea000 00:00 0 [stack] 7fff10bff000 r-xp 7fff10bfe000 00:00 0 [vdso] 0-ffffffffff601 000 r-xp 00000000 00:00 0 [vsyscall]
pawel@galileo:
[ Process PID=7200 runs in 32 bit mode. ]
*** glibc detected *** strace: malloc(): memory corruption (fast): 0x00000000017467d0 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/lib/libc.
strace[0x4087d8]
strace[0x405c0e]
strace[0x404916]
/lib/libc.
strace[0x402119]
======= Memory map: ========
00400000-00447000 r-xp 00000000 08:02 254867 /usr/bin/strace
00646000-00647000 r--p 00046000 08:02 254867 /usr/bin/strace
00647000-00648000 rw-p 00047000 08:02 254867 /usr/bin/strace
00648000-00656000 rw-p 00648000 00:00 0
01746000-01767000 rw-p 01746000 00:00 0 [heap]
7f2f04000000-
7f2f04021000-
7f2f0839f000-
7f2f083b5000-
7f2f085b5000-
7f2f085b6000-
7f2f085b7000-
7f2f0871f000-
7f2f0891f000-
7f2f08923000-
7f2f08924000-
7f2f08929000-
7f2f08b20000-
7f2f08b44000-
7f2f08b48000-
7f2f08b49000-
7fff10b34000-
7fff10bfe000-
ffffffffff60000
Aborted