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 733655 - (Ck) Memory Corruption with FAT32
(Ck)
Memory Corruption with FAT32
Status: RESOLVED INCOMPLETE
Product: gparted
Classification: Other
Component: application
0.18.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2014-07-24 10:03 UTC by christoph.kuhr
Modified: 2016-10-09 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description christoph.kuhr 2014-07-24 10:03:13 UTC
I dd'd a 16GB image file to a MicroSD card of 8GB.


partition FS    Label    Size    Used    Unused   flags
/dev/sdb1 FAT32 RECOVERY  1.34GiB  1.28GiB 60.08MiB lba

Checking the RECOVERY FAT32 file system, gparted crashes and returns the following error:

*** Error in `/usr/sbin/gpartedbin': malloc(): memory corruption: 0x00000000020fb390 ***


partition FS    Label    Size    Used    Unused   flags
/dev/sdb5 FAT32 BOOT     60.00GiB 25.93MiB 34.07MiB lba

Checking the BOOT FAT32 file system returns the following error:
- grow file system to fill the partition
    using libparted
- libparted messages
    "GNU Parted cannot resize this partition to this size. We're working on it!"
Comment 1 Curtis Gedak 2014-07-24 16:18:51 UTC
Thank you for your interest in improving GParted.

The first "memory corruption" issue looks like a problem in the gpartedbin executable.  The latest gparted-0.19.1 contains fixes for two problems that could cause a crash.

Would you please retry with GParted 0.19.1?

One way to do this is to boot from media containing GParted Live.
http://gparted.org/livecd.php


The second "GNU Parted cannot resize this partition to this size" message is related to the libparted library from the Parted project.

Do you know what size of the FAT32 file system is prior to growing?

The reason I mention this is that libparted is unable to resize FAT file systems that are less than 256 MiB.  See:
Bug 649324 - failure to move / resize fat32 partitions less than 256 MB in size
Comment 2 Curtis Gedak 2016-10-09 17:21:22 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!