Comment 38 for bug 617885

Present in Ubuntu 10.10

Here's how I triggered the bug.

Use the shred command to zero out a partition:

shred -vz -n 1 /dev/sda2

Running gparted then results in:

dlarochelle@sileo:~$ sudo gparted
libparted : 2.3

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_create


After manually formatting the partition using mkfs.ntfs

gparted starts up fine.


This bug is important because:
Zeroing out a partition for security reasons and then wanting to reformat it is perfectly common behavior.
SInce gparted is the default tool for formatting a partition I would expect this to work.