MySQL throws *** glibc detected *** /usr/libexec/mysqld: double free or corruption when running with 'skip-grant-tables' option

Created:

2017-06-17 17:12:02 UTC

Modified:

2017-08-16 17:37:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

MySQL throws *** glibc detected *** /usr/libexec/mysqld: double free or corruption when running with 'skip-grant-tables' option

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Option skip-grant-tables in enabled in /etc/my.cnf :

# grep skip-grant-tables /etc/my.cnf
skip-grant-tables

Periodically in server console and in /var/log/mysql/error.log the following appears:

*** glibc detected *** /usr/libexec/mysqld: double free or corruption (fasttop): 0x00007f97d0004a40 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75f4e)[0x7f97f1799f4e]
/lib64/libc.so.6(+0x78cad)[0x7f97f179ccad]
/usr/libexec/mysqld(_ZN16Security_context7destroyEv+0xb4)[0x562ba4]
/usr/libexec/mysqld(_ZN3THDD1Ev+0x13d)[0x5667bd]
/usr/libexec/mysqld(_ZN3THDD0Ev+0x9)[0x566b99]
/usr/libexec/mysqld(_Z10unlink_thdP3THD+0xfa)[0x51883a]
/usr/libexec/mysqld(_Z29one_thread_per_connection_endP3THDb+0x16)[0x5188a6]
/usr/libexec/mysqld(_Z24do_handle_one_connectionP3THD+0x139)[0x621af9]
/usr/libexec/mysqld(handle_one_connection+0x5b)[0x621bdb]
/lib64/libpthread.so.0(+0x7aa1)[0x7f97f3309aa1]
/lib64/libc.so.6(clone+0x6d)[0x7f97f180c93d]

At the same time MySQL service gets restarted.

MySQL package is installed from Atomic repository:

# rpm -qa | grep mysql
mysql-5.5.54-36.el6.art.x86_64

Cause

Bug in Atomic package of MySQL. It was fixed in mysql-5.5.54-1199

Resolution

Either remove the skip-grant-tables option from /etc/my.cnf :

# grep skip-grant-tables /etc/my.cnf
#skip-grant-tables

Or update the MySQL package to mysql-5.5.54-1199 :

# yum update mysql
Have more questions? Submit a request
Please sign in to leave a comment.