mysql_ping() no return with a long time
Posted by:
tao mao
Date: September 17, 2018 03:51AM
#0 0x00007fa90f7dcb8b in recv () from /lib64/libpthread.so.0
#1 0x00007fa90a623fb9 in recv (__flags=0, __n=16384, __buf=0x7fa8ec052a10, __fd=169) at /usr/include/bits/socket2.h:45
#2 inline_mysql_socket_recv (flags=0, n=16384, buf=0x7fa8ec052a10, mysql_socket=..., src_line=114, src_file=0x7fa90a697488 "/export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/vio/viosocket.c") at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/include/mysql/psi/mysql_socket.h:801
#3 vio_read (vio=0x7fa8ec04ce60, buf=0x7fa8ec052a10 "\277", size=16384) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/vio/viosocket.c:114
#4 0x00007fa90a624032 in vio_read_buff (vio=0x7fa8ec04ce60, buf=0x7fa8ec056a20 "\001", size=4) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/vio/viosocket.c:157
#5 0x00007fa90a607cd7 in net_read_raw_loop (count=4, net=0x7fa8ec04a960) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql/net_serv.cc:665
#6 net_read_packet_header (net=0x7fa8ec04a960) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql/net_serv.cc:753
#7 net_read_packet (net=0x7fa8ec04a960, complen=0x7ffde180de58) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql/net_serv.cc:812
#8 0x00007fa90a60800c in my_net_read (net=0x7fa8ec04a960) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql/net_serv.cc:889
#9 0x00007fa90a6002ca in cli_safe_read (mysql=0x7fa8ec04a960) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql-common/client.c:620
#10 0x00007fa90a6039f4 in cli_advanced_command (mysql=0x7fa8ec04a960, command=<optimized out>, header=0x0, header_length=0, arg=0x0, arg_length=0, skip_check=0 '\000', stmt=0x0) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/sql-common/client.c:763
#11 0x00007fa90a5f7b01 in mysql_ping (mysql=<optimized out>) at /export/home/pb2/build/sb_0-23718186-1496436101.14/rpm/BUILD/mysql-5.6.37/mysql-5.6.37/libmysql/libmysql.c:982
something should be setted for return in a short time?