GNOME Bugzilla – Bug 583896
Creating new partition table should clear pending operations
Last modified: 2009-10-25 20:43:22 UTC
Creating a new partition table on a device doesn't clear all pending operations on that device. Then when performing the pending operations GParted crashes. https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/378757 Copy of the steps to reproduce this: 1) Select a partition and delete it. 2) Create new partition table. 3) Note that request to delete original partition is still on the queue, but the device is now clean. 4) Press "Apply" 5) Gparted crashes.
*** Bug 566746 has been marked as a duplicate of this bug. ***
The code has been improved to ensure that there are no pending operations before creating a new partition table. If there are pending operations, a dialog window is displayed indicating to the user to either clear or apply all operations before creating a new partition table. This enhancement has been committed to the git repository for inclusion in the next release of GParted (0.4.8). The relevant git commit can be found at the following link: http://git.gnome.org/cgit/gparted/commit/?id=83381f85f13a0f3421a3b0eee98e498961db6119 Closing this bug.