Gtk:ERROR:gtkimagedefinition.c:258:gtk_image_definition_unref: code should not be reached
Submitted by Normal Ra
Link to original bug (#795458)
Description
Created attachment 371226 gdb backtrace
Hello,
I am experiencing an issue on ArchLinux with the newest shotwell v0.28.2: upon trying to drag-and-drop a picture onto a respective tag on the sidebar it crashes with the following backtrace:
Thread 1 "shotwell" received signal SIGABRT, Aborted. 0x00007ffff2b59860 in raise () from /usr/lib/libc.so.6
(gdb) bt full
#0 0x00007ffff2b59860 in raise () at /usr/lib/libc.so.6
#1 0x00007ffff2b5aec9 in abort () at /usr/lib/libc.so.6
#2 0x00007ffff417ab76 in g_assertion_message () at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff417abdc in g_assertion_message_expr () at /usr/lib/libglib-2.0.so.0
#4 0x00007ffff5ab859f in () at /usr/lib/libgtk-3.so.0
#5 0x00007ffff5aa1a51 in () at /usr/lib/libgtk-3.so.0
#6 0x00007ffff5aa1ab3 in () at /usr/lib/libgtk-3.so.0
#7 0x00007ffff4432b05 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff5ab630d in () at /usr/lib/libgtk-3.so.0
#9 0x00007ffff4432b05 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff5c59159 in () at /usr/lib/libgtk-3.so.0
#11 0x00007ffff413502b in g_datalist_clear () at /usr/lib/libglib-2.0.so.0
#12 0x00007ffff561a9df in () at /usr/lib/libgdk-3.so.0
#13 0x00007ffff4432b05 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff55ec4af in gdk_event_free () at /usr/lib/libgdk-3.so.0
#15 0x00007ffff561de4e in () at /usr/lib/libgdk-3.so.0
#16 0x00007ffff4153368 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff41535b1 in () at /usr/lib/libglib-2.0.so.0
#18 0x00007ffff415363e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#19 0x00007ffff491e97e in g_application_run () at /usr/lib/libgio-2.0.so.0
#20 0x0000555555bad941 in application_start (self=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.:
, argv=<optimized out>, argv_length1=<optimized out>) at /home/jens/Source/shotwell/src/Application.vala:182
#21 0x00005555559af536 in library_exec (mounts=<optimized out>, mounts_length1=<optimized out>) at /home/jens/Source/shotwell/src/main.vala:198
#22 0x00005555559b16cc in _vala_main (args=<optimized out>, args_length1=<optimized out>) at /home/jens/Source/shotwell/src/main.vala:441
#23 0x0000555555784cd0 in main (argc=<optimized out>, argv=<optimized out>) at /home/jens/Source/shotwell/src/main.vala:330
...
Additionally, the following is printed:
Gtk:ERROR:gtkimagedefinition.c:258:gtk_image_definition_unref: code should not be reached
Attached you will find a full backtrace. I built shotwell with AddressSanitizer (https://github.com/google/sanitizers/wiki/AddressSanitizer) to aid in debugging.
Steps to reproduce:
- Run shotwell
- Doubleclick image
- Drag-and-drop image to a tag on the sidebar
- Press → on the keyboard to view next image
- Repeat 3) and 4)
- Application crashes
Thanks.
Attachment 371226, "gdb backtrace":
shotwell.gdb
Version: 0.28.x
Resolution: RESOLVED FIXED