[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322746: glibc detected *** double free or corruption

tags 304604 - experimental
severity 304604 serious
reassing 322746 perl
merge 322746 304604

On Fri, Aug 12, 2005 at 05:24:10PM +0200, martin f krafft wrote:

> # dpkg --configure -a
> Setting up locales (2.3.5-3) ...
> Generating locales (this might take a while)...
> [...]
> Generation complete.
> *** glibc detected *** double free or corruption (!prev): 0x0873f7f0 ***
> dpkg: error processing locales (--configure):
>  subprocess post-installation script killed by signal (Aborted)

This is the same as #304604: locales uses debconf, debconf uses perl,
and perl has heap corruption in its exit() path (more specifically, the
PerlIO code seems to call fclose() twice on the same file handle).

The new glibc has more draconian heap checking and calls abort() when it
detects corruption, which causes the post-inst script to die (due to
"set -e").

Now that glibc 2.3.5 is in unstable this will start to hurt.


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: