Bug 141557

Summary: Parted crashes due to glibc double free or corruption detection
Product: [Fedora] Fedora Reporter: Srihari Vijayaraghavan <noldoli>
Component: partedAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 3CC: clausen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-20 17:06:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Srihari Vijayaraghavan 2004-12-02 00:10:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
While trying to create a new partition (logical) using parted, glibc
detects double free or corruption in it and it crashes.

Version-Release number of selected component (if applicable):
parted-1.6.15-5

How reproducible:
Always

Steps to Reproduce:
1. parted /dev/hda
2. mkpart
3. Select default option "logical"
4. Select default option "ext2"
    

Actual Results:  *** glibc detected *** double free or corruption:
0x08532518
(That number varies between each run.)

Expected Results:  Parted may not crash.

Additional info:

[root@[...snip...] ~]# uname -r
2.6.9-1.681_FC3
root@[...snip...] ~]# parted /dev/hda
GNU Parted 1.6.15
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-38162.250 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  19085.031  primary   ntfs        boot
2      19085.032  19187.006  primary   ext3
3      19187.007  24183.786  primary   ext3
4      24183.787  38162.219  extended
5      24183.817  26686.098  logical   ext3
6      26686.129  27682.316  logical   ext3
7      27682.348  28678.535  logical   ext2
8      28678.566  29674.753  logical   ext3
9      29674.784  30670.971  logical   ext3
10     30671.002  31180.847  logical   linux-swap
(parted) mkpart
(ition type?  [logical]
� system type?  [ext2]?
*** glibc detected *** double free or corruption: 0x08532518 ***
Aborted

Comment 1 Jeremy Katz 2004-12-20 17:06:54 UTC
This is fixed in parted 1.6.19