Bug#1021897: gnome-disk-utility: Crash when clicked X (cancel) on Deleting partition

piorunz piorunz at gmx.com
Sun Oct 16 20:11:49 BST 2022


Package: gnome-disk-utility
Version: 43.0-1
Severity: normal
X-Debbugs-Cc: piorunz at gmx.com

Crash occured when I tried to cancel Delete Partition operation which took too
long.

Steps:
Mount SATA SSD disk via SATA cable. Disk has one Ext4 partition, otherwise it's
clean and empty, zero files. MBR format.
I mounted the partition and then unmounted it, but I don't remember exactly if
partition was mounted or not.
Open Gnome Disks
Disk is in good condition, zero errors, bad sectors, or whatever, it's old
Kingston 60 GB SSD. Good performance in Disks benchmark, 300 MB/s read and
write.
Click "-" icon which will delete existing Ext4 partition.
Progress in the window shows current operation "Deleting partition" and X next
to it to cancel this.
I waited about 30 seconds, way to long just to modify MBR partition table,
which should take zero seconds.
Clicked X.
Gnome Disks immediately crashed with following errors in terminal (I run it
from terminal):
$ gnome-disks
**
GNOME-Disks:ERROR:../src/disks/gduwindow.c:4270:on_job_cancel_button_clicked:
assertion failed: (object != NULL)
Bail out! GNOME-
Disks:ERROR:../src/disks/gduwindow.c:4270:on_job_cancel_button_clicked:
assertion failed: (object != NULL)
Aborted (core dumped)

Dmesg shows no errors.

What should happen: no crash.

Maybe partition was mounted, I don't remember at this moment, and Gnome Disks
tried to delete partition anyway? Or something else failed with deleting
partition procedure, that's why it crashed when I tried to cancel this
"Deleting partition" procedure.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-disk-utility depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-3
ii  libatk1.0-0                                  2.46.0-3
ii  libc6                                        2.35-3
ii  libcairo2                                    1.16.0-6
ii  libcanberra-gtk3-0                           0.30-10
ii  libdvdread8                                  6.1.3-1
ii  libgdk-pixbuf-2.0-0                          2.42.9+dfsg-1
ii  libglib2.0-0                                 2.74.0-2
ii  libgtk-3-0                                   3.24.34-3
ii  libhandy-1-0                                 1.8.0-1
ii  liblzma5                                     5.2.5-2.1
ii  libnotify4                                   0.8.1-1
ii  libpango-1.0-0                               1.50.10+ds-1
ii  libpangocairo-1.0-0                          1.50.10+ds-1
ii  libpwquality1                                1.4.4-1+b1
ii  libsecret-1-0                                0.20.5-3
ii  libsystemd0                                  251.5-1
ii  libudisks2-0                                 2.9.4-3
ii  udisks2                                      2.9.4-3

gnome-disk-utility recommends no packages.

gnome-disk-utility suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list