racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
445 stars 93 forks source link

DrRacket 8.2 crashes upon saving #518

Closed xmascoffee closed 2 years ago

xmascoffee commented 2 years ago

When I use either the official Racket package from the Ubuntu repositories, the official Linux download from the Racket website, or compile it using the Unix source code from the website, I get the following warning when clicking on any menu:

(drracket:8180): Gtk-WARNING **:  Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

and it will crash when saving (Save Definitions) with the following error:

Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/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 /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted

All relevant gtk libraries, including pixbuf and themes, appear to be installed (configure was happy when building).

xmascoffee commented 2 years ago

I was able to fix this issue by reinstalling all pixbuf related packages:

$ sudo apt install --reinstall libgdk-pixbuf2.0*