Sorry for the very late followup on this bug, but it was only reported
upstream yesterday evening:
  GParted issue 282: Crash due to not checking for failure to load icon
  https://gitlab.gnome.org/GNOME/gparted/-/issues/282

Is anybody able to reproduce this crash?
I need all the steps to set up Debian for this.  So far my attempts have
failed to reproduce it.

Thanks,
Mike Fleetwood (GParted Developer)


Attempts to reproduce this so far on a Debian 12, XFCE VM:
1. Removed package librsvg2-common:
   GParted works.
2. Also removed package tango-icon-theme:
   GParted works, using the Adwaita icons instead.
3. Attempt to remove package adwaita-icon-theme:
   Not possible as dependencies would mean that all of the XFCE desktop
   would be removed.
4. Reinstall tango-icon-theme and delete hard drive icon files:
   rm /usr/share/icons/Tango/*/devices/drive-harddisk.png
   GParted runs displaying a broken icon (icon with a red cross) where
   the drive icon should be and reports these errors to the terminal:

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

(gpartedbin:13302): Gtk-WARNING **: 11:56:54.742: Error loading theme icon
'drive-harddisk' for stock: Failed to load
/usr/share/icons/Tango/24x24/devices/drive-harddisk.png: Error opening file
/usr/share/icons/Tango/24x24/devices/drive-harddisk.png: No such file or
directory

Reply via email to