Gnome apps segfault in gnome_icon_lookup after hibernate

Bug #156097 reported by Russ W. Knize
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Upgraded from feisty to gutsy with no issues. Rebooted and my session started fine. Tried "Hibernate" instead of shutdown and now I can't get most of the gnome apps to run, including the panel. Here is a backtrace from gnome-panel:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47775979456288 (LWP 9137)]
0x00002b73aff4e5b0 in strcmp () from /lib/libc.so.6
(gdb) bt
#0 0x00002b73aff4e5b0 in strcmp () from /lib/libc.so.6
#1 0x00002b73ad6d14af in _gtk_icon_cache_has_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#2 0x00002b73ad6d82a4 in gtk_icon_theme_has_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#3 0x00002b73ac18426d in gnome_icon_lookup (icon_theme=0x8c08c0,
    thumbnail_factory=0x0, file_uri=0x9b3c90 "file:///home/russ/docs",
    custom_icon=<value optimized out>, file_info=0xa13de0,
    mime_type=0x9c09f0 "x-directory/normal",
    flags=GNOME_ICON_LOOKUP_FLAGS_NONE, result=0x0) at gnome-icon-lookup.c:381
#4 0x00002b73ac1846cc in gnome_icon_lookup_sync (icon_theme=0x8c08c0,
    thumbnail_factory=0x0, file_uri=0x9b3c90 "file:///home/russ/docs",
    custom_icon=0x0, flags=GNOME_ICON_LOOKUP_FLAGS_NONE, result=0x0)
    at gnome-icon-lookup.c:444
#5 0x000000000044d9d9 in ?? ()
#6 0x000000000044e2a6 in panel_place_menu_item_new ()
#7 0x000000000044a4e8 in ?? ()
#8 0x00002b73af03feb0 in g_type_create_instance ()
   from /usr/lib/libgobject-2.0.so.0
#9 0x00002b73af02722d in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0x00002b73af025664 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#11 0x00002b73af0260ac in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#12 0x00002b73af0262e1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#13 0x0000000000449b8d in panel_menu_bar_load_from_gconf ()
#14 0x0000000000432c2b in ?? ()
#15 0x00002b73af288fd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#16 0x00002b73af28c2dd in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00002b73af28c5ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0x00002b73ad705883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x0000000000423382 in main ()

Revision history for this message
Russ W. Knize (rknize) wrote :
Download full text (4.4 KiB)

Here is gedit:
#0 0x00002aca7621c5b0 in strcmp () from /lib/libc.so.6
#1 0x00002aca744f9521 in get_directory_index (cache=<value optimized out>,
    directory=0x7a00d0 "8x8/emblems")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:187
#2 0x00002aca744f97f8 in find_image_offset (cache=0x7a00b0,
    icon_name=0xb8dac0 "text-x-generic", directory=0x7a00d0 "8x8/emblems")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:252
#3 0x00002aca744f9ab9 in _gtk_icon_cache_get_icon_flags (cache=0x2acaa717a9f5,
    icon_name=0x7a00d0 "8x8/emblems", directory=0x76055c "")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:273
#4 0x00002aca744fea49 in theme_dir_get_icon_suffix (dir=<value optimized out>,
    icon_name=0x7a00d0 "8x8/emblems", has_icon_file=0x0)
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:2020
#5 0x00002aca744ff425 in choose_icon (icon_theme=<value optimized out>,
    icon_names=0x7fff385ddec0, size=16, flags=<value optimized out>)
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:2083
#6 0x00002aca7450056d in IA__gtk_icon_theme_lookup_icon (icon_theme=0x6e68b0,
    icon_name=0xb8dac0 "text-x-generic", size=16,
    flags=GTK_ICON_LOOKUP_USE_BUILTIN)
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:1401
#7 0x00002aca74500680 in IA__gtk_icon_theme_load_icon (icon_theme=0x6e68b0,
    icon_name=0xb8dac0 "text-x-generic", size=16,
    flags=GTK_ICON_LOOKUP_USE_BUILTIN, error=0x0)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:1496
#8 0x0000000000443d0f in _gedit_tab_get_icon ()
#9 0x000000000046e7e5 in ?? ()
#10 0x000000000046ed81 in gedit_notebook_add_tab ()
#11 0x000000000044e56e in gedit_window_create_tab ()
#12 0x000000000042aade in main ()
(gdb)
(gdb)
(gdb) bt full
#0 0x00002aca7621c5b0 in strcmp () from /lib/libc.so.6
No symbol table info available.
#1 0x00002aca744f9521 in get_directory_index (cache=<value optimized out>,
    directory=0x7a00d0 "8x8/emblems")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:187
        i = 0
#2 0x00002aca744f97f8 in find_image_offset (cache=0x7a00b0,
    icon_name=0xb8dac0 "text-x-generic", directory=0x7a00d0 "8x8/emblems")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:252
        chain_offset = 4591348
        directory_index = 1
        i = 7995600
#3 0x00002aca744f9ab9 in _gtk_icon_cache_get_icon_flags (cache=0x2acaa717a9f5,
    icon_name=0x7a00d0 "8x8/emblems", directory=0x76055c "")
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkiconcache.c:273
No locals.
#4 0x00002aca744fea49 in theme_dir_get_icon_suffix (dir=<value optimized out>,
    icon_name=0x7a00d0 "8x8/emblems", has_icon_file=0x0)
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:2020
        suffix = <value optimized out>
#5 0x00002aca744ff425 in choose_icon (icon_theme=<value optimized out>,
    icon_names=0x7fff385ddec0, size=16, flags=<value optimized out>)
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkicontheme.c:2083
---Type <return> to continue, or q <return> to quit---
        theme = (IconTheme *) 0x79fa40
        priv = (GtkIconThemePrivate *) 0x6e68d0
        l = (GList *) 0x79f260
        i...

Read more...

Revision history for this message
Russ W. Knize (rknize) wrote :

OK, I fixed it by reinstalling the icon themes. Not sure what happened, but there does appear to be a bug or two in the GTK icon stuff.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Ok, thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.