Bug 514720 - gtk-query-immodules-2.0-32 segfaults
Summary: gtk-query-immodules-2.0-32 segfaults
Keywords:
Status: CLOSED DUPLICATE of bug 517001
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-30 13:36 UTC by Mamoru TASAKA
Modified: 2009-08-27 06:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-27 06:46:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdb log when gtk-query-immodules-2.0-32 segfaults (10.81 KB, text/plain)
2009-07-30 13:36 UTC, Mamoru TASAKA
no flags Details
output of info sharedlibrary (19.33 KB, text/plain)
2009-07-31 08:43 UTC, Mamoru TASAKA
no flags Details
Test case (394 bytes, text/plain)
2009-08-11 19:17 UTC, Mamoru TASAKA
no flags Details
gdb log for this test case (3.70 KB, text/plain)
2009-08-11 19:20 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2009-07-30 13:36:44 UTC
Created attachment 355672 [details]
gdb log when gtk-query-immodules-2.0-32 segfaults

Description of problem:
gtk-query-immodules-2.0-32 (in gtk2) segfaults.
From gdb it seems segv is occuring in glibc.

Version-Release number of selected component (if applicable):
glibc-2.10.90-10.i686
gtk2-2.17.6-1.fc12.i686

How reproducible:
100%

Steps to Reproduce:
1. execute $ /usr/bin/update-gdk-pixbuf-loaders i386-redhat-linux-gnu
  
Actual results:
Please see attached.

Expected results:


Additional info:

Comment 1 Andreas Schwab 2009-07-30 14:11:02 UTC
It crashes in an exit handler.  Please run debuginfo-install and try again.

Comment 2 Mamoru TASAKA 2009-07-30 15:13:38 UTC
Even if I install all debuginfo rpms that gdb says they are missing,
I cannot get more information from gdb, perhaps the same
problem as bug 514261.

Comment 3 Andreas Schwab 2009-07-30 16:32:34 UTC
If gdb says they are missing you didn't install the correct ones.  You have some broken ones with mismatching CRCs.

Comment 4 Mamoru TASAKA 2009-07-30 16:49:37 UTC
Actually no. I know that when EVR mismatches gdb complains about
CRC mismatches (and gdb still ask to install correct debuginfo rpm). 

Again even if I correctly install all debuginfo rpms (and gdb
says there is no missing debuginfo rpms)
I don't get more information than I posted. As said in bug 514261
(the reporter of the bug is not me), I guess rawhide gdb is broken in
some way.

Comment 5 Andreas Schwab 2009-07-31 08:08:06 UTC
Please provide the output of info sharedlibrary.

Comment 6 Mamoru TASAKA 2009-07-31 08:43:57 UTC
Created attachment 355781 [details]
output of info sharedlibrary

(In reply to comment #5)
> Please provide the output of info sharedlibrary.  

Attached.

Comment 7 Andreas Schwab 2009-07-31 11:14:07 UTC
glibc just runs the exit handlers on behalf of the modules, one of which appears to have registered a bogus address.

Comment 8 Mamoru TASAKA 2009-08-04 17:32:14 UTC
I will attach gdb log again once bug 515434 is fixed.

Comment 9 Mamoru TASAKA 2009-08-11 19:17:34 UTC
Created attachment 357065 [details]
Test case

Hello.

Still gdb output is not useful. However anyway I tried to bisect
this issue and it seems that something wrong is happening
in static gboolean query_module (const char *dir, const char *name)
in gtk/queryimmodules.c.

The attached C codes (very short) actually causes segfault on
my system, which seems very strange.

Comment 10 Mamoru TASAKA 2009-08-11 19:20:49 UTC
Created attachment 357067 [details]
gdb log for this test case

And gdb log anyway.

note that scim-gtk is scim-gtk-1.4.9-2.fc12.i686

Comment 11 Mamoru TASAKA 2009-08-27 06:46:49 UTC

*** This bug has been marked as a duplicate of bug 517001 ***


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