Shotwell 0.32.6 crashes on startup unless GSK_RENDERER=cairo
Mandatory: Shotwell version the issue was seen with
0.32.6
The expected behaviour
Shotwell should start normally!
What was actually happening
Shotwell crashes with default GSK_RENDERER
Steps to reproduce the issue
Install Debian testing & shotwell. Run shotwell.
This may be restricted to a specific graphics driver
When a crash occurs, the following is logged to stderr:
$ shotwell ** Message: 12:23:43.829: main.vala:443: Starting session with system profile (nil)
(shotwell:35181): Gtk-CRITICAL **: 12:23:44.353: gtk_css_node_insert_after: assertion 'previous_sibling == NULL || previous_sibling->parent == parent' failed
(shotwell:35181): Gsk-CRITICAL **: 12:23:44.663: gsk_render_node_draw: assertion 'cairo_status (cr) == CAIRO_STATUS_SUCCESS' failed
(shotwell:35181): Gdk-CRITICAL **: 12:23:44.663: gdk_texture_new_for_surface: assertion 'cairo_image_surface_get_width (surface) > 0' failed
(shotwell:35181): Gsk-CRITICAL **: 12:23:44.663: gsk_gl_driver_load_texture: assertion 'GDK_IS_TEXTURE (texture)' failed
(shotwell:35181): GLib-GObject-CRITICAL **: 12:23:44.663: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** Gsk:ERROR:../../../gsk/gl/gskgldriver.c:691:gsk_gl_driver_cache_texture: assertion failed: (texture_id > 0) Bail out! Gsk:ERROR:../../../gsk/gl/gskgldriver.c:691:gsk_gl_driver_cache_texture: assertion failed: (texture_id > 0) Aborted
This might be a GSK error, but it isn’t happening with any other GTK apps. Happy to provide any further logs / dumps etc.