$ gdb --pid=2483
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 2483
Reading symbols from /usr/sbin/mysqld...Reading symbols from /usr/lib/debug/usr/sbin/mysqld.debug...done.
done.
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib/debug/usr/sbin/mysqld.debug]
(gdb)
I was able to verify this bug on CentOS release 5.11 (Final):
$ rpm -qa |grep -i 'percona\|gdb' Server- 56-debuginfo- 5.6.19- rel67.0. el5 release- 0.1-3 Server- client- 56-5.6. 19-rel67. 0.el5 Server- server- 56-5.6. 19-rel67. 0.el5 1-45.el5. centos Server- tokudb- 56-5.6. 19-rel67. 0.el5 Server- shared- 56-5.6. 19-rel67. 0.el5
gdbm-1.8.0-28.el5
Percona-
gdbm-1.8.0-28.el5
percona-
Percona-
Percona-
gdb-7.0.
Percona-
Percona-
$ ps aux |grep mysqld mysqld_ safe --datadir= /var/lib/ mysql --pid-file= /var/lib/ mysql/localhost .localdomain. pid /var/lib/ mysql --plugin- dir=/usr/ lib64/mysql/ plugin --user=mysql --log-error= /var/lib/ mysql/localhost .localdomain. err --pid-file= /var/lib/ mysql/localhost .localdomain. pid
root 2388 0.0 0.1 66120 1364 ? S 09:17 0:00 /bin/sh /usr/bin/
mysql 2483 0.0 44.1 925324 453492 ? Sl 09:17 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=
root 3470 0.0 0.0 63300 796 pts/0 R+ 11:22 0:00 grep mysqld
$ gdb --pid=2483 45.el5. centos) gnu.org/ licenses/ gpl.html> redhat- linux-gnu" . www.gnu. org/software/ gdb/bugs/>. mysqld. ..Reading symbols from /usr/lib/ debug/usr/ sbin/mysqld. debug.. .done. debug/usr/ sbin/mysqld. debug]
GNU gdb (GDB) CentOS (7.0.1-
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-
For bug reporting instructions, please see:
<http://
Attaching to process 2483
Reading symbols from /usr/sbin/
done.
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib/
(gdb)