Xsane crashing on opening since last update

Tumbleweed 20240503

Anyone else having an issue with xsane since the last update (last couple of days).
Fails with the error:

john@boss:~> xsane
(xsane:20498): GdkPixbuf-WARNING **: 11:27:29.853: Error loading XPM image loader: Unable to load image-loading module: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: cannot open shared object file: No such file or directory
Segmentation fault (core dumped)

How do I fix that?
Thanks.

What does the following command return?

zypper se- s libgdk

Also

ldd /usr/bin/xsane | grep libgdk

The problem is the missing libpixbufloader-xpm.so
I found out when I saw this post. I tried xsane and didn’t open with the same error.
I open my old tumbleweed on my external ssd drive which haven’t updated for months and it has a bunch of .so and xpm is included. I copied it to the directory with the error and xsane start working again. Nice to have a spare older version of tumbleweed sometimes.
Here is the one from old tumbleweed
Screenshot_20240505_235212
And this is the one from tumbleweed that I zypper dup yesterday.
Screenshot_20240505_235358
The libpixbufloader-xpm.so in the updated tumbleweed is just a copy from the old one.
The question now is which package provides that missing file.
I had a problem with the scanner that falls almost the same, took some days to be figured out, just lucky to have deano’s helping hand we were able to solve it.

This is an outfall of bug 1223903 – gdk-pixbuf-2.42.11 causes gkrellm to fail to load

1 Like

@hui Yep I saw it a while ago when I searched for a bit.

boss:/home/john # zypper se- s libgdk
Unknown command ‘se-’
Type ‘zypper help’ to get a list of global options and commands.

In case ‘se-’ is not a typo it’s probably not a built-in command, but provided as a subcommand or plug-in (see ‘zypper help subcommand’).
In this case a specific package providing the subcommand needs to be installed first. Those packages are often named ‘zypper-se-’ or ‘zypper-se–plugin’.

Doesn’t work? Can’t figure out what it’s supposed to be… (yep, I’m not real clever…)

boss:/home/john # ldd /usr/bin/xsane | grep libgdk
libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0 (0x00007f6c74d7a000)
libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f6c73ac3000)

So, can I fix it?
Thanks.

I see the same error (openSUSE Tumbleweed 20240503, Plasma6):

> LANG=C xsane

(xsane:13156): GdkPixbuf-WARNING **: 13:13:09.937: Error loading XPM image loader: Unable to load image-loading module: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: cannot open shared object file: No such file or directory
Speicherzugriffsfehler (Speicherabzug geschrieben)
>
# zypper se -si libgdk
Loading repository data...
Reading installed packages...

S | Name                | Type    | Version     | Arch   | Repository
--+---------------------+---------+-------------+--------+------------------------
i | libgdk_pixbuf-2_0-0 | package | 2.42.11-1.1 | x86_64 | openSUSE Tumbleweed Oss
#
# ldd /usr/bin/xsane | grep libgdk
        libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0 (0x00007fbc956dc000)
        libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007fbc94462000)
#
# ls -la /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/
total 68
drwxr-xr-x 1 root root   134 May  5 18:16 .
drwxr-xr-x 1 root root    40 May  5 18:16 ..
-rwxr-xr-x 1 root root 26712 May  2 10:53 libpixbufloader-gif.so
-rwxr-xr-x 1 root root 14336 Mar 18 09:03 libpixbufloader-svg.so
-rwxr-xr-x 1 root root 22632 May  2 10:53 libpixbufloader-tiff.so

The package libgdk_pixbuf-2_0-0-2.42.10-2.1.x86_64.rpm which still can be found at
https://download.opensuse.org/history/20240503/tumbleweed/repo/oss/x86_64
provides

libpixbufloader-ani.so
libpixbufloader-bmp.so
libpixbufloader-gif.so
libpixbufloader-icns.so
libpixbufloader-ico.so
libpixbufloader-pnm.so
libpixbufloader-qtif.so
libpixbufloader-tga.so
libpixbufloader-tiff.so
libpixbufloader-xbm.so
libpixbufloader-xpm.so

I have no idea why libgdk_pixbuf-2_0-0-2.42.11-1.1.x86_64.rpm now only provides

libpixbufloader-gif.so
libpixbufloader-tiff.so

and where the

libpixbufloader-svg.so

in my system is comming from. Nor do I know whether

  • there is some other package providing the missing loaders.
  • its possible to go back to libgdk_pixbuf-2_0-0-2.42.10-2.1.x86_64.rpm without causing any other damage
1 Like

The fix is already on the way as can be seen in the bugreport.

Thank you for the information!

However the bug report only complains about the missing

libpixbufloader-xbm.so
libpixbufloader-xpm.so

What will happen to

libpixbufloader-ani.so
libpixbufloader-bmp.so
libpixbufloader-gif.so
libpixbufloader-icns.so
libpixbufloader-ico.so
libpixbufloader-pnm.so
libpixbufloader-qtif.so
libpixbufloader-tga.so
libpixbufloader-tiff.so

which were available in the package libgdk_pixbuf-2_0-0-2.42.10-2.1.x86_64.rpm?

Are they no longer necessary or will they be provided by another package?

According the change request on OBS, they will be enabled again in the next build.

1 Like

Thank you !

Good to know.

Thank you, I have the same bug with Unison

~> LANG=C unison

(unison:21538): GdkPixbuf-WARNING **: 17:51:12.456: Error loading XPM image loader: Unable to load image-loading module: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: cannot open shared object file: No such file or directory

Thank you, I never would have found that. I only extracted libpixbufloader-xpm.so and put it in the loaders dir.

This update affected the look of my email program claws-mail. All the buttons were just outlines and it was missing the icons for attachements and different message parts.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.