GNOME Bugzilla – Bug 723220
Icon loading leads to application crashes with 3.10.7
Last modified: 2014-01-29 21:06:18 UTC
I see at least totem, gitg, and pan crashing with the following messages after upgrading from GTK+ 3.10.6 to 3.10.7: (totem:26838): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed (totem:26838): Gtk-WARNING **: Error loading theme icon 'gtk-edit' for stock: Failed to load icon (totem:26838): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed (totem:26838): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (totem:26838): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (totem:26838): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (totem:26838): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed ** Gdk:ERROR:gdkcairo.c:193:gdk_cairo_surface_paint_pixbuf: assertion failed: (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_RGB24 || cairo_image_surface_get_format (surface) == CAIRO_FORMAT_ARGB32) Aborted (core dumped)
Backtrace for first critical:
+ Trace 233090
hmm, I don't see any relevant changes between 3.10.6 and 3.10.7. Are you sure nothing else changed on the system ?
This was an issue in the build environment. /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache was not generated before the GTK+ build which meant that gtk-update-icon-cache failed to generate gtkbuiltincache.h. Unfortunately, make still claimed that the build was successful, so I didn't immediately notice this. Sorry for the noise.