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 696810 - segfault resizing ext4 partition with gparted-0.15.0-1 iso
segfault resizing ext4 partition with gparted-0.15.0-1 iso
Status: RESOLVED DUPLICATE of bug 697727
Product: gparted
Classification: Other
Component: application
0.15.0
Other Linux
: Normal critical
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2013-03-28 20:18 UTC by Chris Bainbridge
Modified: 2013-04-29 17:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Bainbridge 2013-03-28 20:18:49 UTC
downloaded the gparted 0.15.0-1 iso, booted, resized some partitions, clicked apply, left. Came back and gparted isn't running. dmesg says:

[ 2618.502567] gpartedbin[2839]: segfault at 62b8 ip b69e4e2c sp bf890ea8 error 4 in libc-2.13.so[b6973000+147000]

So it crashed, apparently resizing an ext4 partition. Don't know if that is enough to figure out a backtrace (if not, the iso should include crash catching, symbol decoding and upload)
Comment 1 Curtis Gedak 2013-03-28 20:56:39 UTC
Can you reproduce the crash?

If so would you please describe the steps you used?

Also would you be able to provide the output from the following two commands?

   sudo fdisk -l -u

where one of the options is a lower case "L" and not the number one.

   sudo parted /path-to-your-device unit s print

where /path-to-your-device is something like /dev/sda.
Comment 2 Chris Bainbridge 2013-03-28 21:15:19 UTC
I haven't tried to reproduce yet, I wanted to check whether the data was intact first, I restarted gparted and it indicated a problem with the partition (little ! icon), I chose the fix option and rebooted, data seems to be ok still.

#  fdisk -l -u 

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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
Disk identifier: 0x00050e21

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      128519       64228+  83  Linux
/dev/sda2   *      128520    29431079    14651280    7  HPFS/NTFS/exFAT
/dev/sda3        29431080    32435234     1502077+  82  Linux swap / Solaris
/dev/sda4        32435235   488397167   227980966+  83  Linux

# parted /dev/sda unit s print
Model: ATA WDC WD2500BEVE-0 (scsi)
Disk /dev/sda: 488397168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End         Size        Type     File system     Flags
 1      63s        128519s     128457s     primary  ext2
 2      128520s    29431079s   29302560s   primary  ntfs            boot
 3      29431080s  32435234s   3004155s    primary  linux-swap(v1)
 4      32435235s  488397167s  455961933s  primary  ext4
Comment 3 Patrick Verner 2013-03-29 00:40:26 UTC
I noticed this in the e2fsprogs changelog:

   * Fixed a potential segfault in e2fsck when there is an I/O error
     while reading the superblock.

That was in the changelog for e2fsprogs-1.42.6. GParted Live is running e2fsprogs-1.42.5 I believe. So that might be the cause.
Comment 4 Curtis Gedak 2013-03-29 15:54:02 UTC
Thank you Chris for the additional information.  So far I have not been able to reproduce the problem.

And thank you Patrick for the information on a potential segfault problem in es2fsck.

At the moment I am still not sure what caused the crash,  It is interesting to note that the segfault occurred in libc, however we do not know what series of events led to this end result.
Comment 5 Curtis Gedak 2013-04-13 17:40:36 UTC
We have had at least 3 reports of crashes with GParted 0.15.0.  As such I have added a warning to the GParted download page and news page while we investigate this problem.

See also
Bug #697727 - Segfault in livecd Gparted v 0.15.0-3 when copying partition

Chris, if the problem occurs again, please attach the core dump file to this report.  We need to reproduce the problem to help isolate the cause of the crash.
Comment 6 Curtis Gedak 2013-04-16 20:07:23 UTC
Chris,

Do you recall if you resized the left-hand side, or the right-hand side of the partition?

A resize of the left-hand side would result in a combination of move left and resize operations.
Comment 7 Chris Bainbridge 2013-04-29 16:59:20 UTC
Sorry I have no idea, I set multiple operations away and came back a few hours later to find that it had failed.
Comment 8 Curtis Gedak 2013-04-29 17:02:51 UTC
No worries Chris.  I strongly suspect that the problem you encountered is the one reported in:

Bug #697727 - Segfault in GParted 0.15.0 when copying partition

As such I will mark this bug as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 697727 ***