root@acceptance-replication-ubuntu1404-node1:~# pstree -a init ├─cron ├─dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 ├─dhclient -1 -v -pf /run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1 ├─getty -8 38400 console ├─mysqld_safe /usr/bin/mysqld_safe │ └─mysqld --basedir=/usr/ --datadir=/var/lib/mysql --plugin-dir=/usr//lib/mysql/plugin--user=mysql │ └─32*[{mysqld}] ├─ntpd -p /var/run/ntpd.pid -g -u 102:106 ├─rsyslogd │ └─3*[{rsyslogd}] ├─sshd -D │ └─sshd │ └─sshd │ └─bash -c... │ └─sudo -S bash -c... │ └─bash -c... │ └─mysql -NAB -uroot -px xxxxxxxxx -e RESET MASTER ├─systemd-udevd --daemon ├─upstart-file-br --daemon ├─upstart-socket- --daemon └─upstart-udev-br --daemon root@acceptance-replication-ubuntu1404-node1:~# date Tue Jun 26 09:02:51 UTC 2018 root@acceptance-replication-ubuntu1404-node1:~# /usr/bin/mysql -u'root' -p'!password$$' -e 'SHOW FULL PROCESSLIST;' +----+-------------+-----------+------+---------+------+--------------------------+-----------------------+----------+ | Id | User | Host | db | Command | Time | State | Info | Progress | +----+-------------+-----------+------+---------+------+--------------------------+-----------------------+----------+ | 1 | system user | | NULL | Daemon | NULL | InnoDB purge coordinator | NULL | 0.000 | | 2 | system user | | NULL | Daemon | NULL | InnoDB purge worker | NULL | 0.000 | | 3 | system user | | NULL | Daemon | NULL | InnoDB purge worker | NULL | 0.000 | | 4 | system user | | NULL | Daemon | NULL | InnoDB purge worker | NULL | 0.000 | | 5 | system user | | NULL | Daemon | NULL | InnoDB shutdown handler | NULL | 0.000 | | 79 | root | localhost | NULL | Query | 2866 | Init | RESET MASTER | 0.000 | | 82 | root | localhost | NULL | Query | 0 | Init | SHOW FULL PROCESSLIST | 0.000 | +----+-------------+-----------+------+---------+------+--------------------------+-----------------------+----------+ root@acceptance-replication-ubuntu1404-node1:~# gdb^C root@acceptance-replication-ubuntu1404-node1:~# ps aux | grep mysqld root 5331 0.0 0.3 21128 3584 ? S 08:15 0:00 /bin/bash /usr/bin/mysqld_safe mysql 5566 0.0 11.5 2515884 129672 ? Sl 08:15 0:01 /usr/sbin/mysqld --basedir=/usr/ --datadir=/var/lib/mysql --plugin-dir=/usr//lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/mysqld.log --pid-file=/var/lib/mysql/mysql.pid --socket=/var/lib/mysql/mysql.sock --port=3306 root 6998 0.0 0.1 13420 1644 ? S+ 09:04 0:00 grep --color=auto mysqld root@acceptance-replication-ubuntu1404-node1:~# sudo gdb --pid=5566 GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 5566 Reading symbols from /usr/sbin/mysqld...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libaio.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libaio.so.1 Reading symbols from /usr/lib/x86_64-linux-gnu/libnuma.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/x86_64-linux-gnu/libnuma.so.1 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1 Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1 Reading symbols from /lib/x86_64-linux-gnu/libsystemd-daemon.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libsystemd-daemon.so.0 Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libssl.so.1.0.0 Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done. done. [New LWP 6994] [New LWP 6533] [New LWP 5641] [New LWP 5597] [New LWP 5596] [New LWP 5595] [New LWP 5594] [New LWP 5593] [New LWP 5592] [New LWP 5591] [New LWP 5590] [New LWP 5589] [New LWP 5588] [New LWP 5587] [New LWP 5586] [New LWP 5585] [New LWP 5584] [New LWP 5583] [New LWP 5582] [New LWP 5581] [New LWP 5579] [New LWP 5578] [New LWP 5577] [New LWP 5576] [New LWP 5575] [New LWP 5574] [New LWP 5573] [New LWP 5572] [New LWP 5571] [New LWP 5570] [New LWP 5569] [New LWP 5568] [New LWP 5567] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0 Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19...done. done. Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1 Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libgcc_s.so.1...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1 Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2 Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1 Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2 Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.19.so...done. done. Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2 0x00007ff052ddac9d in poll () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) thread apply all back Thread 34 (Thread 0x7ff05108f700 (LWP 5567)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000557971803627 in ?? () #2 0x00007ff0536c5184 in start_thread (arg=0x7ff05108f700) at pthread_create.c:312 #3 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 33 (Thread 0x7ff042c7c700 (LWP 5568)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000055797171c2f6 in ?? () #2 0x0000557971713c5e in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7ff042c7c700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 32 (Thread 0x7ff020a58700 (LWP 5569)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff020a58700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 31 (Thread 0x7ff00fcff700 (LWP 5570)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00fcff700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 30 (Thread 0x7ff00f4fe700 (LWP 5571)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00f4fe700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 29 (Thread 0x7ff00ecfd700 (LWP 5572)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () ---Type to continue, or q to quit--- #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00ecfd700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 28 (Thread 0x7ff00e4fc700 (LWP 5573)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00e4fc700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 27 (Thread 0x7ff00dcfb700 (LWP 5574)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00dcfb700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 26 (Thread 0x7ff00d4fa700 (LWP 5575)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00d4fa700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 25 (Thread 0x7ff00ccf9700 (LWP 5576)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00ccf9700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 24 (Thread 0x7ff00c4f8700 (LWP 5577)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () ---Type to continue, or q to quit--- #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00c4f8700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 23 (Thread 0x7ff00bcf7700 (LWP 5578)): #0 0x00007ff05497b58a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005579714debdb in ?? () #2 0x00005579714df1a2 in ?? () #3 0x00005579714e64b1 in ?? () #4 0x000055797166f386 in ?? () #5 0x000055797157a198 in ?? () #6 0x00007ff0536c5184 in start_thread (arg=0x7ff00bcf7700) at pthread_create.c:312 #7 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 22 (Thread 0x7ff00b4f6700 (LWP 5579)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x000055797161900d in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff00b4f6700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 21 (Thread 0x7ff00acf5700 (LWP 5581)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x00005579714bb97f in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff00acf5700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 20 (Thread 0x7ff00a4f4700 (LWP 5582)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x0000557971576c1c in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff00a4f4700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7ff009cf3700 (LWP 5583)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x0000557971576550 in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff009cf3700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7ff0094f2700 (LWP 5584)): ---Type to continue, or q to quit--- #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x00005579716612b3 in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff0094f2700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7ff008cf1700 (LWP 5585)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00005579714e7873 in ?? () #2 0x00005579714e7aa1 in ?? () #3 0x00005579715c5776 in ?? () #4 0x00005579716abdf5 in ?? () #5 0x00007ff0536c5184 in start_thread (arg=0x7ff008cf1700) at pthread_create.c:312 #6 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7ff02147a700 (LWP 5586)): #0 0x00007ff0536ccb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00005579714e7fb0 in ?? () #2 0x0000557971577c28 in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7ff02147a700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 15 (Thread 0x7feffbfff700 (LWP 5587)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () #2 0x0000557971578fcc in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7feffbfff700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7feffb7fe700 (LWP 5588)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () #2 0x0000557971572c0b in ?? () #3 0x00005579715783fc in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7feffb7fe700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7feffaffd700 (LWP 5589)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () #2 0x0000557971572c0b in ?? () #3 0x00005579715783fc in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7feffaffd700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7feffa7fc700 (LWP 5590)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () ---Type to continue, or q to quit--- #2 0x0000557971572c0b in ?? () #3 0x00005579715783fc in ?? () #4 0x00007ff0536c5184 in start_thread (arg=0x7feffa7fc700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 11 (Thread 0x7feff9ffb700 (LWP 5591)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () #2 0x0000557971612d47 in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7feff9ffb700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7feff97fa700 (LWP 5592)): #0 0x00007ff0536ccb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00005579714e7fb0 in ?? () #2 0x00005579715fbb62 in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7feff97fa700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7feff8ff9700 (LWP 5593)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714e7da1 in ?? () #2 0x000055797160b332 in ?? () #3 0x00007ff0536c5184 in start_thread (arg=0x7feff8ff9700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7fefdffff700 (LWP 5594)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579714675db in ?? () #2 0x00007ff0536c5184 in start_thread (arg=0x7fefdffff700) at pthread_create.c:312 #3 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7ff050360700 (LWP 5595)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000557971386ecf in binlog_background_thread () #2 0x00007ff0536c5184 in start_thread (arg=0x7ff050360700) at pthread_create.c:312 #3 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7ff050316700 (LWP 5596)): #0 0x00007ff0536cd0c1 in do_sigwait (sig=0x7ff050315da0, set=) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:60 #1 __sigwait (set=0x7ff050315e00, sig=0x7ff050315da0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97 #2 0x000055797100a69b in signal_hand () #3 0x00007ff0536c5184 in start_thread (arg=0x7ff050316700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7ff0502cc700 (LWP 5597)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000557971027623 in handle_slave_background () #2 0x00007ff0536c5184 in start_thread (arg=0x7ff0502cc700) at pthread_create.c:312 ---Type to continue, or q to quit--- #3 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7ff050282700 (LWP 5641)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055797137af98 in ?? () #2 0x00005579713889b0 in MYSQL_BIN_LOG::reset_logs(THD*, bool, rpl_gtid*, unsigned int, unsigned long) () #3 0x00005579710e9ad4 in reset_master(THD*, rpl_gtid*, unsigned int, unsigned long) () #4 0x00005579711baa28 in reload_acl_and_cache(THD*, unsigned long long, TABLE_LIST*, int*) () #5 0x00005579710c6e45 in mysql_execute_command(THD*) () #6 0x00005579710cecc2 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) () #7 0x00005579710d17cf in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) () #8 0x00005579710d263e in do_command(THD*) () #9 0x00005579711a0dba in do_handle_one_connection(CONNECT*) () #10 0x00005579711a0edd in handle_one_connection () #11 0x00007ff0536c5184 in start_thread (arg=0x7ff050282700) at pthread_create.c:312 #12 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7fefdf7fe700 (LWP 6533)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00005579711ebc55 in Ack_receiver::run() () #2 0x00005579711ebc89 in ack_receive_handler () #3 0x00007ff0536c5184 in start_thread (arg=0x7fefdf7fe700) at pthread_create.c:312 #4 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7ff050238700 (LWP 6994)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000055797100bd5e in one_thread_per_connection_end(THD*, bool) () #2 0x00005579711a0d46 in do_handle_one_connection(CONNECT*) () #3 0x00005579711a0edd in handle_one_connection () #4 0x00007ff0536c5184 in start_thread (arg=0x7ff050238700) at pthread_create.c:312 #5 0x00007ff052de803d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7ff054d8f780 (LWP 5566)): #0 0x00007ff052ddac9d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x0000557971012d6f in handle_connections_sockets() () #2 0x00005579710143a0 in mysqld_main(int, char**) () #3 0x00007ff052d0bf45 in __libc_start_main (main=0x557970fec350
, argc=9, argv=0x7ffda4333dc8, init=, fini=, rtld_fini=, stack_end=0x7ffda4333db8) at libc-start.c:287 #4 0x00005579710073fd in _start () (gdb) (gdb) quit A debugging session is active. Inferior 1 [process 5566] will be detached. Quit anyway? (y or n) y Detaching from program: /usr/sbin/mysqld, process 5566 root@acceptance-replication-ubuntu1404-node1:~#