• Bug#984953: libgtkmm-3.0-1v5: GParted crashes on Gdk::Pixbuf::get_width

    From Mike Fleetwood@21:1/5 to All on Sat May 17 13:50:01 2025
    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

    <div dir="ltr">Sorry for the very late followup on this bug, but it was only reported<br>upstream yesterday evening:<br>  GParted issue 282: Crash due to not checking for failure to load icon <br>  <a href="https://gitlab.gnome.org/GNOME/gparted/-/
    issues/282">https://gitlab.gnome.org/GNOME/gparted/-/issues/282</a><br><br>Is anybody able to reproduce this crash?<br>I need all the steps to set up Debian for this.  So far my attempts have<br>failed to reproduce it.<br><br>Thanks,<br>Mike Fleetwood (
    GParted Developer)<br><br><br>Attempts to reproduce this so far on a Debian 12, XFCE VM:<br>1. Removed package librsvg2-common:<br>   GParted works.<br>2. Also removed package tango-icon-theme:<br>   GParted works, using the Adwaita icons instead.<br>
    3. Attempt to remove package adwaita-icon-theme:<br>   Not possible as dependencies would mean that all of the XFCE desktop<br>   would be removed.<br>4. Reinstall tango-icon-theme and delete hard drive icon files:<br>   rm /usr/share/icons/Tango/*/
    devices/drive-harddisk.png<br>   GParted runs displaying a broken icon (icon with a red cross) where<br>   the drive icon should be and reports these errors to the terminal:<br><br>(gpartedbin:13302): Gtk-WARNING **: 11:56:54.742: Could not load a
    pixbuf from icon theme.<br>This may indicate that pixbuf loaders or the mime database could not be found.<br><br>(gpartedbin:13302): Gtk-WARNING **: 11:56:54.742: Error loading theme icon &#39;drive-harddisk&#39; 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</div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)