After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 476279 - Corrupt icon cache results in hang with no input possible
Corrupt icon cache results in hang with no input possible
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-09-12 17:24 UTC by Sven Arvidsson
Modified: 2008-03-05 22:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
corrupt icon file (4.27 KB, image/png)
2007-09-12 17:24 UTC, Sven Arvidsson
Details

Description Sven Arvidsson 2007-09-12 17:24:05 UTC
[ Forwarded from http://bugs.debian.org/427406 ]

metacity-dialog hangs, and no keyboard or mouse input is possible if metacity is started with a corrupt icon cache.

Steps to reproduce:

      * Drop the corrupt icon file (attached) in /usr/share/icons/hicolor
      * Generate the icon cache using GTK+ 2.10 
      * Restart metacity and invoke metacity-dialog.

This only happens with GTK+ 2.10, in 2.11 it refuses to create the cache, complaining about a bad image index. 

The corrupt icon came from an old version of autopackage, they have since replaced it, http://trac.autopackage.org/ticket/31

I attached the the process after the hang, and got a limited backtrace:

Thread 1 (Thread -1219770704 (LWP 5879))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 poll
    from /lib/i686/cmov/libc.so.6
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/i686/cmov/libc.so.6
  • #9 ??
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
    from /lib/i686/cmov/libc.so.6
  • #16 ??
  • #17 _dl_fixup
    from /lib/ld-linux.so.2
  • #18 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #19 IA__gtk_dialog_run
    at /tmp/buildd/gtk+2.0-2.11.6/gtk/gtkdialog.c line 1038
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??

Comment 1 Sven Arvidsson 2007-09-12 17:24:43 UTC
Created attachment 95467 [details]
corrupt icon file
Comment 2 Havoc Pennington 2007-09-12 18:47:31 UTC
Seems unlikely to be metacity-specific, though metacity-dialog using gtk_dialog_run may trigger it while other apps don't. Reassigning to gtk since no code I know of in metacity should care about the icon cache directly.
Comment 3 Johan (not receiving bugmail) Dahlin 2008-03-02 17:26:14 UTC
The stack trace is corrupt, there's not a lot we can do.

Sven: can you still reproduce? If so, please send in a new stack trace after you installed the dbg/dbgsym packages for glib/gtk.
Comment 4 Sven Arvidsson 2008-03-05 21:42:38 UTC
Thanks for reminding me. No, I can not reproduce it with GTK+ 2.12.8 (still using 2.10 to generate the icon cache) and Metacity 2.23. I guess the bug can be closed.