Bug #65003 *** glibc detected *** /usr/local/mysql/bin/mysqld: double free or corruption
Submitted: 17 Apr 2012 8:48 Modified: 19 May 2012 3:51
Reporter: Umair Shahid Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: General Severity:S1 (Critical)
Version:5.5.9 OS:Other (CentOS 5.3)
Assigned to: CPU Architecture:Any
Tags: corruption, error, glibc, Memory

[17 Apr 2012 8:48] Umair Shahid
Description:
Following are the messages received in error log file:

*** glibc detected *** /usr/local/mysql/bin/mysqld: double free or corruption (!prev): 0x00002ab225fd0330 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3267a71ce2]
/lib64/libc.so.6(cfree+0x8c)[0x3267a7590c]
/usr/local/mysql/lib/plugin/data_cleansing.so(data_cleansing_deinit+0x21)[0x2ab1f5ebc6d7]
/usr/local/mysql/bin/mysqld(_ZN11udf_handler7cleanupEv+0x33)[0x6b7303]
/usr/local/mysql/bin/mysqld(_ZN13Item_udf_func7cleanupEv+0x18)[0x6b73a8]
/usr/local/mysql/bin/mysqld(_ZN11Query_arena10free_itemsEv+0x30)[0x5487f0]
/usr/local/mysql/bin/mysqld(_ZN3THD19cleanup_after_queryEv+0xa6)[0x548f56]
/usr/local/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1341)[0x57a641]
/usr/local/mysql/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x337)[0x60dc37]
/usr/local/mysql/bin/mysqld(handle_one_connection+0x54)[0x60dca4]
/lib64/libpthread.so.0[0x3268606367]
/lib64/libc.so.6(clone+0x6d)[0x3267ad2f7d]
======= Memory map: ========
00400000-00ce2000 r-xp 00000000 08:01 10421935                           /usr/local/mysql-5.5.9-linux2.6-x86_64/bin/mysqld
00de1000-00ef7000 rw-p 008e1000 08:01 10421935                           /usr/local/mysql-5.5.9-linux2.6-x86_64/bin/mysqld
00ef7000-00f22000 rw-p 00ef7000 00:00 0 
0a5b5000-3ded4000 rw-p 0a5b5000 00:00 0                                  [heap]
40019000-4001a000 ---p 40019000 00:00 0 
4001a000-4005a000 rw-p 4001a000 00:00 0 
4006f000-40070000 ---p 4006f000 00:00 0

##### Complete log of this error is copied in private comment ###

Please let me know you need more information.

How to repeat:
No idea.

Suggested fix:
N/A
[17 Apr 2012 10:38] Valeriy Kravchuk
Please, check if the same problem still happens with a newer version, 5.5.23.
[17 Apr 2012 10:40] Valeriy Kravchuk
Does this happen on slave server? See Bug #62942 also.
[17 Apr 2012 11:33] MySQL Verification Team
your UDF just crashes here.. maybe some bugs in data_cleansing.so ?
[18 Apr 2012 17:44] Umair Shahid
No it does not happen on a slave server.
[20 May 2012 1: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".