Created attachment 356126 [details] gdb internal error log when examining a core file Description of problem: Well, I tried to debug segfault with gtk-query-immodules-2.0-32 using gdb-6.8.50.20090803-2.fc12.i686 but gdb causes internal error. Version-Release number of selected component (if applicable): glibc-2.10.90-12.i686 gtk2-2.17.6-4.fc12.i686 gdb-6.8.50.20090803-2.fc12.i686 How reproducible: 100% Steps to Reproduce: 1. ulimit -c unlimited 2. /usr/bin/update-gtk-immodules i386-redhat-linux-gnu (currently on rawhide this segfaults, note that update-gtk-immodules is a shell script, actual binary causing segv is gtk-query-immodules-2.0-32) 3. gdb gtk-query-immodules-2.0-32 core.* Actual results: gdb stops with internal error (see attached)
`/usr/bin/update-gtk-immodules i386-redhat-linux-gnu' does not crash for me (gtk2-2.17.6-4.fc12.i686). Could you please attach the core file? Best directly the core file of gdb. Thanks.
Created attachment 356168 [details] core file when gtk-query-immodules-2.0-32 crashes (In reply to comment #1) > `/usr/bin/update-gtk-immodules i386-redhat-linux-gnu' > does not crash for me (gtk2-2.17.6-4.fc12.i686). > > Could you please attach the core file? Best directly the core file of gdb. Attached.
Reproduced, thanks, just FYI it is an upstream bug.
I could reproduce it before and it has been fixed upstream in the meantime: http://sourceware.org/ml/gdb-cvs/2009-08/msg00054.html http://sourceware.org/ml/gdb-patches/2009-08/msg00130.html Expecting it to be fixed in today's Rawhide but I can no longer produce it on fresh Rawhide with the core file from your Comment 2.
Sorry for the incorrect close, the bug is still present. Testcase posted upstream: http://sourceware.org/ml/gdb/2009-08/msg00238.html http://sourceware.org/ml/gdb-patches/2009-08/msg00409.html
*** Bug 518981 has been marked as a duplicate of this bug. ***
*** Bug 518883 has been marked as a duplicate of this bug. ***
*** Bug 518516 has been marked as a duplicate of this bug. ***
Assertions currently removed in gdb-6.8.50.20090818-5.fc12. Proper fix to follow.