Crash when using custom icon theme on Linux
Siril version: 0.9.12
Operating System: Linux, OpenSUSE Tumbleweed, KDE Plasma
Package: OpenSUSE Repo
Description of the bug
I have a custom icon theme. It uses some icons from the Papirus icon theme but inherits all other icons from the default Breeze Icon theme. It seems that this causes a crash of the software, because it searches for a icon in my local icon directory where it obviously don't finds all necessary icons. But it does not search in the base icon theme Breeze.
If I switch back to just Breeze icon theme it works just fine.
Reproduction
Reproduction steps:
- Use a custom icon theme with only some icons and inherit the rest from Breeze in KDE Plasma. In .local/icons/.../ :
[Icon Theme] Name=Breeze-Papirus Comment=Papirus icon theme Inherits=breeze
Expected result: Start of the program
Actual result:
Crash
Additional information
(siril:11014): Gtk-WARNING **: 12:03:04.872: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/derek/.local/share/icons/Breeze-Papirus/22x22/status/image-missing.svg: Fehler beim Öffnen der Datei »/home/derek/.local/share/icons/Breeze-Papirus/22x22/status/image-missing.svg«: Datei oder Verzeichnis nicht gefunden (g-io-error-quark, 1)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/derek/.local/share/icons/Breeze-Papirus/22x22/status/image-missing.svg: Fehler beim Öffnen der Datei »/home/derek/.local/share/icons/Breeze-Papirus/22x22/status/image-missing.svg«: Datei oder Verzeichnis nicht gefunden (g-io-error-quark, 1)
Error, signal 6:
Bitte melden Sie diesen Fehler an: https://gitlab.com/free-astro/siril/issues
[#0] in siril(+0x53b22) [0x558cae773b22]
[#1] in /lib64/libc.so.6(+0x3c530) [0x7fbc4feb1530]
[#2] in /lib64/libc.so.6(gsignal+0x141) [0x7fbc4feb14b1]
[#3] in /lib64/libc.so.6(abort+0x123) [0x7fbc4fe9a539]
[#4] in /usr/lib64/libglib-2.0.so.0(+0x1fddc) [0x7fbc519d0ddc]
[#5] in /usr/lib64/libglib-2.0.so.0(g_assertion_message_error+0xb2) [0x7fbc51a2e3e2]
[#6] in /usr/lib64/libgtk-3.so.0(+0x21ade5) [0x7fbc51f86de5]
[#7] in /usr/lib64/libgtk-3.so.0(+0x21b497) [0x7fbc51f87497]
[#8] in /usr/lib64/libgtk-3.so.0(+0x22df41) [0x7fbc51f99f41]
[#9] in /usr/lib64/libgtk-3.so.0(+0x17a0c3) [0x7fbc51ee60c3]
[#10] in /usr/lib64/libgtk-3.so.0(+0x189c8d) [0x7fbc51ef5c8d]
[#11] in /usr/lib64/libgtk-3.so.0(+0x225f83) [0x7fbc51f91f83]
[#12] in /usr/lib64/libgtk-3.so.0(+0x2f0da1) [0x7fbc5205cda1]
[#13] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_width+0x7e) [0x7fbc5205d8ce]
[#14] in /usr/lib64/libgtk-3.so.0(+0x134aaf) [0x7fbc51ea0aaf]
[#15] in /usr/lib64/libgtk-3.so.0(+0x17a0c3) [0x7fbc51ee60c3]
[#16] in /usr/lib64/libgtk-3.so.0(+0x189c8d) [0x7fbc51ef5c8d]
[#17] in /usr/lib64/libgtk-3.so.0(+0x12ddf3) [0x7fbc51e99df3]
[#18] in /usr/lib64/libgtk-3.so.0(+0x2f0da1) [0x7fbc5205cda1]
[#19] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_width+0x7e) [0x7fbc5205d8ce]
[#20] in /usr/lib64/libgtk-3.so.0(+0x2f0da1) [0x7fbc5205cda1]
[#21] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_width+0x7e) [0x7fbc5205d8ce]
[#22] in /usr/lib64/libgtk-3.so.0(+0x1292d1) [0x7fbc51e952d1]
[#23] in /usr/lib64/libgtk-3.so.0(+0x2ce516) [0x7fbc5203a516]
[#24] in /usr/lib64/libgtk-3.so.0(+0x2f0da1) [0x7fbc5205cda1]
[#25] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_width+0x7e) [0x7fbc5205d8ce]
[#26] in /usr/lib64/libgtk-3.so.0(+0x17a0c3) [0x7fbc51ee60c3]
[#27] in /usr/lib64/libgtk-3.so.0(+0x189c8d) [0x7fbc51ef5c8d]
[#28] in /usr/lib64/libgtk-3.so.0(+0x244f87) [0x7fbc51fb0f87]
[#29] in /usr/lib64/libgtk-3.so.0(+0x2f0da1) [0x7fbc5205cda1]
[#30] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_width+0x7e) [0x7fbc5205d8ce]
[#31] in /usr/lib64/libgtk-3.so.0(+0x24957a) [0x7fbc51fb557a]
[#32] in /usr/lib64/libgtk-3.so.0(+0x17a0c3) [0x7fbc51ee60c3]
[#33] in /usr/lib64/libgtk-3.so.0(+0x189c8d) [0x7fbc51ef5c8d]
[#34] in /usr/lib64/libgtk-3.so.0(+0x2496f0) [0x7fbc51fb56f0]
[#35] in /usr/lib64/libgtk-3.so.0(+0x17a0c3) [0x7fbc51ee60c3]
[#36] in /usr/lib64/libgtk-3.so.0(+0x189c8d) [0x7fbc51ef5c8d]
[#37] in /usr/lib64/libgtk-3.so.0(+0x244e6a) [0x7fbc51fb0e6a]
[#38] in /usr/lib64/libgtk-3.so.0(+0x2f0df6) [0x7fbc5205cdf6]
[#39] in /usr/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height+0x81) [0x7fbc5205d971]
[#40] in /usr/lib64/libgtk-3.so.0(+0x396aaf) [0x7fbc52102aaf]
[#41] in /usr/lib64/libgtk-3.so.0(+0x396ee3) [0x7fbc52102ee3]
[#42] in /usr/lib64/libgobject-2.0.so.0(+0x194b6) [0x7fbc51af54b6]
[#43] in /usr/lib64/libgobject-2.0.so.0(g_object_set_valist+0x229) [0x7fbc51af7ca9]
[#44] in /usr/lib64/libgobject-2.0.so.0(g_object_set+0xec) [0x7fbc51af857c]
[#45] in /usr/lib64/libgtk-3.so.0(gtk_scrolled_window_set_hadjustment+0x161) [0x7fbc52045101]
[#46] in /usr/lib64/libgobject-2.0.so.0(+0x194b6) [0x7fbc51af54b6]
[#47] in /usr/lib64/libgobject-2.0.so.0(+0x19884) [0x7fbc51af5884]
[#48] in /usr/lib64/libgobject-2.0.so.0(g_object_newv+0x1fd) [0x7fbc51af6f8d]
[#49] in /usr/lib64/libgtk-3.so.0(+0x137cec) [0x7fbc51ea3cec]
[#50] in /usr/lib64/libgtk-3.so.0(+0x139921) [0x7fbc51ea5921]
[#51] in /usr/lib64/libglib-2.0.so.0(+0x57d4b) [0x7fbc51a08d4b]
[#52] in /usr/lib64/libglib-2.0.so.0(g_markup_parse_context_parse+0x10e0) [0x7fbc51a0a060]
[#53] in /usr/lib64/libgtk-3.so.0(+0x130ef6) [0x7fbc51e9cef6]
[#54] in /usr/lib64/libgtk-3.so.0(gtk_builder_extend_with_template+0x1cc) [0x7fbc51e9d7dc]
[#55] in /usr/lib64/libgtk-3.so.0(gtk_widget_init_template+0xde) [0x7fbc5211a2ae]
[#56] in /usr/lib64/libgtk-3.so.0(+0x1ee6d9) [0x7fbc51f5a6d9]
[#57] in /usr/lib64/libgobject-2.0.so.0(g_type_create_instance+0x238) [0x7fbc51b0f5c8]
[#58] in /usr/lib64/libgobject-2.0.so.0(+0x197c5) [0x7fbc51af57c5]
[#59] in /usr/lib64/libgobject-2.0.so.0(g_object_newv+0x1fd) [0x7fbc51af6f8d]
[#60] in /usr/lib64/libgtk-3.so.0(+0x137cec) [0x7fbc51ea3cec]
[#61] in /usr/lib64/libgtk-3.so.0(+0x1382af) [0x7fbc51ea42af]
[#62] in /usr/lib64/libgtk-3.so.0(+0x139c62) [0x7fbc51ea5c62]
[#63] in /usr/lib64/libglib-2.0.so.0(+0x57e84) [0x7fbc51a08e84]
[#64] in /usr/lib64/libglib-2.0.so.0(g_markup_parse_context_parse+0xd93) [0x7fbc51a09d13]
[#65] in /usr/lib64/libgtk-3.so.0(+0x130ef6) [0x7fbc51e9cef6]
[#66] in /usr/lib64/libgtk-3.so.0(gtk_builder_extend_with_template+0x1cc) [0x7fbc51e9d7dc]
[#67] in /usr/lib64/libgtk-3.so.0(gtk_widget_init_template+0xde) [0x7fbc5211a2ae]
[#68] in /usr/lib64/libgtk-3.so.0(+0x1dbe42) [0x7fbc51f47e42]
[#69] in /usr/lib64/libgobject-2.0.so.0(g_type_create_instance+0x238) [0x7fbc51b0f5c8]
[#70] in /usr/lib64/libgobject-2.0.so.0(+0x197c5) [0x7fbc51af57c5]
[#71] in /usr/lib64/libgobject-2.0.so.0(g_object_new_with_properties+0x1cd) [0x7fbc51af6bfd]
[#72] in /usr/lib64/libgobject-2.0.so.0(g_object_new+0xc1) [0x7fbc51af7871]
[#73] in /usr/lib64/libgtk-3.so.0(+0x1de1a9) [0x7fbc51f4a1a9]
[#74] in /usr/lib64/libgobject-2.0.so.0(g_type_create_instance+0x238) [0x7fbc51b0f5c8]
[#75] in /usr/lib64/libgobject-2.0.so.0(+0x197c5) [0x7fbc51af57c5]
[#76] in /usr/lib64/libgobject-2.0.so.0(g_object_new_valist+0x454) [0x7fbc51af74e4]
[#77] in /usr/lib64/libgobject-2.0.so.0(g_object_new+0x99) [0x7fbc51af7849]
[#78] in /usr/lib64/libgtk-3.so.0(gtk_file_chooser_native_new+0x57) [0x7fbc51f49b77]
[#79] in /usr/lib64/libgtk-3.so.0(+0x1de10e) [0x7fbc51f4a10e]
[#80] in /usr/lib64/libgobject-2.0.so.0(+0x198a7) [0x7fbc51af58a7]
[#81] in /usr/lib64/libgobject-2.0.so.0(g_object_newv+0x1fd) [0x7fbc51af6f8d]
[#82] in /usr/lib64/libgtk-3.so.0(+0x137cec) [0x7fbc51ea3cec]
[#83] in /usr/lib64/libgtk-3.so.0(+0x1382af) [0x7fbc51ea42af]
[#84] in /usr/lib64/libgtk-3.so.0(+0x139c62) [0x7fbc51ea5c62]
[#85] in /usr/lib64/libglib-2.0.so.0(+0x57e84) [0x7fbc51a08e84]
[#86] in /usr/lib64/libglib-2.0.so.0(g_markup_parse_context_parse+0xd93) [0x7fbc51a09d13]
[#87] in /usr/lib64/libgtk-3.so.0(+0x130ef6) [0x7fbc51e9cef6]
[#88] in /usr/lib64/libgtk-3.so.0(gtk_builder_add_from_file+0x105) [0x7fbc51e9d2d5]
[#89] in siril(main+0x5f2) [0x558cae74a8d2]
[#90] in /lib64/libc.so.6(__libc_start_main+0xea) [0x7fbc4fe9bcca]
[#91] in siril(_start+0x2a) [0x558cae74ac8a]
MODE: closing sequence
MODE: closing single image
Edited by Cyril Richard