Bug 515434 - internal error at qsort_cmp
Summary: internal error at qsort_cmp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 518516 518883 518981 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-04 09:10 UTC by Mamoru TASAKA
Modified: 2009-08-25 13:14 UTC (History)
4 users (show)

Fixed In Version: gdb-6.8.50.20090818-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-25 13:14:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdb internal error log when examining a core file (17.70 KB, text/plain)
2009-08-04 09:10 UTC, Mamoru TASAKA
no flags Details
core file when gtk-query-immodules-2.0-32 crashes (864.00 KB, application/octet-stream)
2009-08-04 13:21 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2009-08-04 09:10:50 UTC
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)

Comment 1 Jan Kratochvil 2009-08-04 12:23:25 UTC
`/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.

Comment 2 Mamoru TASAKA 2009-08-04 13:21:49 UTC
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.

Comment 3 Jan Kratochvil 2009-08-04 15:01:17 UTC
Reproduced, thanks, just FYI it is an upstream bug.

Comment 4 Jan Kratochvil 2009-08-11 22:54:36 UTC
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.

Comment 5 Jan Kratochvil 2009-08-25 08:48:41 UTC
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

Comment 6 Jan Kratochvil 2009-08-25 12:09:49 UTC
*** Bug 518981 has been marked as a duplicate of this bug. ***

Comment 7 Jan Kratochvil 2009-08-25 12:10:28 UTC
*** Bug 518883 has been marked as a duplicate of this bug. ***

Comment 8 Jan Kratochvil 2009-08-25 12:11:26 UTC
*** Bug 518516 has been marked as a duplicate of this bug. ***

Comment 9 Jan Kratochvil 2009-08-25 13:14:42 UTC
Assertions currently removed in gdb-6.8.50.20090818-5.fc12.
Proper fix to follow.


Note You need to log in before you can comment on or make changes to this bug.