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 396474 - crash after import dialog shows thumbnails
crash after import dialog shows thumbnails
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.9.x
Other Linux
: Normal critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-01-14 15:15 UTC by Michael Chudobiak
Modified: 2007-01-14 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (118.46 KB, text/plain)
2007-01-14 15:16 UTC, Michael Chudobiak
Details

Description Michael Chudobiak 2007-01-14 15:15:51 UTC
gthumb svn rev 1265 crashed during the import photos dialog, after most of the thumbnails had been rendered. This might be a bug introduced by moving from GnomeIconTheme -> GtkIconTheme (bug 171593). See attachment for long backtrace.

- Mike
Comment 1 Michael Chudobiak 2007-01-14 15:16:13 UTC
Created attachment 80239 [details]
backtrace
Comment 2 Michael Chudobiak 2007-01-14 15:18:59 UTC
Console errors: 

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

** (gthumb:13595): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

** (gthumb:13595): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

** (gthumb:13595): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GnomeUI-CRITICAL **: gnome_icon_lookup: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_lookup_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gthumb:13595): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

** (gthumb:13595): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failed

(gthumb:13595): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:13595): Gtk-CRITICAL **: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208916272 (LWP 13595)]
0x4c5e31cf in IA__gtk_icon_set_render_icon (icon_set=0x8907b20, 
    style=0x8bccb00, direction=GTK_TEXT_DIR_LTR, state=GTK_STATE_NORMAL, 
    size=GTK_ICON_SIZE_BUTTON, widget=0x8c3e948, detail=0x0)
    at gtkiconfactory.c:1470
1470          g_warning ("Error loading theme icon for stock: %s", error->message);
(gdb) 
Comment 3 Paolo Bacchilega 2007-01-14 16:53:30 UTC
I think the problem is that the GtkIconTheme returned by gtk_icon_theme_get_default is a global object and must not be ref-ed/unref-ed, so you have to remove all the occurrences of g_object_ref(icon_theme) and  g_object_unref(icon_theme) from the code.
Comment 4 Michael Chudobiak 2007-01-14 21:28:56 UTC
Thank you, that does seem to fix things!

- Mike