Skip to content

Instantly share code, notes, and snippets.

@ronin13
Created May 6, 2012 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ronin13/c4a76c2342c50088d6bd to your computer and use it in GitHub Desktop.
Save ronin13/c4a76c2342c50088d6bd to your computer and use it in GitHub Desktop.
(gdb) break shutdown
Breakpoint 1 at 0x7f7bed13fd40
(gdb) cont
Continuing.
[New Thread 0x7f7bec0a4700 (LWP 1728)]
Program received signal SIGSTOP, Stopped (signal).
0x00007f7bed135613 in poll () from /lib64/libc.so.6
(gdb) cont
Continuing.
Program received signal SIGCONT, Continued.
[Switching to Thread 0x7f7be3b0e700 (LWP 1512)]
0x00007f7bedcb0614 in ?? () from /lib64/libaio.so.1
(gdb)
Continuing.
Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread 0x7f7bec0a4700 (LWP 1728)]
0x00007f7bedebf4ed in read () from /lib64/libpthread.so.0
(gdb) bt
#0 0x00007f7bedebf4ed in read () from /lib64/libpthread.so.0
#1 0x000000000051c292 in my_real_read (net=0x18a7640, complen=0x7f7bec0a3dc8) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/net_serv.cc:832
#2 0x000000000051c59c in my_net_read (net=0x18a7640) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/net_serv.cc:1029
#3 0x000000000058bd18 in do_command (thd=0x18a7400) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_parse.cc:734
#4 0x0000000000623a97 in do_handle_one_connection (thd_arg=<value optimized out>) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_connect.cc:1433
#5 0x0000000000623bd1 in handle_one_connection (arg=0x18a7400) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_connect.cc:1340
#6 0x00007f7bedeb87f1 in start_thread () from /lib64/libpthread.so.0
#7 0x00007f7bed13eccd in clone () from /lib64/libc.so.6
(gdb) cont
Continuing.
Program received signal SIGSTOP, Stopped (signal).
0x00007f7bedebf4ed in read () from /lib64/libpthread.so.0
(gdb)
Continuing.
Breakpoint 1, 0x00007f7bed13fd40 in shutdown () from /lib64/libc.so.6
(gdb) bt
#0 0x00007f7bed13fd40 in shutdown () from /lib64/libc.so.6
#1 0x0000000000986a3e in vio_close (vio=0x192df70) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/vio/viosocket.c:292
#2 0x000000000055c201 in THD::close_active_vio (this=0x18a7400) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_class.cc:2127
#3 0x0000000000565247 in THD::disconnect (this=0x18a7400) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_class.cc:1727
#4 0x0000000000511112 in close_connection (thd=0x18a7400, sql_errno=0) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/mysqld.cc:2039
#5 0x0000000000623ab4 in do_handle_one_connection (thd_arg=<value optimized out>) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_connect.cc:1439
#6 0x0000000000623bd1 in handle_one_connection (arg=0x18a7400) at /usr/src/debug/Percona-Server-5.5.22-rel25.2/Percona-Server-5.5.22-rel25.2/sql/sql_connect.cc:1340
#7 0x00007f7bedeb87f1 in start_thread () from /lib64/libpthread.so.0
#8 0x00007f7bed13eccd in clone () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment