Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ilia 0.13.1 error when a symbol is not present in a theme #89

Open
cmon1701 opened this issue Aug 6, 2024 · 6 comments
Open

[BUG] ilia 0.13.1 error when a symbol is not present in a theme #89

cmon1701 opened this issue Aug 6, 2024 · 6 comments
Assignees

Comments

@cmon1701
Copy link

cmon1701 commented Aug 6, 2024

JournalErrors:
 systemd[1]: l2tpns.service: Failed with result 'exit-code'.
 systemd[1]: l2tpns.service: Failed with result 'exit-code'.
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 regolith.desktop[3323945]: **
 regolith.desktop[3323945]: 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)
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 ilia[3323945]: g_hash_table_lookup: assertion 'hash_table != NULL' failed
 systemd[1]: l2tpns.service: Failed with result 'exit-code'.
 regolith.desktop[3323944]: Aborted (core dumped)
 systemd[1]: l2tpns.service: Failed with result 'exit-code'.
 regolith.desktop[3324576]: Aborting, failed to grab input: 1
Package: ilia 0.13.1-jammy-1regolith-jammy [origin: https://regolith-desktop.org/release-3_1-ubuntu-jammy-amd64]
@kgilmer kgilmer self-assigned this Aug 7, 2024
@kgilmer
Copy link
Member

kgilmer commented Aug 7, 2024

Hi @cmon1701 , thanks for the bug report. I am unable to reproduce this myself. Did I miss a step?

  1. install the dracula theme
  2. set the dracula theme
  3. run ilia

@cmon1701
Copy link
Author

cmon1701 commented Aug 7, 2024

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.

@kgilmer
Copy link
Member

kgilmer commented Aug 9, 2024

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!

@cmon1701
Copy link
Author

cmon1701 commented Aug 12, 2024

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

@cmon1701
Copy link
Author

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).

@newptcai
Copy link

newptcai commented Sep 13, 2024

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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants