[New LWP 36215] [New LWP 36602] [New LWP 36173] [New LWP 36573] [New LWP 36170] [New LWP 36178] [New LWP 36591] [New LWP 36171] [New LWP 36177] [New LWP 36167] [New LWP 36172] [New LWP 36179] [New LWP 36197] [New LWP 36613] [New LWP 36176] [New LWP 36185] [New LWP 36169] [New LWP 36192] [New LWP 36186] [New LWP 36168] [New LWP 36184] [New LWP 36188] [New LWP 36183] [New LWP 36191] [New LWP 36175] [New LWP 36190] [New LWP 36174] [New LWP 36579] [New LWP 36189] [New LWP 36187] [New LWP 36182] [New LWP 36181] [New LWP 36597] [New LWP 36552] [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 SIGSEGV, Segmentation fault. #0 0x00007f6a3bec0f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0 Thread 34 (Thread 0x7f6a3b2de700 (LWP 36552)): #0 0x00007f6a3b5e225d in fdatasync () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e30e520 in my_sync (fd=83, my_flags=16) at /home/elenst/git/10.1/mysys/my_sync.c:92 #2 0x00007f6a3dc8fc91 in inline_mysql_file_sync (src_file=0x7f6a3e481270 "/home/elenst/git/10.1/sql/discover.cc", src_line=143, fd=83, flags=16) at /home/elenst/git/10.1/include/mysql/psi/mysql_file.h:1414 #3 0x00007f6a3dc90147 in writefrm (path=0x7f6a3b2dae80 "./transforms/delete_returning_36217", db=0x7f6a23dff198 "transforms", table=0x7f6a23dff1a8 "delete_returning_36217", tmp_table=false, frmdata=0x7f6a23def0f0 "\376\001\t\t\022", len=457) at /home/elenst/git/10.1/sql/discover.cc:143 #4 0x00007f6a3db76b14 in TABLE_SHARE::write_frm_image (this=0x7f6a3b2d9400, frm=0x7f6a23def0f0 "\376\001\t\t\022", len=457) at /home/elenst/git/10.1/sql/table.cc:2238 #5 0x00007f6a3db7210b in TABLE_SHARE::init_from_binary_frm_image (this=0x7f6a3b2d9400, thd=0x7f6a13f75070, write=true, frm_image=0x7f6a23def0f0 "\376\001\t\t\022", frm_length=457) at /home/elenst/git/10.1/sql/table.cc:959 #6 0x00007f6a3dccad64 in ha_create_table (thd=0x7f6a13f75070, path=0x7f6a3b2dae80 "./transforms/delete_returning_36217", db=0x7f6a23dff198 "transforms", table_name=0x7f6a23dff1a8 "delete_returning_36217", create_info=0x7f6a3b2dc920, frm=0x7f6a3b2dae70) at /home/elenst/git/10.1/sql/handler.cc:4671 #7 0x00007f6a3db8ea2d in rea_create_table (thd=0x7f6a13f75070, frm=0x7f6a3b2dae70, path=0x7f6a3b2dae80 "./transforms/delete_returning_36217", db=0x7f6a23dff198 "transforms", table_name=0x7f6a23dff1a8 "delete_returning_36217", create_info=0x7f6a3b2dc920, file=0x7f6a23e007c0, no_ha_create_table=false) at /home/elenst/git/10.1/sql/unireg.cc:394 #8 0x00007f6a3db44a2e in create_table_impl (thd=0x7f6a13f75070, orig_db=0x7f6a23dff198 "transforms", orig_table_name=0x7f6a23dff1a8 "delete_returning_36217", db=0x7f6a23dff198 "transforms", table_name=0x7f6a23dff1a8 "delete_returning_36217", path=0x7f6a3b2dae80 "./transforms/delete_returning_36217", options=..., create_info=0x7f6a3b2dc920, alter_info=0x7f6a3b2dc890, create_table_mode=1, is_trans=0x0, key_info=0x7f6a3b2dae60, key_count=0x7f6a3b2dae54, frm=0x7f6a3b2dae70) at /home/elenst/git/10.1/sql/sql_table.cc:4823 #9 0x00007f6a3db44fee in mysql_create_table_no_lock (thd=0x7f6a13f75070, db=0x7f6a23dff198 "transforms", table_name=0x7f6a23dff1a8 "delete_returning_36217", create_info=0x7f6a3b2dc920, alter_info=0x7f6a3b2dc890, is_trans=0x0, create_table_mode=1) at /home/elenst/git/10.1/sql/sql_table.cc:4939 #10 0x00007f6a3da72355 in create_table_from_items (thd=0x7f6a13f75070, create_info=0x7f6a3b2dc920, create_table=0x7f6a23dff200, alter_info=0x7f6a3b2dc890, items=0x7f6a13f79278, lock=0x7f6a3b2dc288, hooks=0x7f6a3b2dc2c0) at /home/elenst/git/10.1/sql/sql_insert.cc:3997 #11 0x00007f6a3da729eb in select_create::prepare (this=0x7f6a23dffec8, values=..., u=0x7f6a13f78a70) at /home/elenst/git/10.1/sql/sql_insert.cc:4170 #12 0x00007f6a3dac68d4 in JOIN::prepare (this=0x7f6a23dfffb0, rref_pointer_array=0x7f6a13f793d8, tables_init=0x0, wild_num=0, conds_init=0x0, og_num=0, order_init=0x0, skip_order_by=false, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f6a13f79160, unit_arg=0x7f6a13f78a70) at /home/elenst/git/10.1/sql/sql_select.cc:964 #13 0x00007f6a3dacedc3 in mysql_select (thd=0x7f6a13f75070, rref_pointer_array=0x7f6a13f793d8, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2416708096, result=0x7f6a23dffec8, unit=0x7f6a13f78a70, select_lex=0x7f6a13f79160) at /home/elenst/git/10.1/sql/sql_select.cc:3324 #14 0x00007f6a3dac4cdf in handle_select (thd=0x7f6a13f75070, lex=0x7f6a13f789a8, result=0x7f6a23dffec8, setup_tables_done_option=0) at /home/elenst/git/10.1/sql/sql_select.cc:371 #15 0x00007f6a3da8c68c in mysql_execute_command (thd=0x7f6a13f75070) at /home/elenst/git/10.1/sql/sql_parse.cc:3422 #16 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a13f75070, rawbuf=0x7f6a23dff088 "CREATE TABLE transforms.delete_returning_36217 SELECT SLEEP( 0.5 * 0.3 * 1 )", length=77, parser_state=0x7f6a3b2dd1d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #17 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a13f75070, packet=0x7f6a13e9e071 "CREATE TABLE transforms.delete_returning_36217 SELECT SLEEP( 0.5 * 0.3 * 1 ) ", packet_length=78) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #18 0x00007f6a3da863ab in do_command (thd=0x7f6a13f75070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #19 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13f75070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #20 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13f75070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #21 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #22 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #23 0x0000000000000000 in ?? () Thread 33 (Thread 0x7f6a3d486700 (LWP 36597)): #0 0x00007f6a3b5dd303 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e3695c3 in vio_io_wait (vio=0x7f6a19e40ef0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/elenst/git/10.1/vio/viosocket.c:972 #2 0x00007f6a3e367f7e in vio_socket_io_wait (vio=0x7f6a19e40ef0, event=VIO_IO_EVENT_READ) at /home/elenst/git/10.1/vio/viosocket.c:108 #3 0x00007f6a3e368132 in vio_read (vio=0x7f6a19e40ef0, buf=0x7f6a13ea3070 "2", size=4) at /home/elenst/git/10.1/vio/viosocket.c:184 #4 0x00007f6a3d9cf5bc in my_real_read (net=0x7f6a13e98330, complen=0x7f6a3d485910, header=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:873 #5 0x00007f6a3d9cfc5b in my_net_read_packet (net=0x7f6a13e98330, read_from_server=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:1089 #6 0x00007f6a3da85dfe in do_command (thd=0x7f6a13e98070) at /home/elenst/git/10.1/sql/sql_parse.cc:987 #7 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13e98070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #8 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13e98070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #9 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x0000000000000000 in ?? () Thread 32 (Thread 0x7f6a13bff700 (LWP 36181)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054a5c in os_cond_wait_timed (cond=0x7f6a1b399bc0, fast_mutex=0x7f6a1b399b80, abstime=0x7f6a13bfee00) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x00007f6a3e05522b in os_event_wait_time_low (event=0x7f6a1b399b80, time_in_usec=1000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:705 #3 0x00007f6a3e0255d1 in lock_wait_timeout_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/lock/lock0wait.cc:534 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 31 (Thread 0x7f6a133fe700 (LWP 36182)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054a5c in os_cond_wait_timed (cond=0x7f6a3a8a0cc0, fast_mutex=0x7f6a3a8a0c80, abstime=0x7f6a133fdda0) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x00007f6a3e05522b in os_event_wait_time_low (event=0x7f6a3a8a0c80, time_in_usec=1000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:705 #3 0x00007f6a3e116315 in srv_error_monitor_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:2387 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 30 (Thread 0x7f6a0fffe700 (LWP 36187)): #0 0x00007f6a3b5e2023 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e055d9e in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x00007f6a3e1c5cda in page_cleaner_sleep_if_needed (next_loop_time=1442964470940) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2644 #3 0x00007f6a3e1c6517 in buf_flush_lru_manager_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2914 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 29 (Thread 0x7f6a0e3fe700 (LWP 36189)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054a5c in os_cond_wait_timed (cond=0x7f6a1aebb740, fast_mutex=0x7f6a1aebb700, abstime=0x7f6a0e3fde20) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x00007f6a3e05522b in os_event_wait_time_low (event=0x7f6a1aebb700, time_in_usec=10000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:705 #3 0x00007f6a3e214f20 in dict_stats_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/dict/dict0stats_bg.cc:546 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 28 (Thread 0x7f6a3b295700 (LWP 36579)): #0 0x00007f6a3bec2ccd in write () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e30f83a in my_write (Filedes=84, Buffer=0x7f6a3b2893b0 "\376\376\t\003\004\020\003,", Count=215, MyFlags=4) at /home/elenst/git/10.1/mysys/my_write.c:48 #2 0x00007f6a3dec0032 in inline_mysql_file_write (src_file=0x7f6a3e4da2e0 "/home/elenst/git/10.1/storage/maria/ma_open.c", src_line=1460, file=84, buffer=0x7f6a3b2893b0 "\376\376\t\003\004\020\003,", count=215, flags=4) at /home/elenst/git/10.1/include/mysql/psi/mysql_file.h:1141 #3 0x00007f6a3dec61df in _ma_state_info_write_sub (file=84, state=0x7f6a3b290780, pWrite=2) at /home/elenst/git/10.1/storage/maria/ma_open.c:1458 #4 0x00007f6a3de7e6e4 in maria_create (name=0x7f6a14058d98 "/home/elenst/test_results/analyze-stmt-1/current1_1/tmp/#sql_8d47_2", datafile_type=BLOCK_RECORD, keys=0, keydefs=0x7f6a3b291590, columns=21, columndef=0x7f6a140583f8, uniques=0, uniquedefs=0x7f6a3b291500, ci=0x7f6a3b291540, flags=260) at /home/elenst/git/10.1/storage/maria/ma_create.c:913 #5 0x00007f6a3daf21bb in create_internal_tmp_table (table=0x7f6a14057088, keyinfo=0x7f6a14058330, start_recinfo=0x7f6a140583f8, recinfo=0x7f6a14096160, options=2954631680) at /home/elenst/git/10.1/sql/sql_select.cc:17266 #6 0x00007f6a3daf115f in create_tmp_table (thd=0x7f6a13ec4070, param=0x7f6a140960f8, fields=..., group=0x0, distinct=false, save_sum_fields=false, select_options=2954631680, rows_limit=18446744073709551615, table_alias=0x7f6a140df7e8 "columns", do_not_open=false, keep_row_order=false) at /home/elenst/git/10.1/sql/sql_select.cc:16905 #7 0x00007f6a3db29096 in create_schema_table (thd=0x7f6a13ec4070, table_list=0x7f6a140df7f0) at /home/elenst/git/10.1/sql/sql_show.cc:7488 #8 0x00007f6a3db29dba in mysql_schema_table (thd=0x7f6a13ec4070, lex=0x7f6a140de098, table_list=0x7f6a140df7f0) at /home/elenst/git/10.1/sql/sql_show.cc:7706 #9 0x00007f6a3da27071 in open_and_process_table (thd=0x7f6a13ec4070, lex=0x7f6a140de098, tables=0x7f6a140df7f0, counter=0x7f6a3b291f54, flags=0, prelocking_strategy=0x7f6a3b291fc0, has_prelocking_list=false, ot_ctx=0x7f6a3b291ec0) at /home/elenst/git/10.1/sql/sql_base.cc:3946 #10 0x00007f6a3da284ec in open_tables (thd=0x7f6a13ec4070, options=..., start=0x7f6a3b291f38, counter=0x7f6a3b291f54, flags=0, prelocking_strategy=0x7f6a3b291fc0) at /home/elenst/git/10.1/sql/sql_base.cc:4571 #11 0x00007f6a3da296a2 in open_and_lock_tables (thd=0x7f6a13ec4070, options=..., tables=0x7f6a140df7f0, derived=true, flags=0, prelocking_strategy=0x7f6a3b291fc0) at /home/elenst/git/10.1/sql/sql_base.cc:5233 #12 0x00007f6a3da1d221 in open_and_lock_tables (thd=0x7f6a13ec4070, tables=0x7f6a140df7f0, derived=true, flags=0) at /home/elenst/git/10.1/sql/sql_base.h:530 #13 0x00007f6a3da94ca7 in execute_sqlcom_select (thd=0x7f6a13ec4070, all_tables=0x7f6a140df7f0) at /home/elenst/git/10.1/sql/sql_parse.cc:5770 #14 0x00007f6a3da8b478 in mysql_execute_command (thd=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_parse.cc:2962 #15 0x00007f6a3dab2b77 in Prepared_statement::execute (this=0x7f6a14143470, expanded_query=0x7f6a3b293570, open_cursor=false) at /home/elenst/git/10.1/sql/sql_prepare.cc:4016 #16 0x00007f6a3dab1a18 in Prepared_statement::execute_loop (this=0x7f6a14143470, expanded_query=0x7f6a3b293570, open_cursor=false, packet=0x0, packet_end=0x0) at /home/elenst/git/10.1/sql/sql_prepare.cc:3648 #17 0x00007f6a3daafa76 in mysql_sql_stmt_execute (thd=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_prepare.cc:2781 #18 0x00007f6a3da8b4a9 in mysql_execute_command (thd=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_parse.cc:2973 #19 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a13ec4070, rawbuf=0x7f6a14095088 "EXECUTE prep_stmt_36219 /* TRANSFORM_OUTCOME_UNORDERED_MATCH */", length=63, parser_state=0x7f6a3b2941d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #20 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a13ec4070, packet=0x7f6a13ee4071 "EXECUTE prep_stmt_36219 /* TRANSFORM_OUTCOME_UNORDERED_MATCH */", packet_length=63) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #21 0x00007f6a3da863ab in do_command (thd=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #22 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #23 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13ec4070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #24 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #25 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #26 0x0000000000000000 in ?? () Thread 27 (Thread 0x7f6a17bfb700 (LWP 36174)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0060, segment=2, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=4, message1=0x7f6a17bfade8, message2=0x7f6a17bfadf0, type=0x7f6a17bfadf8, space_id=0x7f6a17bfae00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=4) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d440 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 26 (Thread 0x7f6a0dbfd700 (LWP 36190)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054a5c in os_cond_wait_timed (cond=0x7f6a1aed3840, fast_mutex=0x7f6a1aed3800, abstime=0x7f6a0dbfcd70) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x00007f6a3e05522b in os_event_wait_time_low (event=0x7f6a1aed3800, time_in_usec=5000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:705 #3 0x00007f6a3e15ef31 in ib_wqueue_timedwait (wq=0x7f6a3a8da5f8, wait_in_usecs=5000000) at /home/elenst/git/10.1/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x00007f6a3e260522 in fts_optimize_thread (arg=0x7f6a3a8da5f8) at /home/elenst/git/10.1/storage/xtradb/fts/fts0opt.cc:3000 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 25 (Thread 0x7f6a173fa700 (LWP 36175)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0060, segment=3, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=5, message1=0x7f6a173f9de8, message2=0x7f6a173f9df0, type=0x7f6a173f9df8, space_id=0x7f6a173f9e00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=5) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d448 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 24 (Thread 0x7f6a0d3fc700 (LWP 36191)): #0 0x00007f6a3b5e2023 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e055d9e in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x00007f6a3e1a4787 in btr_defragment_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/btr/btr0defragment.cc:758 #3 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x0000000000000000 in ?? () Thread 23 (Thread 0x7f6a12bfd700 (LWP 36183)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054a5c in os_cond_wait_timed (cond=0x7f6a3a8a0d40, fast_mutex=0x7f6a3a8a0d00, abstime=0x7f6a12bfcdd0) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:177 #2 0x00007f6a3e05522b in os_event_wait_time_low (event=0x7f6a3a8a0d00, time_in_usec=5000000, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:705 #3 0x00007f6a3e115b22 in srv_monitor_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:2110 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 22 (Thread 0x7f6a0ebff700 (LWP 36188)): #0 0x00007f6a3bebfd84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054b44 in os_cond_wait (cond=0x7f6a3a8a0dc0, fast_mutex=0x7f6a3a8a0d80) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:214 #2 0x00007f6a3e05506c in os_event_wait_low (event=0x7f6a3a8a0d80, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:592 #3 0x00007f6a3e1bd87e in buf_dump_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0dump.cc:602 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 21 (Thread 0x7f6a123fc700 (LWP 36184)): #0 0x00007f6a3b5e2023 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e055d9e in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x00007f6a3e117bdd in srv_master_sleep () at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3125 #3 0x00007f6a3e117d17 in srv_master_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3173 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 20 (Thread 0x7f6a367ff700 (LWP 36168)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e316f65 in safe_cond_timedwait (cond=0x7f6a3f58f380 , mp=0x7f6a3f58f2c0 , abstime=0x7f6a367fee50, file=0x7f6a3e5b9760 "/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 0x00007f6a3e317ee1 in inline_mysql_cond_timedwait (that=0x7f6a3f58f380 , mutex=0x7f6a3f58f2c0 , abstime=0x7f6a367fee50, src_file=0x7f6a3e5b9798 "/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 0x00007f6a3e318999 in timer_handler (arg=0x0) at /home/elenst/git/10.1/mysys/thr_timer.c:292 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 19 (Thread 0x7f6a107ff700 (LWP 36186)): #0 0x00007f6a3b5e2023 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e055d9e in os_thread_sleep (tm=1000000) at /home/elenst/git/10.1/storage/xtradb/os/os0thread.cc:285 #2 0x00007f6a3e1c5cda in page_cleaner_sleep_if_needed (next_loop_time=1442964470939) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2644 #3 0x00007f6a3e1c5f7e in buf_flush_page_cleaner_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/buf/buf0flu.cc:2763 #4 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 18 (Thread 0x7f6a3d5aa700 (LWP 36192)): #0 0x00007f6a3bec39f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3bec3a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f6a3d9c1865 in signal_hand (arg=0x0) at /home/elenst/git/10.1/sql/mysqld.cc:3467 #3 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x0000000000000000 in ?? () Thread 17 (Thread 0x7f6a24bff700 (LWP 36169)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e316f65 in safe_cond_timedwait (cond=0x7f6a3f5477c0 , mp=0x7f6a3f547700 , abstime=0x7f6a24bfedb0, file=0x7f6a3e4d9eb0 "/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 0x00007f6a3debd924 in inline_mysql_cond_timedwait (that=0x7f6a3f5477c0 , mutex=0x7f6a3f547700 , abstime=0x7f6a24bfedb0, src_file=0x7f6a3e4d9ee8 "/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 0x00007f6a3debddbb in my_service_thread_sleep (control=0x7f6a3eb5f950 , sleep_time=30000000000) at /home/elenst/git/10.1/storage/maria/ma_servicethread.c:118 #4 0x00007f6a3deb2970 in ma_checkpoint_background (arg=0x1e) at /home/elenst/git/10.1/storage/maria/ma_checkpoint.c:711 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 16 (Thread 0x7f6a11bfb700 (LWP 36185)): #0 0x00007f6a3bebfd84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e054b44 in os_cond_wait (cond=0x7f6a3a8a0c40, fast_mutex=0x7f6a3a8a0c00) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:214 #2 0x00007f6a3e05506c in os_event_wait_low (event=0x7f6a3a8a0c00, reset_sig_count=1) at /home/elenst/git/10.1/storage/xtradb/os/os0sync.cc:592 #3 0x00007f6a3e1186ba in srv_purge_coordinator_suspend (slot=0x7f6a3a911b80, rseg_history_len=8) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3484 #4 0x00007f6a3e118bcc in srv_purge_coordinator_thread (arg=0x0) at /home/elenst/git/10.1/storage/xtradb/srv/srv0srv.cc:3606 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 15 (Thread 0x7f6a16bf9700 (LWP 36176)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0150, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=6, message1=0x7f6a16bf8de8, message2=0x7f6a16bf8df0, type=0x7f6a16bf8df8, space_id=0x7f6a16bf8e00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=6) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d450 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f6a3d4cf700 (LWP 36613)): #0 0x00007f6a3bec289c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3bebe09b in _L_lock_1006 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f6a3bebe01c in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f6a3e316454 in safe_mutex_lock (mp=0x7f6a3ed1b620 , my_flags=0, file=0x7f6a3e3af640 "/home/elenst/git/10.1/sql/mysqld.cc", line=2895) at /home/elenst/git/10.1/mysys/thr_mutex.c:294 #4 0x00007f6a3d9bb6f5 in inline_mysql_mutex_lock (that=0x7f6a3ed1b620 , src_file=0x7f6a3e3af640 "/home/elenst/git/10.1/sql/mysqld.cc", src_line=2895) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:689 #5 0x00007f6a3d9c08d7 in unlink_thd (thd=0x7f6a13e85070) at /home/elenst/git/10.1/sql/mysqld.cc:2895 #6 0x00007f6a3d9c0cab in one_thread_per_connection_end (thd=0x7f6a13e85070, put_in_cache=true) at /home/elenst/git/10.1/sql/mysqld.cc:3018 #7 0x00007f6a3dbba2f8 in do_handle_one_connection (thd_arg=0x7f6a13e85070) at /home/elenst/git/10.1/sql/sql_connect.cc:1369 #8 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13e85070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #9 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x0000000000000000 in ?? () Thread 13 (Thread 0x7f6a3d561700 (LWP 36197)): #0 0x00007f6a3b5dd303 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f6a3e3695c3 in vio_io_wait (vio=0x7f6a3a8258f0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/elenst/git/10.1/vio/viosocket.c:972 #2 0x00007f6a3e367f7e in vio_socket_io_wait (vio=0x7f6a3a8258f0, event=VIO_IO_EVENT_READ) at /home/elenst/git/10.1/vio/viosocket.c:108 #3 0x00007f6a3e368132 in vio_read (vio=0x7f6a3a8258f0, buf=0x7f6a1afb1070 "\a", size=4) at /home/elenst/git/10.1/vio/viosocket.c:184 #4 0x00007f6a3d9cf5bc in my_real_read (net=0x7f6a13e79330, complen=0x7f6a3d560910, header=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:873 #5 0x00007f6a3d9cfc5b in my_net_read_packet (net=0x7f6a13e79330, read_from_server=1 '\001') at /home/elenst/git/10.1/sql/net_serv.cc:1089 #6 0x00007f6a3da85dfe in do_command (thd=0x7f6a13e79070) at /home/elenst/git/10.1/sql/sql_parse.cc:987 #7 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13e79070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #8 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13e79070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #9 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f6a153f6700 (LWP 36179)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0150, segment=3, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=9, message1=0x7f6a153f5de8, message2=0x7f6a153f5df0, type=0x7f6a153f5df8, space_id=0x7f6a153f5e00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=9) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d468 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f6a18bfd700 (LWP 36172)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0060, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=2, message1=0x7f6a18bfcde8, message2=0x7f6a18bfcdf0, type=0x7f6a18bfcdf8, space_id=0x7f6a18bfce00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=2) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d430 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f6a3d5ac780 (LWP 36167)): #0 0x00007f6a3bec289c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3bebe09b in _L_lock_1006 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f6a3bebe01c in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f6a3e316454 in safe_mutex_lock (mp=0x7f6a3ed1b620 , my_flags=0, file=0x7f6a3e3cc050 "/home/elenst/git/10.1/sql/sql_class.cc", line=1005) at /home/elenst/git/10.1/mysys/thr_mutex.c:294 #4 0x00007f6a3da45d43 in inline_mysql_mutex_lock (that=0x7f6a3ed1b620 , src_file=0x7f6a3e3cc050 "/home/elenst/git/10.1/sql/sql_class.cc", src_line=1005) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:689 #5 0x00007f6a3da48473 in THD::THD (this=0x7f6a13fac070, is_wsrep_applier=false) at /home/elenst/git/10.1/sql/sql_class.cc:1005 #6 0x00007f6a3d9c75d4 in handle_connections_sockets () at /home/elenst/git/10.1/sql/mysqld.cc:6671 #7 0x00007f6a3d9c61bf in mysqld_main (argc=28, argv=0x7f6a3a81e6a0) at /home/elenst/git/10.1/sql/mysqld.cc:5938 #8 0x00007f6a3d9bb538 in main (argc=28, argv=0x7ffff35bad58) at /home/elenst/git/10.1/sql/main.cc:25 Thread 9 (Thread 0x7f6a163f8700 (LWP 36177)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0150, segment=1, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=7, message1=0x7f6a163f7de8, message2=0x7f6a163f7df0, type=0x7f6a163f7df8, space_id=0x7f6a163f7e00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=7) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d458 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f6a193fe700 (LWP 36171)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf00b0, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=1, message1=0x7f6a193fdde8, message2=0x7f6a193fddf0, type=0x7f6a193fddf8, space_id=0x7f6a193fde00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=1) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d428 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f6a3b203700 (LWP 36591)): #0 0x00007f6a3bec289c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3bebe09b in _L_lock_1006 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f6a3bebe01c in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f6a3e316454 in safe_mutex_lock (mp=0x7f6a3ed1b620 , my_flags=0, file=0x7f6a3e3cc050 "/home/elenst/git/10.1/sql/sql_class.cc", line=1005) at /home/elenst/git/10.1/mysys/thr_mutex.c:294 #4 0x00007f6a3da45d43 in inline_mysql_mutex_lock (that=0x7f6a3ed1b620 , src_file=0x7f6a3e3cc050 "/home/elenst/git/10.1/sql/sql_class.cc", src_line=1005) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:689 #5 0x00007f6a3da48473 in THD::THD (this=0x7f6a0a662070, is_wsrep_applier=false) at /home/elenst/git/10.1/sql/sql_class.cc:1005 #6 0x00007f6a3de508d7 in Event_scheduler::start (this=0x7f6a3a8daa80, err_no=0x7f6a3b201498) at /home/elenst/git/10.1/sql/event_scheduler.cc:403 #7 0x00007f6a3db982cd in Events::start (err_no=0x7f6a3b201498) at /home/elenst/git/10.1/sql/events.cc:1060 #8 0x00007f6a3dbd13e8 in event_scheduler_update (self=0x7f6a3ed2c1c0 , thd=0x7f6a13ee9070, type=SHOW_OPT_GLOBAL) at /home/elenst/git/10.1/sql/sys_vars.cc:886 #9 0x00007f6a3d9ded76 in sys_var::update (this=0x7f6a3ed2c1c0 , thd=0x7f6a13ee9070, var=0x7f6a0a4061d0) at /home/elenst/git/10.1/sql/set_var.cc:199 #10 0x00007f6a3d9e08e8 in set_var::update (this=0x7f6a0a4061d0, thd=0x7f6a13ee9070) at /home/elenst/git/10.1/sql/set_var.cc:795 #11 0x00007f6a3d9e04bd in sql_set_variables (thd=0x7f6a13ee9070, var_list=0x7f6a13eed6f8, free=true) at /home/elenst/git/10.1/sql/set_var.cc:696 #12 0x00007f6a3da8f563 in mysql_execute_command (thd=0x7f6a13ee9070) at /home/elenst/git/10.1/sql/sql_parse.cc:4278 #13 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a13ee9070, rawbuf=0x7f6a0a406088 "SET GLOBAL EVENT_SCHEDULER = ON", length=31, parser_state=0x7f6a3b2021d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #14 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a13ee9070, packet=0x7f6a13f1c071 "SET GLOBAL EVENT_SCHEDULER = ON", packet_length=31) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #15 0x00007f6a3da863ab in do_command (thd=0x7f6a13ee9070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #16 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13ee9070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #17 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13ee9070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #18 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #19 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f6a15bf7700 (LWP 36178)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0150, segment=2, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=8, message1=0x7f6a15bf6de8, message2=0x7f6a15bf6df0, type=0x7f6a15bf6df8, space_id=0x7f6a15bf6e00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=8) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d460 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f6a19bff700 (LWP 36170)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0100, segment=0, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=0, message1=0x7f6a19bfede8, message2=0x7f6a19bfedf0, type=0x7f6a19bfedf8, space_id=0x7f6a19bfee00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=0) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d420 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f6a3b1ba700 (LWP 36573)): #0 0x00007f6a3bec289c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3bebe09b in _L_lock_1006 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f6a3bebe01c in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f6a3e316454 in safe_mutex_lock (mp=0x7f6a3ed1b620 , my_flags=0, file=0x7f6a3e3e4990 "/home/elenst/git/10.1/sql/sql_show.cc", line=2803) at /home/elenst/git/10.1/mysys/thr_mutex.c:294 #4 0x00007f6a3db0e6e5 in inline_mysql_mutex_lock (that=0x7f6a3ed1b620 , src_file=0x7f6a3e3e4990 "/home/elenst/git/10.1/sql/sql_show.cc", src_line=2803) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:689 #5 0x00007f6a3db16fe0 in fill_schema_processlist (thd=0x7f6a19efa070, tables=0x7f6a0f0c9390, cond=0x0) at /home/elenst/git/10.1/sql/sql_show.cc:2803 #6 0x00007f6a3db2a9ee in get_schema_tables_result (join=0x7f6a0f0cb118, executed_place=PROCESSED_BY_JOIN_EXEC) at /home/elenst/git/10.1/sql/sql_show.cc:8059 #7 0x00007f6a3dacc0f0 in JOIN::exec_inner (this=0x7f6a0f0cb118) at /home/elenst/git/10.1/sql/sql_select.cc:2560 #8 0x00007f6a3dacb753 in JOIN::exec (this=0x7f6a0f0cb118) at /home/elenst/git/10.1/sql/sql_select.cc:2409 #9 0x00007f6a3dacee75 in mysql_select (thd=0x7f6a19efa070, rref_pointer_array=0x7f6a19efe3d8, tables=0x7f6a0f0c9390, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x7f6a0f0c9a50, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7f6a0f0c92b0, unit=0x7f6a19efda70, select_lex=0x7f6a19efe160) at /home/elenst/git/10.1/sql/sql_select.cc:3346 #10 0x00007f6a3dac4cdf in handle_select (thd=0x7f6a19efa070, lex=0x7f6a19efd9a8, result=0x7f6a0f0c92b0, setup_tables_done_option=0) at /home/elenst/git/10.1/sql/sql_select.cc:371 #11 0x00007f6a3da95144 in execute_sqlcom_select (thd=0x7f6a19efa070, all_tables=0x7f6a0f0c9390) at /home/elenst/git/10.1/sql/sql_parse.cc:5849 #12 0x00007f6a3da8b478 in mysql_execute_command (thd=0x7f6a19efa070) at /home/elenst/git/10.1/sql/sql_parse.cc:2962 #13 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a19efa070, rawbuf=0x7f6a0f0c9088 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1", length=85, parser_state=0x7f6a3b1b91d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #14 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a19efa070, packet=0x7f6a13ebf071 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 ", packet_length=86) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #15 0x00007f6a3da863ab in do_command (thd=0x7f6a19efa070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #16 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a19efa070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #17 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a19efa070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #18 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #19 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f6a183fc700 (LWP 36173)): #0 0x00007f6a3d19a644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f6a3e051c79 in os_aio_linux_collect (array=0x7f6a3abf0060, segment=1, seg_size=256) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5362 #2 0x00007f6a3e052044 in os_aio_linux_handle (global_seg=3, message1=0x7f6a183fbde8, message2=0x7f6a183fbdf0, type=0x7f6a183fbdf8, space_id=0x7f6a183fbe00) at /home/elenst/git/10.1/storage/xtradb/os/os0file.cc:5515 #3 0x00007f6a3e228b19 in fil_aio_wait (segment=3) at /home/elenst/git/10.1/storage/xtradb/fil/fil0fil.cc:5984 #4 0x00007f6a3e11b7b8 in io_handler_thread (arg=0x7f6a3f56d438 ) at /home/elenst/git/10.1/storage/xtradb/srv/srv0start.cc:542 #5 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f6a3d518700 (LWP 36602)): #0 0x00007f6a3bec00fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e316f65 in safe_cond_timedwait (cond=0x7f6a3d515910, mp=0x7f6a3ed433a0 , abstime=0x7f6a3d5158a0, file=0x7f6a3e4953a0 "/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 0x00007f6a3dd23361 in inline_mysql_cond_timedwait (that=0x7f6a3d515910, mutex=0x7f6a3ed433a0 , abstime=0x7f6a3d5158a0, src_file=0x7f6a3e495a48 "/home/elenst/git/10.1/sql/item_func.cc", src_line=4066) at /home/elenst/git/10.1/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f6a3dd31fa5 in Interruptible_wait::wait (this=0x7f6a3d5158f0, cond=0x7f6a3d515910, mutex=0x7f6a3ed433a0 ) at /home/elenst/git/10.1/sql/item_func.cc:4066 #4 0x00007f6a3dd337c8 in Item_func_sleep::val_int (this=0x7f6a0b56f598) at /home/elenst/git/10.1/sql/item_func.cc:4603 #5 0x00007f6a3dce3ebb in Item::send (this=0x7f6a0b56f598, protocol=0x7f6a13f6d600, buffer=0x7f6a3d515a50) at /home/elenst/git/10.1/sql/item.cc:6452 #6 0x00007f6a3d9d6a9c in Protocol::send_result_set_row (this=0x7f6a13f6d600, row_items=0x7f6a13f71278) at /home/elenst/git/10.1/sql/protocol.cc:906 #7 0x00007f6a3da4cef9 in select_send::send_data (this=0x7f6a0b56f730, items=...) at /home/elenst/git/10.1/sql/sql_class.cc:2790 #8 0x00007f6a3dacbcf4 in JOIN::exec_inner (this=0x7f6a0b56f750) at /home/elenst/git/10.1/sql/sql_select.cc:2488 #9 0x00007f6a3dacb753 in JOIN::exec (this=0x7f6a0b56f750) at /home/elenst/git/10.1/sql/sql_select.cc:2409 #10 0x00007f6a3dacee75 in mysql_select (thd=0x7f6a13f6d070, rref_pointer_array=0x7f6a13f713d8, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147781376, result=0x7f6a0b56f730, unit=0x7f6a13f70a70, select_lex=0x7f6a13f71160) at /home/elenst/git/10.1/sql/sql_select.cc:3346 #11 0x00007f6a3dac4cdf in handle_select (thd=0x7f6a13f6d070, lex=0x7f6a13f709a8, result=0x7f6a0b56f730, setup_tables_done_option=0) at /home/elenst/git/10.1/sql/sql_select.cc:371 #12 0x00007f6a3da95144 in execute_sqlcom_select (thd=0x7f6a13f6d070, all_tables=0x0) at /home/elenst/git/10.1/sql/sql_parse.cc:5849 #13 0x00007f6a3da8b478 in mysql_execute_command (thd=0x7f6a13f6d070) at /home/elenst/git/10.1/sql/sql_parse.cc:2962 #14 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a13f6d070, rawbuf=0x7f6a0b56f088 "SELECT SLEEP( 0.5 * 0.86 * 1 ) /* TRANSFORM_OUTCOME_UNORDERED_MATCH */", length=71, parser_state=0x7f6a3d5171d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #15 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a13f6d070, packet=0x7f6a13e93071 "", packet_length=74) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #16 0x00007f6a3da863ab in do_command (thd=0x7f6a13f6d070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #17 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13f6d070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #18 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13f6d070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #19 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #20 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #21 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6a3d43d700 (LWP 36215)): #0 0x00007f6a3bec0f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f6a3e311740 in my_write_core (sig=11) at /home/elenst/git/10.1/mysys/stacktrace.c:456 #2 0x00007f6a3dcbfb27 in handle_fatal_signal (sig=11) at /home/elenst/git/10.1/sql/signal_handler.cc:273 #3 #4 0x00007f6a3b644da0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007f6a3e33fc1e in my_copy_8bit (cs=0x7f6a3eb776c0 , dst=0x7f6a0f0d3270 "CREATE OR REPLACE TABLE `create_or_replace_tmp` AS SELECT * FROM `table1_myisam_int_autoinc` /* TRANSFORM_OUTCOME_UNORDERED_MATCH */\245\245\245\245h4z\025", dst_length=134, src=0x0, src_length=134, nchars=134, status=0x7f6a3d43ab70) at /home/elenst/git/10.1/strings/ctype-simple.c:1143 #6 0x00007f6a3db37616 in String_copier::well_formed_copy (this=0x7f6a3d43ab70, to_cs=0x7f6a3eb776c0 , to=0x7f6a0f0d3270 "CREATE OR REPLACE TABLE `create_or_replace_tmp` AS SELECT * FROM `table1_myisam_int_autoinc` /* TRANSFORM_OUTCOME_UNORDERED_MATCH */\245\245\245\245h4z\025", to_length=134, from_cs=0x7f6a3eb776c0 , from=0x0, from_length=134, nchars=134) at /home/elenst/git/10.1/sql/sql_string.cc:918 #7 0x00007f6a3da56fcf in String_copier::well_formed_copy (this=0x7f6a3d43ab70, to_cs=0x7f6a3eb776c0 , to=0x7f6a0f0d3270 "CREATE OR REPLACE TABLE `create_or_replace_tmp` AS SELECT * FROM `table1_myisam_int_autoinc` /* TRANSFORM_OUTCOME_UNORDERED_MATCH */\245\245\245\245h4z\025", to_length=134, from_cs=0x7f6a3eb776c0 , from=0x0, from_length=134) at /home/elenst/git/10.1/sql/sql_string.h:84 #8 0x00007f6a3dca6ac0 in Field_blob::store (this=0x7f6a35a696c8, from=0x0, length=134, cs=0x7f6a3eb776c0 ) at /home/elenst/git/10.1/sql/field.cc:7831 #9 0x00007f6a3db17b57 in fill_schema_processlist (thd=0x7f6a13f31070, tables=0x7f6a358533e0, cond=0x0) at /home/elenst/git/10.1/sql/sql_show.cc:2924 #10 0x00007f6a3db2a9ee in get_schema_tables_result (join=0x7f6a35855168, executed_place=PROCESSED_BY_JOIN_EXEC) at /home/elenst/git/10.1/sql/sql_show.cc:8059 #11 0x00007f6a3dacc0f0 in JOIN::exec_inner (this=0x7f6a35855168) at /home/elenst/git/10.1/sql/sql_select.cc:2560 #12 0x00007f6a3dacb753 in JOIN::exec (this=0x7f6a35855168) at /home/elenst/git/10.1/sql/sql_select.cc:2409 #13 0x00007f6a3dacee75 in mysql_select (thd=0x7f6a13f31070, rref_pointer_array=0x7f6a13f353d8, tables=0x7f6a358533e0, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x7f6a35853aa0, group=0x0, having=0x0, proc_param=0x0, select_options=2684652288, result=0x7f6a35853300, unit=0x7f6a13f34a70, select_lex=0x7f6a13f35160) at /home/elenst/git/10.1/sql/sql_select.cc:3346 #14 0x00007f6a3dac4cdf in handle_select (thd=0x7f6a13f31070, lex=0x7f6a13f349a8, result=0x7f6a35853300, setup_tables_done_option=0) at /home/elenst/git/10.1/sql/sql_select.cc:371 #15 0x00007f6a3da95144 in execute_sqlcom_select (thd=0x7f6a13f31070, all_tables=0x7f6a358533e0) at /home/elenst/git/10.1/sql/sql_parse.cc:5849 #16 0x00007f6a3da8b478 in mysql_execute_command (thd=0x7f6a13f31070) at /home/elenst/git/10.1/sql/sql_parse.cc:2962 #17 0x00007f6a3da9866b in mysql_parse (thd=0x7f6a13f31070, rawbuf=0x7f6a35853088 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* TRANSFORM_OUTCOME_UNORDERED_MATCH */", length=126, parser_state=0x7f6a3d43c1d0) at /home/elenst/git/10.1/sql/sql_parse.cc:7227 #18 0x00007f6a3da8767a in dispatch_command (command=COM_QUERY, thd=0x7f6a13f31070, packet=0x7f6a13f37071 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* TRANSFORM_OUTCOME_UNORDERED_MATCH */ ;", packet_length=128) at /home/elenst/git/10.1/sql/sql_parse.cc:1488 #19 0x00007f6a3da863ab in do_command (thd=0x7f6a13f31070) at /home/elenst/git/10.1/sql/sql_parse.cc:1110 #20 0x00007f6a3dbba1d3 in do_handle_one_connection (thd_arg=0x7f6a13f31070) at /home/elenst/git/10.1/sql/sql_connect.cc:1350 #21 0x00007f6a3dbb9f37 in handle_one_connection (arg=0x7f6a13f31070) at /home/elenst/git/10.1/sql/sql_connect.cc:1262 #22 0x00007f6a3bebbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #23 0x00007f6a3b5e8cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #24 0x0000000000000000 in ?? ()