Description of problem: Since the update of gperftools-libs from 2.0.3 to 2.0.11 we are getting a symbol lookup error. For instance when using the library in mysql 5.5, we see the following in /var/log/mysqld.log: nohup: symbol lookup error: /usr/lib64/libtcmalloc_minimal.so.4: undefined symbol: pthread_atfork Version-Release number of selected component (if applicable): 2.0.11 (could be in earlier version as well). How reproducible: Always. Configure tcmalloc as library in my.cnf using Steps to Reproduce: Alternative 1 (using mysql): 1. configure in /etc/my.cnf (using oracle mysql 5.5 version) malloc-lib=/usr/lib64/libtcmalloc_minimal.so.4 2. restart mysql: /etc/init.d/mysql restart 3. mysql will refuse to start. Examine /var/log/mysqld.log Alternative 2 (easier): 1. In a bash shell: export LD_PRELOAD=/usr/lib64/libtcmalloc.so.4 2. cat ~/.bashrc # any file will do. 3. screen will show symbol lookup error for pthread_atfork. Actual results: Symbol lookup error. Expected results: Alternative 1: mysql starts Alternative 2: output of file is shown. Additional info: This broke after a recent update of the system packages. The problem manifests itself with the most recent packages of centos 6.4 and epel.
I can confirm that rolling back to version 2.0-3 from 2.0-11 fixes the issue so it is indeed related to gperftools-libs only. I have worked around the issue by creating my own RPM that obsolets the gperftools-libs RPM and repackages the 2.0-3 files.
We run MySQL with tcmalloc and hit this today. Thankfully in a pre-production environment. Installing MySQL and gperftools-libs on a fresh system results in a non-starting MySQL instance. Downgrading also worked for us.
gperftools-2.0-11.el6.3 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/gperftools-2.0-11.el6.3
Package gperftools-2.0-11.el6.3: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing gperftools-2.0-11.el6.3' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-10836/gperftools-2.0-11.el6.3 then log in and leave karma (feedback).
Package gperftools-2.0-11.el6.3, libunwind-1.1-2.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing gperftools-2.0-11.el6.3 libunwind-1.1-2.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-10836/libunwind-1.1-2.el6,gperftools-2.0-11.el6.3 then log in and leave karma (feedback).
gperftools-2.0-11.el6.3, libunwind-1.1-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.