Corresponding thd was fround from global_thread_list:
(gdb) p ((THD*)0x2fffc60)->thread_id
$19 = 251
(gdb) p ((THD*)0x2fffc60)->proc_info
$20 = 0xef2a72 "login"
However, gdb thread listing didn't show any thread that would have been handling the connection and the main thread was already polling acceptor socket.
Regression test for lp:1208493 got stuck in:
starting node0, node1... local1/ galera/ lib/libgalera_ smm.so address = gcomm:/ /?gmcast. listen_ addr=tcp: //0.0.0. 0:10011
140408 04:29:00.315 Job 'start_cmd' on 'local1' complete in 7 seconds,
140408 04:29:07.569 Job 'start_cmd' on 'local2' complete in 7 seconds,
wsrep_provider = /tmp/galera/
wsrep_cluster_
starting variable setters...
dropping and joining node...
Dropper Done
Waiting load to end (28700)
Running 'netstat -nat' revealed that there was ongoing connection to mysqld instance:
tcp 0 0 10.0.2.15:3311 10.0.2.15:56480 ESTABLISHED
Also mysql processlist listed the connection:
| 251 | unauthenticated user | connecting host | NULL | Connect | NULL | login | NULL |
Corresponding thd was fround from global_thread_list:
(gdb) p ((THD*) 0x2fffc60) ->thread_ id 0x2fffc60) ->proc_ info
$19 = 251
(gdb) p ((THD*)
$20 = 0xef2a72 "login"
However, gdb thread listing didn't show any thread that would have been handling the connection and the main thread was already polling acceptor socket.