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

No icons on Linux #3

Open
WhyNotHugo opened this issue Feb 19, 2024 · 1 comment
Open

No icons on Linux #3

WhyNotHugo opened this issue Feb 19, 2024 · 1 comment

Comments

@WhyNotHugo
Copy link

I'm trying out https://github.com/pop-os/cosmic-files, which uses this crate for rendering icons. cosmic-files renders no icons for me, which I reported at pop-os/cosmic-files#48

I tried running the example from this crate and it doesn't seem to work for me. When I run it i prints:

Serving example on http://localhost:8888

When I visit the page, it prints:

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): Gtk-CRITICAL **: 20:22:44.882: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): GLib-CRITICAL **: 20:22:44.882: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(hello:30932): Gtk-CRITICAL **: 20:22:44.882: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
zsh: segmentation fault  cargo run --example=hello

The page renders no icons:

Screenshot shows the browser rendering the test page with all images replaced with the placeholder which indicates "broken or missing image"

@WhyNotHugo
Copy link
Author

Looking at the browser inspect, it is clear that the process segfault'd before responding to the image requests. The browser got a CONNECTION REFUSED as response for the images.

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

1 participant