Open cmon1701 opened 3 months ago
Hi @cmon1701 , thanks for the bug report. I am unable to reproduce this myself. Did I miss a step?
Hi @kgilmer, the error only occurs about once a day, not every time I use Ilia. That makes the error not so easy to reproduce, I guess.
Ah ok. I did look around the code but didn't find any obvious problems w/ icon handling. From searches it seems that people see crashes like this in other programs from snap-packaged apps. Kindly update the ticket if you find a way to reproduce the problem reliably, thanks!
I found a way to reproduce it! It happens about every third time when I do this call from command line:
❯ ilia -p apps
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:1814865): GLib-CRITICAL **: 10:33:28.561: g_hash_table_lookup: assertion 'hash_table != NULL' failed
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Symbol »image-missing« nicht im Thema Dracula vorhanden (gtk-icon-theme-error-quark, 0)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Symbol »image-missing« nicht im Thema Dracula vorhanden (gtk-icon-theme-error-quark, 0)
[1] 1814865 IOT instruction (core dumped) ilia -p apps
Hi @kgilmer, the error only occurs about once a day, not every time I use Ilia. That makes the error not so easy to reproduce, I guess.
I have to correct my statement : The error does occur more much often, about ever third time. By command line call or Win+Space (just nothing happens when the error occurs). I only get the Ubuntu error window about once a day (and it seems that the corresponding file /var/crash/_usr_bin_ilia.1000.crash
is only written once a day).
I have a similar problem. When I run ilia from command line, I see this error
ilia -p apps
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(ilia:70743): GLib-CRITICAL **: 13:52:54.324: g_hash_table_lookup: assertion 'hash_table != NULL' failed
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme hicolor (gtk-icon-theme-error-quark, 0)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme hicolor (gtk-icon-theme-error-quark, 0)
Aborted (core dumped)
Note that if I run ilia -p keybidings -a
, there is no such problem.
A walk around is to change Icon in gnome-tweak from Highcolor to Adwaita.