Comment 13 for bug 364524

Revision history for this message
happyhamster (morrgiah) wrote :

"strace gedit" did freeze 2 of my machines (1 ati, 1 nvidia) repeatedly, but one time gedit did start, and strace printed:

lseek(19, 73728, SEEK_SET) = 73728
close(19) = 0
munmap(0x7ff758a8c000, 4096) = 0
*** glibc detected *** strace: malloc(): memory corruption (fast): 0x00000000015bf460 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fb08f217cb8]
/lib/libc.so.6[0x7fb08f21b351]
/lib/libc.so.6(__libc_malloc+0x98)[0x7fb08f21c828]
strace[0x4087d8]
strace[0x405c0e]
strace[0x404916]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fb08f1be5a6]
strace[0x402119]
======= Memory map: ========
00400000-00447000 r-xp 00000000 08:04 560881 /usr/bin/strace
00646000-00647000 r--p 00046000 08:04 560881 /usr/bin/strace
00647000-00648000 rw-p 00047000 08:04 560881 /usr/bin/strace
00648000-00656000 rw-p 00648000 00:00 0
015bf000-015e0000 rw-p 015bf000 00:00 0 [heap]
7fb088000000-7fb088021000 rw-p 7fb088000000 00:00 0
7fb088021000-7fb08c000000 ---p 7fb088021000 00:00 0
7fb08ef88000-7fb08ef9e000 r-xp 00000000 08:04 462445 /lib/libgcc_s.so.1
7fb08ef9e000-7fb08f19e000 ---p 00016000 08:04 462445 /lib/libgcc_s.so.1
7fb08f19e000-7fb08f19f000 r--p 00016000 08:04 462445 /lib/libgcc_s.so.1
7fb08f19f000-7fb08f1a0000 rw-p 00017000 08:04 462445 /lib/libgcc_s.so.1
7fb08f1a0000-7fb08f308000 r-xp 00000000 08:04 462423 /lib/libc-2.9.so
7fb08f308000-7fb08f508000 ---p 00168000 08:04 462423 /lib/libc-2.9.so
7fb08f508000-7fb08f50c000 r--p 00168000 08:04 462423 /lib/libc-2.9.so
7fb08f50c000-7fb08f50d000 rw-p 0016c000 08:04 462423 /lib/libselect(Aborted (core dumped)

I tried compiling the newest strace from sourceforge (4.5.18), and the problems appear to be gone with that version: "strace gedit" has the expected result of gedit launching after a few seconds.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=478324