Bug 137533 - *** glibc detected *** double free or corruption: 0x000000000079d4e5
Summary: *** glibc detected *** double free or corruption: 0x000000000079d4e5
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
: 139488 (view as bug list)
Depends On:
Blocks: FC3Blocker
TreeView+ depends on / blocked
 
Reported: 2004-10-29 11:11 UTC by Tim Waugh
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-06-21 13:09:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ks-auto.cfg (1.56 KB, text/plain)
2004-10-29 14:41 UTC, Tim Waugh
no flags Details
anaconda-free.patch (759 bytes, patch)
2004-11-02 11:22 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2004-10-29 11:11:51 UTC
Description of problem:
I get this message from a kickstart install (from HD) of FC3 rc2:

*** glibc detected *** double free or corruption: 0x000000000079d4e5

Then the installation aborts.  VT3 says:

[...]
* Found hd stage2
* Copying /tmp/loopimage//Fedora/base/stage2.img in RAM as stage 2
* copied 77369344 bytes to /tmp/ramfs/stage2.img (complete)
* mntloop loop1 on /mnt/runtime as /tmp/ramfs/stage2.img fd is 14
* umounting loopback /tmp/loopimage loop0

Version-Release number of selected component (if applicable):
anaconda-10.1.0.2-1.x86_64.rpm

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tim Waugh 2004-10-29 14:01:34 UTC
Also happens with FC3-3.4.

Comment 2 Tim Waugh 2004-10-29 14:41:08 UTC
Created attachment 105939 [details]
ks-auto.cfg

Here is the kickstart file I'm using.

Comment 4 Tim Waugh 2004-11-01 10:58:50 UTC
Same happens with RC5, except the address is 0x79d565.

Can anyone else reproduce this, or is it just me?

Comment 5 Tim Waugh 2004-11-02 11:16:37 UTC
Hmm, I might have found the problem -- testing a fix.

Comment 6 Tim Waugh 2004-11-02 11:22:47 UTC
Created attachment 106064 [details]
anaconda-free.patch

Here is the fix.  We are passing ptr+5 to free() instead of ptr.

Comment 7 Tim Waugh 2004-11-02 11:58:48 UTC
I've checked in this fix to HEAD and to fc3-branch.

Comment 8 Jeremy Katz 2004-11-02 14:32:24 UTC
Thanks Tim.  Probably won't get into FC3 unless we do a respin at this
point (workaround is to remove /dev from your device name)

Comment 9 Jeremy Katz 2004-11-16 17:09:25 UTC
*** Bug 139488 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.