Xsane crashes: Image type “legacy-xpm” is not supported

I had no problems running xsane last month, now it suddenly crashes.

> xsane                                                                                                                                                                                                                                                    15:05:01

(xsane:13284): GdkPixbuf-WARNING **: 15:05:03.362: Error loading XPM image loader: Image type “legacy-xpm” is not supported

(xsane:13284): GdkPixbuf-WARNING **: 15:05:03.362: Error loading XPM image loader: Image type “legacy-xpm” is not supported
fish: Job 1, 'xsane' terminated by signal SIGSEGV (Address boundary error)

I also had the error:

Gtk-WARNING **: 14:48:08.252: Unable to locate theme engine in module_path: "adwaita",

which I was able to solve by installing gnome-themes-extra.

I’m running fedora43 with plasma6 desktop.

Would by thankful for any suggestions!

downgrade gdk-pixbuf2 to gdk-pixbuf2-2.44.4

sudo dnf downgrade gdk-pixbuf2 worked for me. Thanks!

pls open a bug report. gdk-pixbuf2 must not be updated to a version newer than 2.44.4
see also 2452248 – Revert gdk-pixbuf2 to stay at 2.44.4 version in f44
F44 also reverted to version 2.44.4.

Got hit with this this morning, Figured out the downgrade. Added an exclude for it to dnf.conf. Also reported the bug at 2460118 – [abrt] xsane: gtk_image_set_from_pixmap(): xsane killed by SIGSEGV

Similar results today with gkrellm

You can also use simple-scan (included in fedora repo’s). Not as fancy as xsane, but it works. It seems xsane hasn’t been updated in a while.