When I try to run gvim from a shell in Alacritty, I get the following error:
(gvim:9528): Gtk-WARNING **: 09:34:43.359: 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/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Vim: Caught deadly signal ABRT
Vim: Finished.
E852: The child process failed to start the GUI
Launching gvim from the gnome desktop seems to work fine, however. The specific icon file mentioned is accessible and does not appear to be corrupt. I have seen many suggestions to run update-mime-database /usr/share/mime
and also gdk-pixbuf-query-loaders --update-cache
, but these do not fix the problem in my case.
Can anyone suggest anything else I can try to get this working from the command line?