After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595309 - Gparted crashes after trying to format iPod shuffle 2nd generration
Gparted crashes after trying to format iPod shuffle 2nd generration
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.4.3
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
: 617402 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-15 20:26 UTC by Ondra Pelech
Modified: 2010-05-01 21:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
missing output file (8.50 KB, application/octet-stream)
2009-09-15 22:20 UTC, Ondra Pelech
Details

Description Ondra Pelech 2009-09-15 20:26:54 UTC
I launched GParted, with my iPod mounted and tried to format it, but it crashed with following output.
Comment 1 Curtis Gedak 2009-09-15 22:08:19 UTC
Ondra, the portion of this message with the "following output".  Appears to be missing.

Would you be able to retry the problem with the latest version of GParted (currently 0.4.6) and post the results here?

Several Live CD's contain GParted 0.4.6 including the GParted Live distribution available on the GParted site.

As a heads up GParted currently only works with sector sizes of 512 bytes.  If I recall many iPods use larger sector sizes such as 2048 bytes, so you might need to use a different tool if you need a larger sector size.
Comment 2 Ondra Pelech 2009-09-15 22:20:51 UTC
Created attachment 143252 [details]
missing output file
Comment 3 Ondra Pelech 2009-09-15 22:21:22 UTC
i will try it, but it may take a while
Comment 4 Curtis Gedak 2009-09-15 22:27:17 UTC
GParted uses an underlying library called libparted from the parted project to detect and manipulate partition tables.  From the stack track I can see that libparted 1.8.8 was used and does not properly support sector sizes other than 512 bytes.

Parted 1.9.0 might handle this situation better.  Both gparted-0.4.6 and parted-1.9.0 are available on the System Rescue CD v1.3.0 which is available at:
     http://www.sysresccd.org/Download
Comment 5 Javier Jardón (IRC: jjardon) 2009-12-02 23:32:02 UTC
Set to UNCONFIRMED again as Ondra replied your question
Comment 6 Curtis Gedak 2010-01-16 19:00:55 UTC
A change has been committed to the GNOME repository to avoid crashes by ignoring devices with sector size > 512 bytes.

The relevant git commit can be viewed at the following link:
http://git.gnome.org/browse/gparted/commit/?id=3dd34af909907577227341437fd33fea0c37cce4

This is not an ideal solution because devices with sector sizes greater than 512 bytes are silently ignored from a graphical interface perspective. Only if the user starts gparted from the command line will the "ignoring device" message be seen.

In my opinion this short term solution of ignoring these devices is still better than a gparted crash which might also result in data loss.

A new bug #607165 has been created to add support for devices with sector sizes > 512 bytes.

The above committed change will be included in the next release of GParted (0.5.1).

Closing this bug.
Comment 7 Curtis Gedak 2010-05-01 21:19:42 UTC
*** Bug 617402 has been marked as a duplicate of this bug. ***