(gdb) bt full #0 0x00007ffff7bcd75b in __libc_send (fd=50, buf=0x7fffc0005e80, n=26, flags=-1) at ../sysdeps/unix/sysv/linux/x86_64/send.c:31 resultvar = 44 oldtype = 0 #1 0x0000000001d7f859 in inline_mysql_socket_send (src_file=0x2228550 "/root/mysql-5.7.7-rc/vio/viosocket.c", src_line=201, mysql_socket=..., buf=0x7fffc0005e80, n=26, flags=64) at /root/mysql-5.7.7-rc/include/mysql/psi/mysql_socket.h:781 result = 0 #2 0x0000000001d80160 in vio_write (vio=0x7fffc0020250, buf=0x7fffc0005e80 "\026", size=26) at /root/mysql-5.7.7-rc/vio/viosocket.c:201 ret = 22121744 flags = 64 _db_stack_frame_ = {func = 0x1eda7a3 "net_write_packet", file = 0x1eda6a0 "/root/mysql-5.7.7-rc/sql/net_serv.cc", level = 2147483655, prev = 0x7fffde145570} #3 0x00000000014a66cb in net_write_raw_loop (net=0x7fffc0000c80, buf=0x7fffc0005e80 "\026", count=26) at /root/mysql-5.7.7-rc/sql/net_serv.cc:489 sentcnt = 140736414616032 retry_count = 0 #4 0x00000000014a69b0 in net_write_packet (net=0x7fffc0000c80, packet=0x7fffc0005e80 "\026", length=26) at /root/mysql-5.7.7-rc/sql/net_serv.cc:628 res = 0 '\000' _db_stack_frame_ = {func = 0x1eda75e "net_flush", file = 0x1eda6a0 "/root/mysql-5.7.7-rc/sql/net_serv.cc", level = 2147483654, prev = 0x7fffde1455c0} do_compress = false #5 0x00000000014a6004 in net_flush (net=0x7fffc0000c80) at /root/mysql-5.7.7-rc/sql/net_serv.cc:218 error = 0 '\000' _db_stack_frame_ = {func = 0x1eda791 "net_write_command", file = 0x1eda6a0 "/root/mysql-5.7.7-rc/sql/net_serv.cc", level = 2147483653, prev = 0x7fffde145630} #6 0x00000000014a6485 in net_write_command (net=0x7fffc0000c80, command=255 '\377', header=0x1ee0a74 "", head_len=0, packet=0x7fffde1458d0 "\023\004#08S01Bad handshake", len=21) at /root/mysql-5.7.7-rc/sql/net_serv.cc:388 length = 22 header_size = 5 buff = "\026\000\000\002\377" rc = -1073739408 _db_stack_frame_ = {func = 0x1ee0ad5 "Protocol::send_error", file = 0x1ee0900 "/root/mysql-5.7.7-rc/sql/protocol.cc", level = 2147483652, prev = 0x7fffde145b70} #7 0x00000000014bcfc3 in net_send_error_packet (net=0x7fffc0000c80, sql_errno=1043, err=0x7fffc0003550 "Bad handshake", sqlstate=0x7fffc0003750 "08S01", bootstrap=false, client_capabilities=29338125, character_set_results=0x2ba3ea0 ) at /root/mysql-5.7.7-rc/sql/protocol.cc:546 length = 21 error = 3221227872 converted_err = "Bad handshake\000\000\000\000\034\000\300\377\177\000\000\236\245j\001\v", '\000' , "\030\020\000\300\002\000\000\000\002\000\000\200\000\000\000\000\000g\024\336\377\177\000\000\001\000\000\000\000\000\000\000\300i\024\336\377\177\000\000\000g\024\336\377\177\000\000\000\000\000\000\000\000\000\000\020\\\024\336\377\177\000\000\327?S\001\000\000\000\000:1\022\002\000\000\000\000\340\t\000\300\377\177\000\000`W\024\336\377\177\000\000\360}\212\001\000\000\000\000:1\022\002\000\000\000\000 \021\331\001\000\000\000\000`\t\000\300\377\177\000\000Kt\212\001\000\000\000\000\240W\024\336\377\177\000\000Kt\212\001\000\000\000\000\240W\024\336\377\177\000\000"... buff = "\023\004#08S01Bad handshake\000\000\000 \021\331\001\000\000\000\000a\336\000\002\000\000\000\000\300\071\304\002\000\000\000\000 Y\024\336\377\177\000\000h\025\331\001\000\000\000\000`\t\000\300\377\177\000\000p\t\000\300\377\177\000\000P[\024\336\377\177\000\000R@\331\001\000\000\000\000p[\024\336\377\177\000\000Kt\212\001\000\000\000\000\200[\024\336\377\177\000\000\256\034\212\001\n\000\000\000`Y\024\336\377\177\000\000\360}\212\001\000\000\000\000\222\250\355\0---Type to continue, or q to quit--- 01\000\000\000\000 \021\331\001\000\000\000\000\005\000\000\200\000\000\000\000\300\071\304\002\000\000\000\000\240Y\024\336\377\177\000\000h\025\331\001\000\000\000\000`\t\000\300\377\177\000\000"... pos = 0x7fffde1458d8 "Bad handshake" _db_stack_frame_ = {func = 0x1ee0ad5 "Protocol::send_error", file = 0x1ee0900 "/root/mysql-5.7.7-rc/sql/protocol.cc", level = 2147483652, prev = 0x7fffde145b70} #8 0x00000000014bcdea in net_send_error_packet (thd=0x7fffc00009e0, sql_errno=1043, err=0x7fffc0003550 "Bad handshake", sqlstate=0x7fffc0003750 "08S01") at /root/mysql-5.7.7-rc/sql/protocol.cc:488 No locals. #9 0x00000000014bd49b in Protocol::send_error (this=0x7fffc0000f48, sql_errno=1043, err_msg=0x7fffc0003550 "Bad handshake", sql_state=0x7fffc0003750 "08S01") at /root/mysql-5.7.7-rc/sql/protocol.cc:731 _db_stack_frame_ = {func = 0x1ee0a75 "Protocol::end_statement", file = 0x1ee0900 "/root/mysql-5.7.7-rc/sql/protocol.cc", level = 2147483651, prev = 0x7fffde145bc0} retval = false #10 0x00000000014bd187 in Protocol::end_statement (this=0x7fffc0000f48) at /root/mysql-5.7.7-rc/sql/protocol.cc:646 _db_stack_frame_ = {func = 0x2008da6 "login_connection", file = 0x2008bd0 "/root/mysql-5.7.7-rc/sql/sql_connect.cc", level = 2147483650, prev = 0x7fffde145c30} __PRETTY_FUNCTION__ = "void Protocol::end_statement()" error = false #11 0x00000000015340ec in login_connection (thd=0x7fffc00009e0) at /root/mysql-5.7.7-rc/sql/sql_connect.cc:721 net = 0x7fffc0000c80 error = 1 _db_stack_frame_ = {func = 0x22299ed "?func", file = 0x22299f3 "?file", level = 2147483649, prev = 0x0} #12 0x0000000001534770 in thd_prepare_connection (thd=0x7fffc00009e0) at /root/mysql-5.7.7-rc/sql/sql_connect.cc:857 rc = false #13 0x00000000016adcd3 in handle_connection (arg=0x3c96cd0) at /root/mysql-5.7.7-rc/sql/conn_handler/connection_handler_per_thread.cc:291 thd = 0x7fffc00009e0 thd_manager = 0x2d29460 handler_manager = 0x2ca2d10 channel_info = 0x3c96cd0 pthread_reused = true #14 0x0000000001cd9905 in pfs_spawn_thread (arg=0x3b3b050) at /root/mysql-5.7.7-rc/storage/perfschema/pfs.cc:2147 typed_arg = 0x3b3b050 user_arg = 0x3c96cd0 pfs = 0x7ffff137dc40 user_start_routine = 0x16adb44 klass = 0x2c7a380 #15 0x00007ffff7bc6df5 in start_thread (arg=0x7fffde146700) at pthread_create.c:308 __res = pd = 0x7fffde146700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736919267072, -6068899544762536686, 1, 140736919267776, 140736919267072, 0, 6068965724798725394, 6068916591966039314}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} ---Type to continue, or q to quit--- not_first_call = pagesize_m1 = sp = freesize = #16 0x00007ffff62281ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113