Bug #21655 mysqldump - *** glibc detected *** double free or corruption
Submitted: 15 Aug 2006 14:17 Modified: 5 Oct 2006 9:34
Reporter: Mike Harris Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S2 (Serious)
Version:5.0.15 OS:Linux (Centos 4.3)
Assigned to: CPU Architecture:Any

[15 Aug 2006 14:17] Mike Harris
Description:
I am having a problem dumping a database. I'm using;

/usr/local/mysql/bin/mysqldump --opt -u user -ppass database

I get;

*** glibc detected *** double free or corruption (!prev): 0x001c5800 ***

part way through the dump and it needs a restart to make mysql responsive
again...

this is from the Redhat site;

The version of glibc provided with CentOS 4.3 performs additional internal
sanity checks to prevent and detect data corruption as early as possible. By
default, should corruption be detected, a message similar to the following will
be displayed on standard error (or logged via syslog if stderr is not open):

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

By default, the program that generated this error will also be killed; however,
this (and whether or not an error message is generated) can be controlled via
the MALLOC_CHECK_ environment variable. The following settings are supported:

0 Do not generate an error message, and do not kill the program
1 Generate an error message, but do not kill the program
2 Do not generate an error message, but kill the program
3 Generate an error message and kill the program

Note:

If MALLOC_CHECK_ is explicitly set a value other than 0, this causes glibc to
perform more tests that are more extensive than the default, and may impact
performance.Should you have a program from a third party ISV that triggers these
corruption checks and displays a message, you should file a defect report with
the application's vendor, since this indicates a serious bug.

Mysql 5.0.15, Apache/2.0.55, php 5.0.5, Centos4.3

How to repeat:
Dump my database.
[26 Aug 2006 9:51] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.24, and inform about the results.
[4 Sep 2006 18:04] Mike Harris
As soon as I am able to upgrade I will. The forums not much help with the problems I am having upgrading...

As a aside, the mysqldump works on an AMD Athlon machine but not on a Intel Xeon machine (both running same OS)...
[5 Sep 2006 9:34] Valeriy Kravchuk
> As soon as I am able to upgrade I will. The forums not much help with the
> problems I am having upgrading...

Please, reopen this bug report when you'll repeat the results described with 5.0.24a.

> As a aside, the mysqldump works on an AMD Athlon machine but not on a Intel Xeon
> machine (both running same OS)...

Please, send URL for the binaries used. Do you use 64-bit version of OS on Xeon?
[5 Oct 2006 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".