[New LWP 24801] [New LWP 24806] [New LWP 24808] [New LWP 24692] [New LWP 24812] [New LWP 24693] [New LWP 24815] [New LWP 24695] [New LWP 24697] [New LWP 24691] [New LWP 24704] [New LWP 24694] [New LWP 24705] [New LWP 24696] [New LWP 24698] [New LWP 24699] [New LWP 24707] [New LWP 24700] [New LWP 24711] [New LWP 24701] [New LWP 24712] [New LWP 24702] [New LWP 24713] [New LWP 24706] [New LWP 24724] [New LWP 24708] [New LWP 24709] [New LWP 24710] [New LWP 24714] [New LWP 24715] [New LWP 24716] [New LWP 24717] [New LWP 24719] [New LWP 24720] [New LWP 24721] [New LWP 24722] [New LWP 24723] [New LWP 24725] [New LWP 24726] [New LWP 24730] [New LWP 24777] [New LWP 24798] [New LWP 24790] [New LWP 24804] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/elenst/git/10.1/sql/mysqld --no-defaults --basedir=/home/elenst/git/10.1'. Program terminated with signal 11, Segmentation fault. #0 __pthread_kill (threadid=, signo=) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:63 Thread 44 (Thread 0x7effcd324700 (LWP 24804)): #0 0x00007efff945de5d in fdatasync () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000ee1190 in my_sync (fd=60, my_flags=0) at /home/elenst/git/10.1/mysys/my_sync.c:92 #2 0x0000000000e5f421 in inline_mysql_file_sync (src_file=0x116d5e8 "/home/elenst/git/10.1/storage/myisam/mi_extra.c", src_line=339, fd=60, flags=0) at /home/elenst/git/10.1/include/mysql/psi/mysql_file.h:1414 #3 0x0000000000e6012e in mi_extra (info=0x7effdf11d070, function=HA_EXTRA_FLUSH, extra_arg=0x0) at /home/elenst/git/10.1/storage/myisam/mi_extra.c:339 #4 0x0000000000e3dde3 in ha_myisam::extra (this=0x7effdf21d888, operation=HA_EXTRA_FLUSH) at /home/elenst/git/10.1/storage/myisam/ha_myisam.cc:1925 #5 0x00000000009ea06c in sp_drop_routine_internal (thd=0x7efff8b80070, type=TYPE_ENUM_PROCEDURE, name=0x7effdc4c9168, table=0x7effdf19b870) at /home/elenst/git/10.1/sql/sp.cc:972 #6 0x00000000009eb5d4 in sp_drop_routine (thd=0x7efff8b80070, type=TYPE_ENUM_PROCEDURE, name=0x7effdc4c9168) at /home/elenst/git/10.1/sql/sp.cc:1328 #7 0x000000000068a074 in mysql_execute_command (thd=0x7efff8b80070) at /home/elenst/git/10.1/sql/sql_parse.cc:5265 #8 0x000000000068f537 in mysql_parse (thd=0x7efff8b80070, rawbuf=0x7effdc4c9088 "DROP PROCEDURE IF EXISTS testdb_N.p1_1_N", length=40, parser_state=0x7effcd323110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #9 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8b80070, packet=0x7efff8b96071 "DROP PROCEDURE IF EXISTS testdb_N.p1_1_N ", packet_length=41) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #10 0x000000000067d30f in do_command (thd=0x7efff8b80070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #11 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8b80070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #12 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8b80070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #13 0x00007efff9d33e9a in start_thread (arg=0x7effcd324700) at pthread_create.c:308 #14 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #15 0x0000000000000000 in ?? () Thread 43 (Thread 0x7effcdc92700 (LWP 24790)): #0 0x00007efff9d3b40d in fsync () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000ae847b in os_file_fsync (file=9) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:2619 #2 0x0000000000ae8584 in os_file_flush_func (file=9) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:2719 #3 0x0000000000cab8fa in pfs_os_file_flush_func (file=9, src_file=0x1116550 "/home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc", src_line=6080) at /home/elenst/git/10.1/storage/xtradb/include/os0file.ic:369 #4 0x0000000000cb9961 in fil_flush (space_id=4294967280) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:6080 #5 0x0000000000ac7e86 in log_write_up_to (lsn=1696855, wait=92, flush_to_disk=1) at /home/elenst/git/10.1/storage/xtradb/log/log0log.cc:1765 #6 0x0000000000be434c in trx_flush_log_if_needed_low (lsn=1696855, trx=0x7effd6dff478) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1355 #7 0x0000000000be43ba in trx_flush_log_if_needed (lsn=1696855, trx=0x7effd6dff478) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1379 #8 0x0000000000be4a4d in trx_commit_in_memory (trx=0x7effd6dff478, lsn=1696855) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1522 #9 0x0000000000be5082 in trx_commit_low (trx=0x7effd6dff478, mtr=0x7effcdc8d880) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1645 #10 0x0000000000be510e in trx_commit (trx=0x7effd6dff478) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1666 #11 0x0000000000be5ab1 in trx_commit_for_mysql (trx=0x7effd6dff478) at /home/elenst/git/10.1/storage/xtradb/trx/trx0trx.cc:1930 #12 0x0000000000c9fb46 in dict_stats_save (table_orig=0x7effd6e75f78, only_for_index=0x0) at /home/elenst/git/10.1/storage/xtradb/dict/dict0stats.cc:2590 #13 0x0000000000ca0f02 in dict_stats_update (table=0x7effd6e75f78, stats_upd_option=DICT_STATS_RECALC_PERSISTENT) at /home/elenst/git/10.1/storage/xtradb/dict/dict0stats.cc:3216 #14 0x0000000000a65679 in ha_innobase::info_low (this=0x7effd6d41088, flag=28, is_analyze=true) at /home/elenst/git/10.1/storage/xtradb/handler/ha_innodb.cc:13431 #15 0x0000000000a66281 in ha_innobase::analyze (this=0x7effd6d41088, thd=0x7effdedfa070, check_opt=0x7effdedfec08) at /home/elenst/git/10.1/storage/xtradb/handler/ha_innodb.cc:13809 #16 0x00000000008b28f9 in handler::ha_analyze (this=0x7effd6d41088, thd=0x7effdedfa070, check_opt=0x7effdedfec08) at /home/elenst/git/10.1/sql/handler.cc:4082 #17 0x00000000007bb763 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *)) (thd=0x7effdedfa070, tables=0x7effcd9d6280, check_opt=0x7effdedfec08, operator_name=0xfd078f "analyze", lock_type=TL_READ_NO_INSERT, open_for_modify=true, repair_table_use_frm=false, extra_open_options=0, prepare_func=0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x8b2874 , view_operator_func=0) at /home/elenst/git/10.1/sql/sql_admin.cc:731 #18 0x00000000007bd229 in Sql_cmd_analyze_table::execute (this=0x7effcd9d87d8, thd=0x7effdedfa070) at /home/elenst/git/10.1/sql/sql_admin.cc:1162 #19 0x000000000068b1fd in mysql_execute_command (thd=0x7effdedfa070) at /home/elenst/git/10.1/sql/sql_parse.cc:5558 #20 0x000000000068f537 in mysql_parse (thd=0x7effdedfa070, rawbuf=0x7effcd9d6088 "ANALYZE TABLE table0_innodb_int,table0_innodb_int_autoinc,table10_innodb_int,table10_innodb_int_autoinc,table1_innodb_int,table1_innodb_int_autoinc", length=147, parser_state=0x7effcdc91110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #21 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7effdedfa070, packet=0x7efff8b5a071 "", packet_length=147) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #22 0x000000000067d30f in do_command (thd=0x7effdedfa070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #23 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7effdedfa070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #24 0x00000000007aa3bd in handle_one_connection (arg=0x7effdedfa070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #25 0x00007efff9d33e9a in start_thread (arg=0x7effcdc92700) at pthread_create.c:308 #26 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #27 0x0000000000000000 in ?? () Thread 42 (Thread 0x7effcd3b6700 (LWP 24798)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x7effdf109188, mp=0x7effdf260208, abstime=0x7effcd3b3bc0, file=0x117cda0 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000ee629e in inline_mysql_cond_timedwait (that=0x7effdf109188, mutex=0x7effdf260208, abstime=0x7effcd3b3bc0, src_file=0x117cdd8 "/home/elenst/git/10.1/mysys/thr_lock.c", src_line=588) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x0000000000ee69bd in wait_for_lock (wait=0x7effdf2602d8, data=0x7effdf11f448, in_wait_list=0 '\000', lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:588 #4 0x0000000000ee7524 in thr_lock (data=0x7effdf11f448, owner=0x7efff8b6b858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1025 #5 0x0000000000ee7ddc in thr_multi_lock (data=0x7effdf1211e0, count=1, owner=0x7efff8b6b858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1304 #6 0x0000000000992bbc in mysql_lock_tables (thd=0x7efff8b6a070, sql_lock=0x7effdf1211c0, flags=2048) at /home/elenst/git/10.1/sql/lock.cc:325 #7 0x0000000000992a05 in mysql_lock_tables (thd=0x7efff8b6a070, tables=0x7effcd3b4010, count=1, flags=2048) at /home/elenst/git/10.1/sql/lock.cc:277 #8 0x00000000006203f7 in open_ltable (thd=0x7efff8b6a070, table_list=0x7effcd3b3f40, lock_type=TL_WRITE, lock_flags=2048) at /home/elenst/git/10.1/sql/sql_base.cc:5143 #9 0x000000000062a047 in open_system_table_for_update (thd=0x7efff8b6a070, one_table=0x7effcd3b3f40) at /home/elenst/git/10.1/sql/sql_base.cc:9408 #10 0x00000000009e8a2b in open_proc_table_for_update (thd=0x7efff8b6a070) at /home/elenst/git/10.1/sql/sp.cc:440 #11 0x00000000009eb56d in sp_drop_routine (thd=0x7efff8b6a070, type=TYPE_ENUM_FUNCTION, name=0x7effdf121178) at /home/elenst/git/10.1/sql/sp.cc:1324 #12 0x000000000068a074 in mysql_execute_command (thd=0x7efff8b6a070) at /home/elenst/git/10.1/sql/sql_parse.cc:5265 #13 0x000000000068f537 in mysql_parse (thd=0x7efff8b6a070, rawbuf=0x7effdf121088 "DROP FUNCTION testdb_S.f1_1_S /* Sequence end */", length=48, parser_state=0x7effcd3b5110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #14 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8b6a070, packet=0x7efff8b70071 " DROP FUNCTION testdb_S.f1_1_S /* Sequence end */", packet_length=49) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #15 0x000000000067d30f in do_command (thd=0x7efff8b6a070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #16 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8b6a070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #17 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8b6a070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #18 0x00007efff9d33e9a in start_thread (arg=0x7effcd3b6700) at pthread_create.c:308 #19 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #20 0x0000000000000000 in ?? () Thread 41 (Thread 0x7effcdcdb700 (LWP 24777)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x18f7928, mp=0x18f7790, abstime=0x7effcdcd8f50, file=0x106ca80 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000977550 in inline_mysql_cond_timedwait (that=0x18f7928, mutex=0x18f7790, abstime=0x7effcdcd8f50, src_file=0x106ceb0 "/home/elenst/git/10.1/sql/log.cc", src_line=7847) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x000000000098bd28 in MYSQL_BIN_LOG::wait_for_update_binlog_end_pos (this=0x18f7180, thd=0x7effdedef070, timeout=0x7effcdcd8f50) at /home/elenst/git/10.1/sql/log.cc:7847 #4 0x00000000006b4419 in wait_new_events (info=0x7effcdcd92e0, linfo=0x7effcdcd9bc0, binlog_end_pos_filename=0x7effcdcd8fe0 "./mysql-bin.000001", end_pos_ptr=0x7effcdcd8fd0) at /home/elenst/git/10.1/sql/sql_repl.cc:2413 #5 0x00000000006b47d0 in get_binlog_end_pos (info=0x7effcdcd92e0, log=0x7effcdcd9e90, linfo=0x7effcdcd9bc0) at /home/elenst/git/10.1/sql/sql_repl.cc:2533 #6 0x00000000006b4f90 in send_one_binlog_file (info=0x7effcdcd92e0, log=0x7effcdcd9e90, linfo=0x7effcdcd9bc0, start_pos=4) at /home/elenst/git/10.1/sql/sql_repl.cc:2697 #7 0x00000000006b53c4 in mysql_binlog_send (thd=0x7effdedef070, log_ident=0x7effda8ac088 "", pos=4, flags=0) at /home/elenst/git/10.1/sql/sql_repl.cc:2830 #8 0x000000000067f14b in dispatch_command (command=COM_BINLOG_DUMP, thd=0x7effdedef070, packet=0x7effdedf5071 "", packet_length=10) at /home/elenst/git/10.1/sql/sql_parse.cc:1695 #9 0x000000000067d30f in do_command (thd=0x7effdedef070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #10 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7effdedef070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #11 0x00000000007aa3bd in handle_one_connection (arg=0x7effdedef070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #12 0x00007efff9d33e9a in start_thread (arg=0x7effcdcdb700) at pthread_create.c:308 #13 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 40 (Thread 0x7effcdd24700 (LWP 24730)): #0 0x00007efff9458f03 in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000000000f3712d in vio_io_wait (vio=0x7efff8a76e70, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/elenst/git/10.1/vio/viosocket.c:969 #2 0x0000000000f35b0e in vio_socket_io_wait (vio=0x7efff8a76e70, event=VIO_IO_EVENT_READ) at /home/elenst/git/10.1/vio/viosocket.c:108 #3 0x0000000000f35cbe in vio_read (vio=0x7efff8a76e70, buf=0x7effdeeff070 "\a", size=4) at /home/elenst/git/10.1/vio/viosocket.c:181 #4 0x00000000005c77ee in my_real_read (net=0x7effdede9330, complen=0x7effcdd23938, header=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:872 #5 0x00000000005c7e93 in my_net_read_packet (net=0x7effdede9330, read_from_server=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:1088 #6 0x000000000067cdbe in do_command (thd=0x7effdede9070) at /home/elenst/git/10.1/sql/sql_parse.cc:979 #7 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7effdede9070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #8 0x00000000007aa3bd in handle_one_connection (arg=0x7effdede9070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #9 0x00007efff9d33e9a in start_thread (arg=0x7effcdd24700) at pthread_create.c:308 #10 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 39 (Thread 0x7effcdd6d700 (LWP 24726)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9e18, mp=0x7effdecf9d68, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9e18, mutex=0x7effdecf9d68, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf9d60) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcdd6d700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 38 (Thread 0x7effcddb6700 (LWP 24725)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9c48, mp=0x7effdecf9b98, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9c48, mutex=0x7effdecf9b98, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf9b90) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcddb6700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 37 (Thread 0x7effcde48700 (LWP 24723)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf98a8, mp=0x7effdecf97f8, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf98a8, mutex=0x7effdecf97f8, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf97f0) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcde48700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 36 (Thread 0x7effcde91700 (LWP 24722)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf96d8, mp=0x7effdecf9628, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf96d8, mutex=0x7effdecf9628, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf9620) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcde91700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 35 (Thread 0x7effcdeda700 (LWP 24721)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9508, mp=0x7effdecf9458, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9508, mutex=0x7effdecf9458, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf9450) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcdeda700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 34 (Thread 0x7effcdf6c700 (LWP 24720)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9338, mp=0x7effdecf9288, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9338, mutex=0x7effdecf9288, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf9280) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcdf6c700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 33 (Thread 0x7effcdf23700 (LWP 24719)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9168, mp=0x7effdecf90b8, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9168, mutex=0x7effdecf90b8, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf90b0) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcdf23700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 32 (Thread 0x7effcdfb5700 (LWP 24717)): #0 do_sigwait (set=, sig=0x7effcdfb4e98) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:65 #1 0x00007efff9d3ba79 in __sigwait (set=, sig=) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:100 #2 0x00000000005ba051 in signal_hand (arg=0x0) at /home/elenst/git/10.1/sql/mysqld.cc:3441 #3 0x00007efff9d33e9a in start_thread (arg=0x7effcdfb5700) at pthread_create.c:308 #4 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 31 (Thread 0x7effcdffe700 (LWP 24716)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x18f81e8, mp=0x18f8138, file=0x106ca80 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x0000000000977467 in inline_mysql_cond_wait (that=0x18f81e8, mutex=0x18f8138, src_file=0x106ceb0 "/home/elenst/git/10.1/sql/log.cc", src_line=9345) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x000000000098f867 in binlog_background_thread (arg=0x0) at /home/elenst/git/10.1/sql/log.cc:9345 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcdffe700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 30 (Thread 0x7effce7ff700 (LWP 24715)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x21317a0, mp=0x21316e0, abstime=0x7effce7fee00, file=0x113f830 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000d664fe in inline_mysql_cond_timedwait (that=0x21317a0, mutex=0x21316e0, abstime=0x7effce7fee00, src_file=0x113f868 "/home/elenst/git/10.1/storage/maria/ma_servicethread.c", src_line=119) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x0000000000d669a7 in my_service_thread_sleep (control=0x171e830, sleep_time=29000000000) at /home/elenst/git/10.1/storage/maria/ma_servicethread.c:118 #4 0x0000000000d5b49b in ma_checkpoint_background (arg=0x1e) at /home/elenst/git/10.1/storage/maria/ma_checkpoint.c:709 #5 0x00007efff9d33e9a in start_thread (arg=0x7effce7ff700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 29 (Thread 0x7effd7bfa700 (LWP 24714)): #0 0x00007efff945dc23 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000aef817 in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x0000000000c38991 in btr_defragment_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/btr/btr0defragment.cc:743 #3 0x00007efff9d33e9a in start_thread (arg=0x7effd7bfa700) at pthread_create.c:308 #4 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 28 (Thread 0x7effd9ffe700 (LWP 24710)): #0 0x00007efff945dc23 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000aef817 in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x0000000000c590f7 in page_cleaner_sleep_if_needed (next_loop_time=1429761039562) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2644 #3 0x0000000000c5993c in buf_flush_lru_manager_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2914 #4 0x00007efff9d33e9a in start_thread (arg=0x7effd9ffe700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 27 (Thread 0x7effda7ff700 (LWP 24709)): #0 0x00007efff945dc23 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000aef817 in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x0000000000c590f7 in page_cleaner_sleep_if_needed (next_loop_time=1429761039560) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2644 #3 0x0000000000c593bb in buf_flush_page_cleaner_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2763 #4 0x00007efff9d33e9a in start_thread (arg=0x7effda7ff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 26 (Thread 0x7effdbbfe700 (LWP 24708)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000aee58f in os_cond_wait (cond=0x7effe58cfb40, fast_mutex=0x7effe58cfb00) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:214 #2 0x0000000000aeeac1 in os_event_wait_low (event=0x7effe58cfb00, reset_sig_count=5) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:610 #3 0x0000000000bb7b05 in sync_array_wait_event (arr=0x7efff8452d80, index=0) at /home/elenst/git/10.1/storage/xtradb/sync/sync0arr.cc:474 #4 0x0000000000bbb629 in rw_lock_s_lock_spin (_lock=0x192f220, pass=0, priority_lock=false, high_priority=false, file_name=0x10d4008 "/home/elenst/git/10.1/storage/xtradb/row/row0purge.cc", line=754) at /home/elenst/git/10.1/storage/xtradb/sync/sync0rw.cc:551 #5 0x0000000000b78097 in rw_lock_s_lock_func (lock=0x192f220, pass=0, file_name=0x10d4008 "/home/elenst/git/10.1/storage/xtradb/row/row0purge.cc", line=754) at /home/elenst/git/10.1/storage/xtradb/include/sync0rw.ic:432 #6 0x0000000000b78519 in pfs_rw_lock_s_lock_func (lock=0x192f220, pass=0, file_name=0x10d4008 "/home/elenst/git/10.1/storage/xtradb/row/row0purge.cc", line=754) at /home/elenst/git/10.1/storage/xtradb/include/sync0rw.ic:1060 #7 0x0000000000b7bd4a in row_purge_parse_undo_rec (node=0x7efff8484678, undo_rec=0x7effda8f4440 "\001i\016", updated_extern=0x7effdbbfdcce, thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/row/row0purge.cc:754 #8 0x0000000000b7c1a6 in row_purge (node=0x7efff8484678, undo_rec=0x7effda8f4440 "\001i\016", thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/row/row0purge.cc:893 #9 0x0000000000b7c400 in row_purge_step (thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/row/row0purge.cc:976 #10 0x0000000000b1c890 in que_thr_step (thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/que/que0que.cc:1115 #11 0x0000000000b1ca91 in que_run_threads_low (thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/que/que0que.cc:1177 #12 0x0000000000b1cc23 in que_run_threads (thr=0x7efff841d940) at /home/elenst/git/10.1/storage/xtradb/que/que0que.cc:1218 #13 0x0000000000bcaeb1 in trx_purge (n_purge_threads=1, batch_size=300, truncate=false) at /home/elenst/git/10.1/storage/xtradb/trx/trx0purge.cc:1251 #14 0x0000000000baea76 in srv_do_purge (n_threads=1, n_total_purged=0x7effdbbfde68) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3424 #15 0x0000000000baf179 in srv_purge_coordinator_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3608 #16 0x00007efff9d33e9a in start_thread (arg=0x7effdbbfe700) at pthread_create.c:308 #17 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #18 0x0000000000000000 in ?? () Thread 25 (Thread 0x7effcddff700 (LWP 24724)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000ee9a47 in safe_cond_wait (cond=0x7effdecf9a78, mp=0x7effdecf99c8, file=0xfe4620 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1165) at /home/elenst/git/10.1/mysys/thr_mutex.c:493 #2 0x00000000008145c9 in inline_mysql_cond_wait (that=0x7effdecf9a78, mutex=0x7effdecf99c8, src_file=0xfe4760 "/home/elenst/git/10.1/sql/rpl_parallel.cc", src_line=664) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1165 #3 0x0000000000815f4f in handle_rpl_parallel_thread (arg=0x7effdecf99c0) at /home/elenst/git/10.1/sql/rpl_parallel.cc:664 #4 0x00007efff9d33e9a in start_thread (arg=0x7effcddff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 24 (Thread 0x7effdd3fe700 (LWP 24706)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000aee4a7 in os_cond_wait_timed (cond=0x7efff8455e40, fast_mutex=0x7efff8455e00, abstime=0x7effdd3fddf0) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x0000000000aeec98 in os_event_wait_time_low (event=0x7efff8455e00, time_in_usec=5000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:723 #3 0x0000000000bac3a6 in srv_monitor_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:2107 #4 0x00007efff9d33e9a in start_thread (arg=0x7effdd3fe700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 23 (Thread 0x7effd87fb700 (LWP 24713)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000aee4a7 in os_cond_wait_timed (cond=0x7effdeeac840, fast_mutex=0x7effdeeac800, abstime=0x7effd87fad90) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x0000000000aeec98 in os_event_wait_time_low (event=0x7effdeeac800, time_in_usec=5000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:723 #3 0x0000000000bf488d in ib_wqueue_timedwait (wq=0x7efff84ab4b8, wait_in_usecs=5000000) at /home/elenst/git/10.1/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x0000000000cf1a87 in fts_optimize_thread (arg=0x7efff84ab4b8) at /home/elenst/git/10.1/storage/xtradb/fts/fts0opt.cc:3003 #5 0x00007efff9d33e9a in start_thread (arg=0x7effd87fb700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 22 (Thread 0x7effe03f6700 (LWP 24702)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666150, segment=3, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=9, message1=0x7effe03f5e28, message2=0x7effe03f5e30, type=0x7effe03f5e38, space_id=0x7effe03f5e40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=9) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef68) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe03f6700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 21 (Thread 0x7effd8ffc700 (LWP 24712)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000aee4a7 in os_cond_wait_timed (cond=0x7effe58cf7c0, fast_mutex=0x7effe58cf780, abstime=0x7effd8ffbe40) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x0000000000aeec98 in os_event_wait_time_low (event=0x7effe58cf780, time_in_usec=10000000, reset_sig_count=3) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:723 #3 0x0000000000ca5a8a in dict_stats_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/dict/dict0stats_bg.cc:546 #4 0x00007efff9d33e9a in start_thread (arg=0x7effd8ffc700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 20 (Thread 0x7effe0bf7700 (LWP 24701)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666150, segment=2, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=8, message1=0x7effe0bf6e28, message2=0x7effe0bf6e30, type=0x7effe0bf6e38, space_id=0x7effe0bf6e40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=8) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef60) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe0bf7700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 19 (Thread 0x7effd97fd700 (LWP 24711)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000aee58f in os_cond_wait (cond=0x7efff8455ec0, fast_mutex=0x7efff8455e80) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:214 #2 0x0000000000aeeac1 in os_event_wait_low (event=0x7efff8455e80, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:610 #3 0x0000000000c50feb in buf_dump_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0dump.cc:594 #4 0x00007efff9d33e9a in start_thread (arg=0x7effd97fd700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 18 (Thread 0x7effe13f8700 (LWP 24700)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666150, segment=1, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=7, message1=0x7effe13f7e28, message2=0x7effe13f7e30, type=0x7effe13f7e38, space_id=0x7effe13f7e40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=7) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef58) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe13f8700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 17 (Thread 0x7effdc3ff700 (LWP 24707)): #0 0x00007efff945dc23 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000aef817 in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x0000000000bae14e in srv_master_sleep () at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3116 #3 0x0000000000bae28a in srv_master_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3164 #4 0x00007efff9d33e9a in start_thread (arg=0x7effdc3ff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 16 (Thread 0x7effe1bf9700 (LWP 24699)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666150, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=6, message1=0x7effe1bf8e28, message2=0x7effe1bf8e30, type=0x7effe1bf8e38, space_id=0x7effe1bf8e40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=6) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef50) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe1bf9700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 15 (Thread 0x7effe23fa700 (LWP 24698)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666060, segment=3, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=5, message1=0x7effe23f9e28, message2=0x7effe23f9e30, type=0x7effe23f9e38, space_id=0x7effe23f9e40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=5) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef48) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe23fa700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 14 (Thread 0x7effe33fc700 (LWP 24696)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666060, segment=1, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=3, message1=0x7effe33fbe28, message2=0x7effe33fbe30, type=0x7effe33fbe38, space_id=0x7effe33fbe40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=3) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef38) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe33fc700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 13 (Thread 0x7effddbff700 (LWP 24705)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000aee4a7 in os_cond_wait_timed (cond=0x7efff8455dc0, fast_mutex=0x7efff8455d80, abstime=0x7effddbfedc0) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x0000000000aeec98 in os_event_wait_time_low (event=0x7efff8455d80, time_in_usec=1000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:723 #3 0x0000000000bacba5 in srv_error_monitor_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:2384 #4 0x00007efff9d33e9a in start_thread (arg=0x7effddbff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 12 (Thread 0x7effe43fe700 (LWP 24694)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff86660b0, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=1, message1=0x7effe43fde28, message2=0x7effe43fde30, type=0x7effe43fde38, space_id=0x7effe43fde40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=1) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef28) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe43fe700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 11 (Thread 0x7effdebff700 (LWP 24704)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000aee4a7 in os_cond_wait_timed (cond=0x7effe5889cc0, fast_mutex=0x7effe5889c80, abstime=0x7effdebfee20) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x0000000000aeec98 in os_event_wait_time_low (event=0x7effe5889c80, time_in_usec=1000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:723 #3 0x0000000000ac2493 in lock_wait_timeout_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/lock/lock0wait.cc:534 #4 0x00007efff9d33e9a in start_thread (arg=0x7effdebff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 10 (Thread 0x7efffb40c740 (LWP 24691)): #0 0x00007efff9458f03 in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00000000005bf59d in handle_connections_sockets () at /home/elenst/git/10.1/sql/mysqld.cc:6365 #2 0x00000000005be506 in mysqld_main (argc=31, argv=0x7efff8416a20) at /home/elenst/git/10.1/sql/mysqld.cc:5793 #3 0x00000000005b3bd4 in main (argc=31, argv=0x7fffb18a11b8) at /home/elenst/git/10.1/sql/main.cc:25 Thread 9 (Thread 0x7effe2bfb700 (LWP 24697)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666060, segment=2, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=4, message1=0x7effe2bfae28, message2=0x7effe2bfae30, type=0x7effe2bfae38, space_id=0x7effe2bfae40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=4) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef40) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe2bfb700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 8 (Thread 0x7effe3bfd700 (LWP 24695)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666060, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=2, message1=0x7effe3bfce28, message2=0x7effe3bfce30, type=0x7effe3bfce38, space_id=0x7effe3bfce40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=2) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef30) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe3bfd700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 7 (Thread 0x7effcd249700 (LWP 24815)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x7effcd8b1008, mp=0x7effdf260208, abstime=0x7effcd246040, file=0x117cda0 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000ee629e in inline_mysql_cond_timedwait (that=0x7effcd8b1008, mutex=0x7effdf260208, abstime=0x7effcd246040, src_file=0x117cdd8 "/home/elenst/git/10.1/mysys/thr_lock.c", src_line=588) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x0000000000ee69bd in wait_for_lock (wait=0x7effdf2602b8, data=0x7effd6ee4448, in_wait_list=0 '\000', lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:588 #4 0x0000000000ee7524 in thr_lock (data=0x7effd6ee4448, owner=0x7efff8bb7858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1025 #5 0x0000000000ee7ddc in thr_multi_lock (data=0x7effd6eba378, count=1, owner=0x7efff8bb7858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1304 #6 0x0000000000992bbc in mysql_lock_tables (thd=0x7efff8bb6070, sql_lock=0x7effd6eba358, flags=2050) at /home/elenst/git/10.1/sql/lock.cc:325 #7 0x0000000000992a05 in mysql_lock_tables (thd=0x7efff8bb6070, tables=0x7effd6eba350, count=1, flags=2050) at /home/elenst/git/10.1/sql/lock.cc:277 #8 0x0000000000620c62 in lock_tables (thd=0x7efff8bb6070, tables=0x7effcd246530, count=1, flags=2050) at /home/elenst/git/10.1/sql/sql_base.cc:5436 #9 0x00000000006205f2 in open_and_lock_tables (thd=0x7efff8bb6070, options=..., tables=0x7effcd246530, derived=false, flags=2050, prelocking_strategy=0x7effcd246390) at /home/elenst/git/10.1/sql/sql_base.cc:5205 #10 0x000000000061410b in open_and_lock_tables (thd=0x7efff8bb6070, tables=0x7effcd246530, derived=false, flags=2050) at /home/elenst/git/10.1/sql/sql_base.h:530 #11 0x0000000000629e81 in open_system_tables_for_read (thd=0x7efff8bb6070, table_list=0x7effcd246530, backup=0x7effcd246ba0) at /home/elenst/git/10.1/sql/sql_base.cc:9321 #12 0x00000000009e8882 in open_proc_table_for_read (thd=0x7efff8bb6070, backup=0x7effcd246ba0) at /home/elenst/git/10.1/sql/sp.cc:405 #13 0x00000000009e8f1b in db_find_routine (thd=0x7efff8bb6070, type=TYPE_ENUM_PROCEDURE, name=0x7effcd247140, sphp=0x7effcd2473a0) at /home/elenst/git/10.1/sql/sp.cc:550 #14 0x00000000009ed4d7 in sp_cache_routine (thd=0x7efff8bb6070, type=TYPE_ENUM_PROCEDURE, name=0x7effcd247140, lookup_only=false, sp=0x7effcd2473a0) at /home/elenst/git/10.1/sql/sp.cc:2122 #15 0x00000000009ed31e in sp_cache_routine (thd=0x7efff8bb6070, rt=0x7effd6eba188, lookup_only=false, sp=0x7effcd2473a0) at /home/elenst/git/10.1/sql/sp.cc:2075 #16 0x000000000061dc9e in open_and_process_routine (thd=0x7efff8bb6070, prelocking_ctx=0x7efff8bb9d30, rt=0x7effd6eba188, prelocking_strategy=0x7effcd247590, has_prelocking_list=false, ot_ctx=0x7effcd247410, need_prelocking=0x7effcd2474bb, routine_modifies_data=0x7effcd2474bc) at /home/elenst/git/10.1/sql/sql_base.cc:3771 #17 0x000000000061f58d in open_tables (thd=0x7efff8bb6070, options=..., start=0x7effcd247508, counter=0x7effcd24755c, flags=0, prelocking_strategy=0x7effcd247590) at /home/elenst/git/10.1/sql/sql_base.cc:4611 #18 0x000000000062057b in open_and_lock_tables (thd=0x7efff8bb6070, options=..., tables=0x0, derived=true, flags=0, prelocking_strategy=0x7effcd247590) at /home/elenst/git/10.1/sql/sql_base.cc:5196 #19 0x000000000061410b in open_and_lock_tables (thd=0x7efff8bb6070, tables=0x0, derived=true, flags=0) at /home/elenst/git/10.1/sql/sql_base.h:530 #20 0x0000000000689908 in mysql_execute_command (thd=0x7efff8bb6070) at /home/elenst/git/10.1/sql/sql_parse.cc:5124 #21 0x000000000068f537 in mysql_parse (thd=0x7efff8bb6070, rawbuf=0x7effd6eba088 "CALL testdb_S.p1_1_S", length=20, parser_state=0x7effcd248110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #22 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8bb6070, packet=0x7efff8bbc071 "CALL testdb_S.p1_1_S ", packet_length=21) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #23 0x000000000067d30f in do_command (thd=0x7efff8bb6070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #24 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8bb6070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #25 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8bb6070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #26 0x00007efff9d33e9a in start_thread (arg=0x7effcd249700) at pthread_create.c:308 #27 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #28 0x0000000000000000 in ?? () Thread 6 (Thread 0x7effe4bff700 (LWP 24693)): #0 0x00007efffaff8644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x0000000000aeb7e7 in os_aio_linux_collect (array=0x7efff8666100, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5331 #2 0x0000000000aebb98 in os_aio_linux_handle (global_seg=0, message1=0x7effe4bfee28, message2=0x7effe4bfee30, type=0x7effe4bfee38, space_id=0x7effe4bfee40) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5484 #3 0x0000000000cb9491 in fil_aio_wait (segment=0) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5933 #4 0x0000000000bb1d53 in io_handler_thread (arg=0x191ef20) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:535 #5 0x00007efff9d33e9a in start_thread (arg=0x7effe4bff700) at pthread_create.c:308 #6 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 5 (Thread 0x7effcd3ff700 (LWP 24812)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000aee58f in os_cond_wait (cond=0x7effe58cfa40, fast_mutex=0x7effe58cfa00) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:214 #2 0x0000000000aeeac1 in os_event_wait_low (event=0x7effe58cfa00, reset_sig_count=7) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:610 #3 0x0000000000bb7b05 in sync_array_wait_event (arr=0x7efff8452d80, index=1) at /home/elenst/git/10.1/storage/xtradb/sync/sync0arr.cc:474 #4 0x0000000000bbde83 in mutex_spin_wait (_mutex=0x7efff84c13f8, high_priority=false, file_name=0x110bdd8 "/home/elenst/git/10.1/storage/xtradb/dict/dict0dict.cc", line=1052) at /home/elenst/git/10.1/storage/xtradb/sync/sync0sync.cc:700 #5 0x0000000000c75680 in mutex_enter_func (mutex=0x7efff84c13f8, file_name=0x110bdd8 "/home/elenst/git/10.1/storage/xtradb/dict/dict0dict.cc", line=1052, priority=IB_DEFAULT_PRIO) at /home/elenst/git/10.1/storage/xtradb/include/sync0sync.ic:329 #6 0x0000000000c757f0 in pfs_mutex_enter_func (mutex=0x7efff84c13f8, file_name=0x110bdd8 "/home/elenst/git/10.1/storage/xtradb/dict/dict0dict.cc", line=1052, priority=IB_DEFAULT_PRIO) at /home/elenst/git/10.1/storage/xtradb/include/sync0sync.ic:413 #7 0x0000000000c7aa2b in dict_table_open_on_name (table_name=0x7effcd3faa30 "test/table0_innodb_int_autoinc", dict_locked=0, try_drop=1, ignore_err=DICT_ERR_IGNORE_NONE) at /home/elenst/git/10.1/storage/xtradb/dict/dict0dict.cc:1052 #8 0x0000000000a55db0 in ha_innobase::open (this=0x7efff754d888, name=0x7efff75a0f78 "./test/table0_innodb_int_autoinc", mode=2, test_if_locked=4114) at /home/elenst/git/10.1/storage/xtradb/handler/ha_innodb.cc:5894 #9 0x00000000008ae814 in handler::ha_open (this=0x7efff754d888, table_arg=0x7efff756e570, name=0x7efff75a0f78 "./test/table0_innodb_int_autoinc", mode=2, test_if_locked=4114) at /home/elenst/git/10.1/sql/handler.cc:2510 #10 0x00000000007697de in open_table_from_share (thd=0x7efff8b5f070, share=0x7efff75a0a88, alias=0x7efff75e8240 "table0_innodb_int_autoinc", db_stat=39, prgflag=44, ha_open_flags=4114, outparam=0x7efff756e570, is_create_table=false) at /home/elenst/git/10.1/sql/table.cc:2917 #11 0x000000000061ba98 in open_table (thd=0x7efff8b5f070, table_list=0x7efff75e8260, ot_ctx=0x7effcd3fb420) at /home/elenst/git/10.1/sql/sql_base.cc:2547 #12 0x000000000061e294 in open_and_process_table (thd=0x7efff8b5f070, lex=0x7efff8b62d28, tables=0x7efff75e8260, counter=0x7effcd3fb6b0, flags=0, prelocking_strategy=0x7effcd3fb650, has_prelocking_list=false, ot_ctx=0x7effcd3fb420) at /home/elenst/git/10.1/sql/sql_base.cc:4013 #13 0x000000000061f407 in open_tables (thd=0x7efff8b5f070, options=..., start=0x7effcd3fb588, counter=0x7effcd3fb6b0, flags=0, prelocking_strategy=0x7effcd3fb650) at /home/elenst/git/10.1/sql/sql_base.cc:4538 #14 0x000000000072aaaa in open_tables (thd=0x7efff8b5f070, tables=0x7effcd3fb588, counter=0x7effcd3fb6b0, flags=0, prelocking_strategy=0x7effcd3fb650) at /home/elenst/git/10.1/sql/sql_base.h:247 #15 0x000000000073f5e6 in mysql_alter_table (thd=0x7efff8b5f070, new_db=0x7efff75e8840 "test", new_name=0x0, create_info=0x7effcd3fcda0, table_list=0x7efff75e8260, alter_info=0x7effcd3fced0, order_num=0, order=0x0, ignore=false) at /home/elenst/git/10.1/sql/sql_table.cc:8262 #16 0x00000000007af1fd in Sql_cmd_alter_table::execute (this=0x7efff75e88e8, thd=0x7efff8b5f070) at /home/elenst/git/10.1/sql/sql_alter.cc:325 #17 0x000000000068b1fd in mysql_execute_command (thd=0x7efff8b5f070) at /home/elenst/git/10.1/sql/sql_parse.cc:5558 #18 0x000000000068f537 in mysql_parse (thd=0x7efff8b5f070, rawbuf=0x7efff75e8088 "ALTER TABLE `table0_innodb_int_autoinc` ENCRYPTED=NO ENCRYPTION_KEY_ID = 4", length=74, parser_state=0x7effcd3fe110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #19 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8b5f070, packet=0x7efff8b65071 "ALTER TABLE `table0_innodb_int_autoinc` ENCRYPTED=NO ENCRYPTION_KEY_ID = 4", packet_length=74) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #20 0x000000000067d30f in do_command (thd=0x7efff8b5f070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #21 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8b5f070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #22 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8b5f070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #23 0x00007efff9d33e9a in start_thread (arg=0x7effcd3ff700) at pthread_create.c:308 #24 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #25 0x0000000000000000 in ?? () Thread 4 (Thread 0x7efff83ff700 (LWP 24692)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x2142dc0, mp=0x2142d00, abstime=0x7efff83fee70, file=0x117d880 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000eeacdc in inline_mysql_cond_timedwait (that=0x2142dc0, mutex=0x2142d00, abstime=0x7efff83fee70, src_file=0x117d8b8 "/home/elenst/git/10.1/mysys/thr_timer.c", src_line=292) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x0000000000eeb7ef in timer_handler (arg=0x0) at /home/elenst/git/10.1/mysys/thr_timer.c:292 #4 0x00007efff9d33e9a in start_thread (arg=0x7efff83ff700) at pthread_create.c:308 #5 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7effcd292700 (LWP 24808)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x7effda8f9188, mp=0x7effdf260208, abstime=0x7effcd28f040, file=0x117cda0 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x0000000000ee629e in inline_mysql_cond_timedwait (that=0x7effda8f9188, mutex=0x7effdf260208, abstime=0x7effcd28f040, src_file=0x117cdd8 "/home/elenst/git/10.1/mysys/thr_lock.c", src_line=588) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x0000000000ee69bd in wait_for_lock (wait=0x7effdf2602b8, data=0x7effda94d448, in_wait_list=0 '\000', lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:588 #4 0x0000000000ee7524 in thr_lock (data=0x7effda94d448, owner=0x7efff8ba7858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1025 #5 0x0000000000ee7ddc in thr_multi_lock (data=0x7effda944378, count=1, owner=0x7efff8ba7858, lock_wait_timeout=31536000) at /home/elenst/git/10.1/mysys/thr_lock.c:1304 #6 0x0000000000992bbc in mysql_lock_tables (thd=0x7efff8ba6070, sql_lock=0x7effda944358, flags=2050) at /home/elenst/git/10.1/sql/lock.cc:325 #7 0x0000000000992a05 in mysql_lock_tables (thd=0x7efff8ba6070, tables=0x7effda944350, count=1, flags=2050) at /home/elenst/git/10.1/sql/lock.cc:277 #8 0x0000000000620c62 in lock_tables (thd=0x7efff8ba6070, tables=0x7effcd28f530, count=1, flags=2050) at /home/elenst/git/10.1/sql/sql_base.cc:5436 #9 0x00000000006205f2 in open_and_lock_tables (thd=0x7efff8ba6070, options=..., tables=0x7effcd28f530, derived=false, flags=2050, prelocking_strategy=0x7effcd28f390) at /home/elenst/git/10.1/sql/sql_base.cc:5205 #10 0x000000000061410b in open_and_lock_tables (thd=0x7efff8ba6070, tables=0x7effcd28f530, derived=false, flags=2050) at /home/elenst/git/10.1/sql/sql_base.h:530 #11 0x0000000000629e81 in open_system_tables_for_read (thd=0x7efff8ba6070, table_list=0x7effcd28f530, backup=0x7effcd28fba0) at /home/elenst/git/10.1/sql/sql_base.cc:9321 #12 0x00000000009e8882 in open_proc_table_for_read (thd=0x7efff8ba6070, backup=0x7effcd28fba0) at /home/elenst/git/10.1/sql/sp.cc:405 #13 0x00000000009e8f1b in db_find_routine (thd=0x7efff8ba6070, type=TYPE_ENUM_PROCEDURE, name=0x7effcd290140, sphp=0x7effcd2903a0) at /home/elenst/git/10.1/sql/sp.cc:550 #14 0x00000000009ed4d7 in sp_cache_routine (thd=0x7efff8ba6070, type=TYPE_ENUM_PROCEDURE, name=0x7effcd290140, lookup_only=false, sp=0x7effcd2903a0) at /home/elenst/git/10.1/sql/sp.cc:2122 #15 0x00000000009ed31e in sp_cache_routine (thd=0x7efff8ba6070, rt=0x7effda944188, lookup_only=false, sp=0x7effcd2903a0) at /home/elenst/git/10.1/sql/sp.cc:2075 #16 0x000000000061dc9e in open_and_process_routine (thd=0x7efff8ba6070, prelocking_ctx=0x7efff8ba9d30, rt=0x7effda944188, prelocking_strategy=0x7effcd290590, has_prelocking_list=false, ot_ctx=0x7effcd290410, need_prelocking=0x7effcd2904bb, routine_modifies_data=0x7effcd2904bc) at /home/elenst/git/10.1/sql/sql_base.cc:3771 #17 0x000000000061f58d in open_tables (thd=0x7efff8ba6070, options=..., start=0x7effcd290508, counter=0x7effcd29055c, flags=0, prelocking_strategy=0x7effcd290590) at /home/elenst/git/10.1/sql/sql_base.cc:4611 #18 0x000000000062057b in open_and_lock_tables (thd=0x7efff8ba6070, options=..., tables=0x0, derived=true, flags=0, prelocking_strategy=0x7effcd290590) at /home/elenst/git/10.1/sql/sql_base.cc:5196 #19 0x000000000061410b in open_and_lock_tables (thd=0x7efff8ba6070, tables=0x0, derived=true, flags=0) at /home/elenst/git/10.1/sql/sql_base.h:530 #20 0x0000000000689908 in mysql_execute_command (thd=0x7efff8ba6070) at /home/elenst/git/10.1/sql/sql_parse.cc:5124 #21 0x000000000068f537 in mysql_parse (thd=0x7efff8ba6070, rawbuf=0x7effda944088 "CALL testdb_S.p1_2_S", length=20, parser_state=0x7effcd291110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #22 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8ba6070, packet=0x7efff8bac071 "CALL testdb_S.p1_2_S ", packet_length=21) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #23 0x000000000067d30f in do_command (thd=0x7efff8ba6070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #24 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8ba6070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #25 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8ba6070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #26 0x00007efff9d33e9a in start_thread (arg=0x7effcd292700) at pthread_create.c:308 #27 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #28 0x0000000000000000 in ?? () Thread 2 (Thread 0x7effcd2db700 (LWP 24806)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x0000000000ee9d51 in safe_cond_timedwait (cond=0x7efff8b9b218, mp=0x7efff8b9b168, abstime=0x7effcd2d8b90, file=0xfcecc0 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:547 #2 0x00000000007b365c in inline_mysql_cond_timedwait (that=0x7efff8b9b218, mutex=0x7efff8b9b168, abstime=0x7effcd2d8b90, src_file=0xfcef28 "/home/elenst/git/10.1/sql/mdl.cc", src_line=1066) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x00000000007b4808 in MDL_wait::timed_wait (this=0x7efff8b9b168, owner=0x7efff8b9b120, abs_timeout=0x7effcd2d8b90, set_status_on_timeout=false, wait_state_name=0x17086d8) at /home/elenst/git/10.1/sql/mdl.cc:1066 #4 0x00000000007b61b1 in MDL_context::acquire_lock (this=0x7efff8b9b168, mdl_request=0x7effcd2d8e60, lock_wait_timeout=31536000) at /home/elenst/git/10.1/sql/mdl.cc:2039 #5 0x00000000007b6682 in MDL_context::acquire_locks (this=0x7efff8b9b168, mdl_requests=0x7effcd2d8ca0, lock_wait_timeout=31536000) at /home/elenst/git/10.1/sql/mdl.cc:2159 #6 0x0000000000994039 in lock_schema_name (thd=0x7efff8b9b070, db=0x7effdad0c168 "testdb_N") at /home/elenst/git/10.1/sql/lock.cc:842 #7 0x00000000006537f8 in mysql_create_db_internal (thd=0x7efff8b9b070, db=0x7effdad0c168 "testdb_N", options=..., create_info=0x7effcd2d95a0, silent=false) at /home/elenst/git/10.1/sql/sql_db.cc:596 #8 0x000000000065402c in mysql_create_db (thd=0x7efff8b9b070, db=0x7effdad0c168 "testdb_N", options=..., create_info=0x7efff8b9fd48) at /home/elenst/git/10.1/sql/sql_db.cc:782 #9 0x000000000068677a in mysql_execute_command (thd=0x7efff8b9b070) at /home/elenst/git/10.1/sql/sql_parse.cc:4337 #10 0x000000000068f537 in mysql_parse (thd=0x7efff8b9b070, rawbuf=0x7effdad0c088 "CREATE SCHEMA IF NOT EXISTS testdb_N COLLATE utf8_bin", length=53, parser_state=0x7effcd2da110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #11 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8b9b070, packet=0x7efff8ba1071 "CREATE SCHEMA IF NOT EXISTS testdb_N COLLATE utf8_bin", packet_length=53) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #12 0x000000000067d30f in do_command (thd=0x7efff8b9b070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #13 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8b9b070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #14 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8b9b070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #15 0x00007efff9d33e9a in start_thread (arg=0x7effcd2db700) at pthread_create.c:308 #16 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #17 0x0000000000000000 in ?? () Thread 1 (Thread 0x7effcd36d700 (LWP 24801)): #0 __pthread_kill (threadid=, signo=) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:63 #1 0x0000000000ee4367 in my_write_core (sig=11) at /home/elenst/git/10.1/mysys/stacktrace.c:456 #2 0x00000000008a8ad0 in handle_fatal_signal (sig=11) at /home/elenst/git/10.1/sql/signal_handler.cc:266 #3 #4 0x00007efff93bc061 in _IO_vfprintf_internal (s=, format=, ap=) at vfprintf.c:1630 #5 0x00007efff93bee54 in buffered_vfprintf (s=0x7efff972a180, format=, args=) at vfprintf.c:2313 #6 0x00007efff93b988e in _IO_vfprintf_internal (s=0x7efff972a180, format=0x117d4e0 "safe_mutex: Count was %d in thread 0x%lx when locking mutex %s at %s, line %d (error: %d (%d))\n", ap=0x7effcd369738) at vfprintf.c:1316 #7 0x00007efff93c44e7 in __fprintf (stream=, format=) at fprintf.c:33 #8 0x0000000000ee9e3c in safe_cond_timedwait (cond=0x7effcd369a70, mp=0x7efff8b60870, abstime=0x7effcd369a30, file=0xfe36e0 "/home/elenst/git/10.1/include/mysql/psi/mysql_thread.h", line=1202) at /home/elenst/git/10.1/mysys/thr_mutex.c:566 #9 0x000000000080d3ee in inline_mysql_cond_timedwait (that=0x7effcd369a70, mutex=0x7efff8b60870, abstime=0x7effcd369a30, src_file=0xfe3718 "/home/elenst/git/10.1/sql/my_apc.cc", src_line=194) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #10 0x000000000080d96b in Apc_target::make_apc_call (this=0x7efff8b62ce8, caller_thd=0x7efff8b75070, call=0x7effcd369b10, timeout_sec=30, timed_out=0x7effcd369bde) at /home/elenst/git/10.1/sql/my_apc.cc:194 #11 0x0000000000709702 in fill_show_explain (thd=0x7efff8b75070, table=0x7effddd89238, cond=0x0) at /home/elenst/git/10.1/sql/sql_show.cc:2656 #12 0x000000000071d114 in get_schema_tables_result (join=0x7effddd54ea8, executed_place=PROCESSED_BY_JOIN_EXEC) at /home/elenst/git/10.1/sql/sql_show.cc:7939 #13 0x00000000006c1b62 in JOIN::exec_inner (this=0x7effddd54ea8) at /home/elenst/git/10.1/sql/sql_select.cc:2547 #14 0x00000000006c11db in JOIN::exec (this=0x7effddd54ea8) at /home/elenst/git/10.1/sql/sql_select.cc:2397 #15 0x00000000006c478e in mysql_select (thd=0x7efff8b75070, rref_pointer_array=0x7effddd87ac8, tables=0x7effddd89238, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7effddd54e88, unit=0x7effddd87160, select_lex=0x7effddd87850) at /home/elenst/git/10.1/sql/sql_select.cc:3326 #16 0x00000000006ba8f7 in handle_select (thd=0x7efff8b75070, lex=0x7effddd87098, result=0x7effddd54e88, setup_tables_done_option=0) at /home/elenst/git/10.1/sql/sql_select.cc:373 #17 0x000000000068bf78 in execute_sqlcom_select (thd=0x7efff8b75070, all_tables=0x7effddd89238) at /home/elenst/git/10.1/sql/sql_parse.cc:5782 #18 0x00000000006822c2 in mysql_execute_command (thd=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_parse.cc:2926 #19 0x00000000006a8e82 in Prepared_statement::execute (this=0x7effddd72470, expanded_query=0x7effcd36b550, open_cursor=false) at /home/elenst/git/10.1/sql/sql_prepare.cc:4012 #20 0x00000000006a7d66 in Prepared_statement::execute_loop (this=0x7effddd72470, expanded_query=0x7effcd36b550, open_cursor=false, packet=0x0, packet_end=0x0) at /home/elenst/git/10.1/sql/sql_prepare.cc:3644 #21 0x00000000006a5e3d in mysql_sql_stmt_execute (thd=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_prepare.cc:2777 #22 0x00000000006822f3 in mysql_execute_command (thd=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_parse.cc:2937 #23 0x000000000068f537 in mysql_parse (thd=0x7efff8b75070, rawbuf=0x7effddd54088 "EXECUTE show_expl_stmt USING @thread_id", length=39, parser_state=0x7effcd36c110) at /home/elenst/git/10.1/sql/sql_parse.cc:7165 #24 0x000000000067e545 in dispatch_command (command=COM_QUERY, thd=0x7efff8b75070, packet=0x7efff8b7b071 " EXECUTE show_expl_stmt USING @thread_id", packet_length=40) at /home/elenst/git/10.1/sql/sql_parse.cc:1462 #25 0x000000000067d30f in do_command (thd=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_parse.cc:1090 #26 0x00000000007aa678 in do_handle_one_connection (thd_arg=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_connect.cc:1347 #27 0x00000000007aa3bd in handle_one_connection (arg=0x7efff8b75070) at /home/elenst/git/10.1/sql/sql_connect.cc:1258 #28 0x00007efff9d33e9a in start_thread (arg=0x7effcd36d700) at pthread_create.c:308 #29 0x00007efff94648bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #30 0x0000000000000000 in ?? ()