[Bug 1581314] Re: gparted crashes when copying ntfs partition
Phil
zealophobic at gmail.com
Mon Jun 19 19:18:04 UTC 2017
I tried to copy an ntfs partition using gparted 0.25, using ubuntu
15.04.
My gparted output:
======================
libparted : 3.2
======================
(gpartedbin:2846): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_M_replace_aux
Trace/breakpoint trap (core dumped)
$ apt-cache policy gparted
gparted:
Installed: (none)
Candidate: 0.19.0-3build1
Version table:
0.19.0-3build1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
$ sudo fdisk -l -u
[output trimmed to just the disks involved.
copy was from /dev/sda5 to /dev/sde4]
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: [snip]
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 36200035 36199973 17.3G 7 HPFS/NTFS/exFAT
/dev/sda2 36200448 234440703 198240256 94.5G f W95 Ext'd (LBA)
/dev/sda5 36202496 234440703 198238208 94.5G 7 HPFS/NTFS/exFAT
Disk /dev/sde: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [...]
Device Start End Sectors Size Type
/dev/sde1 34 262177 262144 128M Microsoft reserved
/dev/sde2 264192 7579594751 7579330560 3.5T Microsoft basic data
/dev/sde3 7579594752 7611598847 32004096 15.3G Linux swap
/dev/sde4 7611600896 7809839103 198238208 94.5G Microsoft basic data
Partition 1 does not start on physical sector boundary.
$ sudo parted /dev/sda5 unit s print
Model: Unknown (unknown)
Disk /dev/sda5: 198238208s
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0s 198238207s 198238208s ntfs
$ sudo parted /dev/sde4 unit s print
Model: Unknown (unknown)
Disk /dev/sde4: 198238208s
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0s 198238207s 198238208s ntfs
$ sudo blkid
[reports them both as type ntfs, but I don't post UUIDs due to paranoia]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1581314
Title:
gparted crashes when copying ntfs partition
Status in gparted package in Ubuntu:
Confirmed
Bug description:
1) $ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
2) $ apt-cache policy gparted
gparted:
Installed: 0.25.0-1
Candidate: 0.25.0-1
Version table:
*** 0.25.0-1 500
500 http://ph.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
3) Copying ntfs partition from one disk to another disk should not
crash Gparted.
4) Running sudo gparted from terminal to capture error messages. After
the command ntfsclone has completed but before the dialog box
indicates success, Gparted crashes with this error.
(gpartedbin:21478): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_M_replace_aux
Trace/breakpoint trap (core dumped)
Checking after the crash, the partition seems to have been
successfully copied, despite the crash. Does not crash when copying
ext4.
...
UPDATE:
can confirm this also happens in Ubuntu 14.04
1) $ lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04
2) $ apt-cache policy gparted
gparted:
Installed: 0.18.0-1
Candidate: 0.18.0-1
Version table:
*** 0.18.0-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
...
A series messages like these also appear while gparted is running:
(gpartedbin:4207): GLib-CRITICAL **: Source ID 4198 was not found when
attempting to remove it
(gpartedbin:4207): GLib-CRITICAL **: Source ID 4197 was not found when attempting to remove it
...
And then finally after completion of ntfsclone the same error:
(gpartedbin:4207): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_M_replace_aux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1581314/+subscriptions
More information about the foundations-bugs
mailing list