Ristretto crash viewing next image Fatal IO error 11 (Resource temporarily unavailable) on X server
With Ristretto on Xubuntu, When clicking on the "next image" arrow, or clicking on a thumbnail in the left nav, from about 1 in 2 to 1 in 4 clicks result in a crash. That is, the next image is not displayed as expected, instead ristretto stops running and disappears from the UI.
For practical use I cannot rely on Ristretto showing the next image, but it reliably shows the first image when starting Ristretto up to view an image.
Normally a crash notifier pops up on Xubuntu offering to report a crash. This does not always happen with this Ristretto crash, and when it does happen it seems to be delayed by around 20 - 30 seconds or more, and the subsequent re-start of Ristretto after the report is sent also seems delayed.
Normally I use Thunar and double click on an image to start Ristretto, but when starting Ristretto from the command line the same behaviour is observed.
Images reside on a normal internal local NVME SSD block device mounted on /. No network access is involved.
To reproduce, use Ristretto to view an image from a number of images in the same directory, and then keep clicking next image until Ristretto crashes.
$ ristretto IMG_20211211_163154.jpg
Gdk-Message: 09:16:39.262: ristretto: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
$ apt info -a ristretto
Package: ristretto
Version: 0.12.1-1~20.04
Priority: optional
Section: xfce
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Installed-Size: 1,289 kB
Depends: libc6 (>= 2.4), libcairo2 (>= 1.14.0), libexif12 (>= 0.6.21-1~), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.43.2), libgtk-3-0 (>= 3.21.5), libmagic1 (>= 5.32), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libx11-6, libxfce4ui-2-0 (>= 4.11.0), libxfce4util7 (>= 4.9.0), libxfconf-0-3 (>= 4.12.1)
Recommends: tumbler
Download-Size: 245 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/xubuntu-dev/staging/ubuntu focal/main amd64 Packages
Description: lightweight picture-viewer for the Xfce desktop environment
Ristretto is a fast and lightweight picture-viewer for the Xfce desktop
environment.
Package: ristretto
Version: 0.10.0-1
Priority: extra
Section: universe/graphics
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,258 kB
Depends: libc6 (>= 2.4), libcairo2 (>= 1.2.4), libexif12 (>= 0.6.21-1~), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libmagic1 (>= 5.12), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libx11-6, libxfce4ui-2-0 (>= 4.11.0), libxfce4util7 (>= 4.9.0), libxfconf-0-3 (>= 4.12.1)
Recommends: tumbler
Homepage: https://docs.xfce.org/apps/ristretto/start
Task: xubuntu-desktop, ubuntustudio-desktop
Download-Size: 229 kB
APT-Sources: http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Description: lightweight picture-viewer for the Xfce desktop environment
Ristretto is a fast and lightweight picture-viewer for the Xfce desktop
environment.
$ uname -a
Linux carbon 5.11.0-41-generic #45~20.04.1-Ubuntu SMP Wed Nov 10 10:20:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# 2017 Intel Lenovo X1 Carbon
$ ll /var/crash
total 7.2M
-rw-r----- 1 neil whoopsie 7.2M Dec 14 08:40 _usr_bin_ristretto.1000.crash
-rw-rw-r-- 1 neil whoopsie 0 Dec 14 08:40 _usr_bin_ristretto.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 14 08:40 _usr_bin_ristretto.1000.uploaded
$ sudo cat /var/crash/_usr_bin_ristretto.1000.uploaded
43d17118-5c5d-11ec-88f2-fa163e983629
I attach _usr_bin_ristretto.1000.crash
.