alttpo / sni

SNES Interface with gRPC API
MIT License
46 stars 11 forks source link

manage_files crashes on Linux (Mint 21.3) #42

Open csthomas2 opened 1 month ago

csthomas2 commented 1 month ago

When running manage_files and opening the file browser, manage_files will crash with a gtk icon error. Tried running as a normal user, then as sudo while troubleshooting. Result was the same

Looks like an issue with libgtk-3 and png icons as there are other reported issues. This fixed the issue: https://devforum.play.date/t/segmentation-fault-running-playdatesimulator-on-linux/3360)

Linux Mint 21.3

$ sudo ./manage_files (manage_files:7253): Gtk-WARNING : 15:13:23.923: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Mint-Y/legacy/16/image-missing.png: Fatal error reading PNG image file: Invalid IHDR data (gdk-pixbuf-error-quark, 0) Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Mint-Y/legacy/16/image-missing.png: Fatal error reading PNG image file: Invalid IHDR data (gdk-pixbuf-error-quark, 0) Aborted

edit: formatting