[New LWP 9955] [New LWP 9909] [New LWP 9905] [New LWP 9906] [New LWP 9915] [New LWP 9916] [New LWP 9907] [New LWP 9913] [New LWP 9934] [New LWP 9918] [New LWP 9912] [New LWP 9910] [New LWP 9937] [New LWP 9939] [New LWP 9917] [New LWP 9938] [New LWP 9922] [New LWP 9941] [New LWP 9911] [New LWP 9967] [New LWP 9924] [New LWP 9923] [New LWP 9914] [New LWP 9944] [New LWP 9921] [New LWP 9930] [New LWP 9945] [New LWP 9931] [New LWP 9920] [New LWP 9933] [New LWP 9932] [New LWP 9919] [New LWP 9936] [New LWP 9947] [New LWP 9935] [New LWP 9908] [New LWP 9940] [New LWP 9903] [New LWP 9965] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/data/src/10.1-bug/sql/mysqld --defaults-file=/data/src/10.1-bug/mdev10826.cnf'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fa5b0339101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 Thread 39 (Thread 0x7fa5b0767b00 (LWP 9965)): #0 0x00007fa5b033b06d in fsync () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b10fe9bd in os_file_fsync (file=57) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:2698 #2 0x00007fa5b10feab4 in os_file_flush_func (file=57) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:2798 #3 0x00007fa5b12ce4db in pfs_os_file_flush_func (file=57, src_file=0x7fa5b16edc20 "/data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc", src_line=6246) at /data/src/10.1-bug/storage/xtradb/include/os0file.ic:371 #4 0x00007fa5b12dca1e in fil_flush (space_id=12) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6246 #5 0x00007fa5b12db285 in fil_extend_space_to_desired_size (actual_size=0x7fa5b07629b8, space_id=12, size_after_extend=9) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:5432 #6 0x00007fa5b12eafdb in fsp_try_extend_data_file_with_pages (space=12, page_no=8, header=0x7fa4bc544026 "", mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:882 #7 0x00007fa5b12ec6dd in fsp_alloc_free_page (space=12, zip_size=0, hint=0, mtr=0x7fa5b0762fb0, init_mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:1436 #8 0x00007fa5b12ef991 in fseg_alloc_free_page_low (space=12, zip_size=0, seg_inode=0x7fa4bc53c0f2 "", hint=0, direction=111 'o', mtr=0x7fa5b0762fb0, init_mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:2501 #9 0x00007fa5b12efe34 in fseg_alloc_free_page_general (seg_header=0x7fa4bc53804a "", hint=8, direction=111 'o', has_done_reservation=1, mtr=0x7fa5b0762fb0, init_mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:2655 #10 0x00007fa5b1220a54 in btr_page_alloc_low (index=0x7fa473037f78, hint_page_no=8, file_direction=111 'o', level=0, mtr=0x7fa5b0762fb0, init_mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/btr/btr0btr.cc:1185 #11 0x00007fa5b1220acb in btr_page_alloc (index=0x7fa473037f78, hint_page_no=8, file_direction=111 'o', level=0, mtr=0x7fa5b0762fb0, init_mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/btr/btr0btr.cc:1237 #12 0x00007fa5b1224ef4 in btr_page_split_and_insert (flags=23, cursor=0x7fa5b0762f30, offsets=0x7fa5b0762ec0, heap=0x7fa5b0762e90, tuple=0x7fa4737fbe78, n_ext=0, mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/btr/btr0btr.cc:3259 #13 0x00007fa5b1236254 in btr_cur_pessimistic_insert (flags=23, cursor=0x7fa5b0762f30, offsets=0x7fa5b0762ec0, heap=0x7fa5b0762e90, entry=0x7fa4737fbe78, rec=0x7fa5b0762eb8, big_rec=0x7fa5b0762eb0, n_ext=0, thr=0x0, mtr=0x7fa5b0762fb0) at /data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc:1785 #14 0x00007fa5b116d2c6 in row_merge_insert_index_tuples (trx_id=2992, index=0x7fa473037f78, old_table=0x7fa45e372ff8, fd=93, block=0x7fa4f4434000 "", table_total_rows=1017, pct_progress=46.6666641, pct_cost=20, crypt_data=0x0, crypt_block=0x0, space=12) at /data/src/10.1-bug/storage/xtradb/row/row0merge.cc:2897 #15 0x00007fa5b11700e3 in row_merge_build_indexes (trx=0x7fa45e08a678, old_table=0x7fa45e372ff8, new_table=0x7fa45e372d78, online=true, indexes=0x7fa4737f2ab8, key_numbers=0x7fa4737f2ac8, n_indexes=2, table=0x7fa473134070, add_cols=0x0, col_map=0x7fa4737f2b38, add_autoinc=18446744073709551615, sequence=...) at /data/src/10.1-bug/storage/xtradb/row/row0merge.cc:4235 #16 0x00007fa5b10910a6 in ha_innobase::inplace_alter_table (this=0x7fa4730a8088, altered_table=0x7fa473134070, ha_alter_info=0x7fa5b0763b60) at /data/src/10.1-bug/storage/xtradb/handler/handler0alter.cc:4207 #17 0x00007fa5b0d0257d in handler::ha_inplace_alter_table (this=0x7fa4730a8088, altered_table=0x7fa473134070, ha_alter_info=0x7fa5b0763b60) at /data/src/10.1-bug/sql/handler.h:3704 #18 0x00007fa5b0cfa71c in mysql_inplace_alter_table (thd=0x7fa46f616070, table_list=0x7fa45e026198, table=0x7fa473840c70, altered_table=0x7fa473134070, ha_alter_info=0x7fa5b0763b60, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7fa5b0763bd0, alter_ctx=0x7fa5b0764770) at /data/src/10.1-bug/sql/sql_table.cc:7124 #19 0x00007fa5b0cfef7e in mysql_alter_table (thd=0x7fa46f616070, new_db=0x7fa45e026788 "test", new_name=0x0, create_info=0x7fa5b0765360, table_list=0x7fa45e026198, alter_info=0x7fa5b07652d0, order_num=0, order=0x0, ignore=false) at /data/src/10.1-bug/sql/sql_table.cc:8936 #20 0x00007fa5b0d6e3bc in Sql_cmd_alter_table::execute (this=0x7fa45e0267b8, thd=0x7fa46f616070) at /data/src/10.1-bug/sql/sql_alter.cc:325 #21 0x00007fa5b0c42002 in mysql_execute_command (thd=0x7fa46f616070) at /data/src/10.1-bug/sql/sql_parse.cc:5670 #22 0x00007fa5b0c46330 in mysql_parse (thd=0x7fa46f616070, rawbuf=0x7fa45e026088 "ALTER TABLE `t1` DROP COLUMN IF EXISTS XXXX", length=43, parser_state=0x7fa5b0766630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #23 0x00007fa5b0c34d39 in dispatch_command (command=COM_QUERY, thd=0x7fa46f616070, packet=0x7fa46f61f071 "ALTER TABLE `t1` DROP COLUMN IF EXISTS XXXX", packet_length=43) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #24 0x00007fa5b0c33a70 in do_command (thd=0x7fa46f616070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #25 0x00007fa5b0d69915 in do_handle_one_connection (thd_arg=0x7fa46f616070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #26 0x00007fa5b0d69679 in handle_one_connection (arg=0x7fa46f616070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #27 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b0767b00) at pthread_create.c:309 #28 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 38 (Thread 0x7fa5b1be3780 (LWP 9903)): #0 0x00007fa5ae4e3d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b0b722af in handle_connections_sockets () at /data/src/10.1-bug/sql/mysqld.cc:6514 #2 0x00007fa5b0b7127b in mysqld_main (argc=101, argv=0x7fa5adc154c0) at /data/src/10.1-bug/sql/mysqld.cc:5939 #3 0x00007fa5b0b664f0 in main (argc=12, argv=0x7ffc03561408) at /data/src/10.1-bug/sql/main.cc:25 Thread 37 (Thread 0x7fa468bf5700 (LWP 9940)): #0 0x00007fa5ae4e5ae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b1105537 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007fa5b125597f in btr_defragment_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/btr/btr0defragment.cc:758 #3 0x00007fa5b03340a4 in start_thread (arg=0x7fa468bf5700) at pthread_create.c:309 #4 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 36 (Thread 0x7fa47d3fe700 (LWP 9908)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35150, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=1, message1=0x7fa47d3fde58, message2=0x7fa47d3fde60, type=0x7fa47d3fde68, space_id=0x7fa47d3fde70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=1) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eec8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47d3fe700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 35 (Thread 0x7fa46b3fa700 (LWP 9935)): #0 0x00007fa5ae4e5ae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b1105537 in os_thread_sleep (tm=999000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007fa5b1277ad6 in page_cleaner_sleep_if_needed (next_loop_time=1474121907164) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007fa5b1277db6 in buf_flush_page_cleaner_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2762 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46b3fa700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 34 (Thread 0x7fa5b1abbb00 (LWP 9947)): #0 0x00007fa5ae4e3d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b1524242 in vio_io_wait (vio=0x7fa4f43be4f0, event=VIO_IO_EVENT_READ, timeout=28800000) at /data/src/10.1-bug/vio/viosocket.c:992 #2 0x00007fa5b1522ab0 in vio_socket_io_wait (vio=0x7fa4f43be4f0, event=VIO_IO_EVENT_READ) at /data/src/10.1-bug/vio/viosocket.c:108 #3 0x00007fa5b1522c65 in vio_read (vio=0x7fa4f43be4f0, buf=0x7fa4853f6070 "\a", size=4) at /data/src/10.1-bug/vio/viosocket.c:184 #4 0x00007fa5b0b7a934 in my_real_read (net=0x7fa4853f0330, complen=0x7fa5b1abad80, header=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:875 #5 0x00007fa5b0b7b036 in my_net_read_packet (net=0x7fa4853f0330, read_from_server=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:1138 #6 0x00007fa5b0c334c0 in do_command (thd=0x7fa4853f0070) at /data/src/10.1-bug/sql/sql_parse.cc:985 #7 0x00007fa5b0d69915 in do_handle_one_connection (thd_arg=0x7fa4853ea070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #8 0x00007fa5b0d69679 in handle_one_connection (arg=0x7fa4853ea070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #9 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b1abbb00) at pthread_create.c:309 #10 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 33 (Thread 0x7fa46abf9700 (LWP 9936)): #0 0x00007fa5ae4e5ae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b1105537 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007fa5b1277ad6 in page_cleaner_sleep_if_needed (next_loop_time=1474121907163) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007fa5b1278378 in buf_flush_lru_manager_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2912 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46abf9700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 32 (Thread 0x7fa477bf3700 (LWP 9919)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=12, message1=0x7fa477bf2e58, message2=0x7fa477bf2e60, type=0x7fa477bf2e68, space_id=0x7fa477bf2e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=12) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef20 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa477bf3700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 31 (Thread 0x7fa46cbfd700 (LWP 9932)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b11048cd in os_cond_wait_timed (cond=0x7fa5adff1278, fast_mutex=0x7fa5adff1240, abstime=0x7fa46cbfce40) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007fa5b1104ec7 in os_event_wait_time_low (event=0x7fa5adff1240, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007fa5b11c6d97 in srv_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2134 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46cbfd700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 30 (Thread 0x7fa46c3fc700 (LWP 9933)): #0 0x00007fa5ae4e5ae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa5b1105537 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007fa5b11c8f00 in srv_master_sleep () at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3186 #3 0x00007fa5b11c9043 in srv_master_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3236 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46c3fc700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 29 (Thread 0x7fa4773f2700 (LWP 9920)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=13, message1=0x7fa4773f1e58, message2=0x7fa4773f1e60, type=0x7fa4773f1e68, space_id=0x7fa4773f1e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=13) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef28 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4773f2700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 28 (Thread 0x7fa46d3fe700 (LWP 9931)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b11048cd in os_cond_wait_timed (cond=0x7fa5adff1208, fast_mutex=0x7fa5adff11d0, abstime=0x7fa46d3fde10) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007fa5b1104ec7 in os_event_wait_time_low (event=0x7fa5adff11d0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007fa5b11c7573 in srv_error_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2410 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46d3fe700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 27 (Thread 0x7fa5b1b05b00 (LWP 9945)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa5b14d05ae in safe_cond_wait (cond=0x7fa5b1ec00e0 , mp=0x7fa5b1ec3300 , file=0x7fa5b1535740 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007fa5b0b8ebc0 in inline_mysql_cond_wait (that=0x7fa5b1ec00e0 , mutex=0x7fa5b1ec3300 , src_file=0x7fa5b1535ee0 "/data/src/10.1-bug/sql/slave.cc", src_line=341) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007fa5b0b8f8e3 in handle_slave_background (arg=0x0) at /data/src/10.1-bug/sql/slave.cc:341 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b1b05b00) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 26 (Thread 0x7fa46dbff700 (LWP 9930)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b11048cd in os_cond_wait_timed (cond=0x7fa4f435e2e8, fast_mutex=0x7fa4f435e2b0, abstime=0x7fa46dbfee70) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007fa5b1104ec7 in os_event_wait_time_low (event=0x7fa4f435e2b0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007fa5b10d4e4b in lock_wait_timeout_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46dbff700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 25 (Thread 0x7fa476bf1700 (LWP 9921)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=14, message1=0x7fa476bf0e58, message2=0x7fa476bf0e60, type=0x7fa476bf0e68, space_id=0x7fa476bf0e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=14) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef30 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa476bf1700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 24 (Thread 0x7fa5b1b4fb00 (LWP 9944)): #0 do_sigwait (set=, sig=0x7fa5b1b4f220) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63 #1 0x00007fa5b033b693 in __sigwait (set=0x7fa5b1b4f250, sig=0x0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97 #2 0x00007fa5b0b6c85f in signal_hand (arg=0x0) at /data/src/10.1-bug/sql/mysqld.cc:3465 #3 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b1b4fb00) at pthread_create.c:309 #4 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 23 (Thread 0x7fa47a3f8700 (LWP 9914)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=7, message1=0x7fa47a3f7e58, message2=0x7fa47a3f7e60, type=0x7fa47a3f7e68, space_id=0x7fa47a3f7e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=7) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eef8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47a3f8700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 22 (Thread 0x7fa475bef700 (LWP 9923)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=16, message1=0x7fa475beee58, message2=0x7fa475beee60, type=0x7fa475beee68, space_id=0x7fa475beee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=16) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef40 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa475bef700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 21 (Thread 0x7fa4753ee700 (LWP 9924)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=17, message1=0x7fa4753ede58, message2=0x7fa4753ede60, type=0x7fa4753ede68, space_id=0x7fa4753ede70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=17) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef48 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4753ee700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 20 (Thread 0x7fa5b071db00 (LWP 9967)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa5b14d05ae in safe_cond_wait (cond=0x7fa5b1ec3e98 , mp=0x7fa5b1ec3ee0 , file=0x7fa5b1544240 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007fa5b0be3ec9 in inline_mysql_cond_wait (that=0x7fa5b1ec3e98 , mutex=0x7fa5b1ec3ee0 , src_file=0x7fa5b1544338 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=644) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007fa5b0be45fe in Query_cache::try_lock (this=0x7fa5b1ec3e40 , thd=0x7fa46f624070, mode=Query_cache::WAIT) at /data/src/10.1-bug/sql/sql_cache.cc:644 #4 0x00007fa59b1fc2a0 in qc_info_fill_table (thd=0x7fa46f624070, tables=0x7fa45e8266b8, cond=0x0) at /data/src/10.1-bug/plugin/qc_info/qc_info.cc:123 #5 0x00007fa5b0cd9ef9 in get_schema_tables_result (join=0x7fa45e828788, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.1-bug/sql/sql_show.cc:8152 #6 0x00007fa5b0c7a2f2 in JOIN::exec_inner (this=0x7fa45e828788) at /data/src/10.1-bug/sql/sql_select.cc:2657 #7 0x00007fa5b0c79999 in JOIN::exec (this=0x7fa45e828788) at /data/src/10.1-bug/sql/sql_select.cc:2505 #8 0x00007fa5b0c7cf07 in mysql_select (thd=0x7fa46f624070, rref_pointer_array=0x7fa46f628430, tables=0x7fa45e8266b8, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7fa45e828768, unit=0x7fa46f627ab8, select_lex=0x7fa46f6281b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #9 0x00007fa5b0c729f8 in handle_select (thd=0x7fa46f624070, lex=0x7fa46f6279f0, result=0x7fa45e828768, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #10 0x00007fa5b0c42bd7 in execute_sqlcom_select (thd=0x7fa46f624070, all_tables=0x7fa45e8266b8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #11 0x00007fa5b0c38ae4 in mysql_execute_command (thd=0x7fa46f624070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #12 0x00007fa5b0c46330 in mysql_parse (thd=0x7fa46f624070, rawbuf=0x7fa45e826088 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", length=121, parser_state=0x7fa5b071c630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #13 0x00007fa5b0c34d39 in dispatch_command (command=COM_QUERY, thd=0x7fa46f624070, packet=0x7fa46f637071 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", packet_length=121) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #14 0x00007fa5b0c33a70 in do_command (thd=0x7fa46f624070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #15 0x00007fa5b0d69915 in do_handle_one_connection (thd_arg=0x7fa46f624070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #16 0x00007fa5b0d69679 in handle_one_connection (arg=0x7fa46f624070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #17 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b071db00) at pthread_create.c:309 #18 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7fa47bbfb700 (LWP 9911)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=4, message1=0x7fa47bbfae58, message2=0x7fa47bbfae60, type=0x7fa47bbfae68, space_id=0x7fa47bbfae70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=4) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eee0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47bbfb700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7fa5b1b99b00 (LWP 9941)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa5b14d05ae in safe_cond_wait (cond=0x7fa5b1eef0e0 , mp=0x7fa5b1eef030 , file=0x7fa5b1620600 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007fa5b0f41be7 in inline_mysql_cond_wait (that=0x7fa5b1eef0e0 , mutex=0x7fa5b1eef030 , src_file=0x7fa5b1620ab4 "/data/src/10.1-bug/sql/log.cc", src_line=9612) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007fa5b0f59f85 in binlog_background_thread (arg=0x0) at /data/src/10.1-bug/sql/log.cc:9612 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b1b99b00) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7fa4763f0700 (LWP 9922)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=15, message1=0x7fa4763efe58, message2=0x7fa4763efe60, type=0x7fa4763efe68, space_id=0x7fa4763efe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=15) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef38 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4763f0700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7fa469bf7700 (LWP 9938)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b11048cd in os_cond_wait_timed (cond=0x7fa4f435e5f8, fast_mutex=0x7fa4f435e5c0, abstime=0x7fa469bf6e90) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007fa5b1104ec7 in os_event_wait_time_low (event=0x7fa4f435e5c0, time_in_usec=10000000, reset_sig_count=6) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007fa5b12c84c6 in dict_stats_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/dict/dict0stats_bg.cc:546 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa469bf7700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 15 (Thread 0x7fa478bf5700 (LWP 9917)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=10, message1=0x7fa478bf4e58, message2=0x7fa478bf4e60, type=0x7fa478bf4e68, space_id=0x7fa478bf4e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=10) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef10 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa478bf5700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7fa4693f6700 (LWP 9939)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b11048cd in os_cond_wait_timed (cond=0x7fa4f435e828, fast_mutex=0x7fa4f435e7f0, abstime=0x7fa4693f5de0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007fa5b1104ec7 in os_event_wait_time_low (event=0x7fa4f435e7f0, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007fa5b120f9b1 in ib_wqueue_timedwait (wq=0x7fa5adc38df8, wait_in_usecs=5000000) at /data/src/10.1-bug/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x00007fa5b131481f in fts_optimize_thread (arg=0x7fa5adc38df8) at /data/src/10.1-bug/storage/xtradb/fts/fts0opt.cc:3064 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4693f6700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7fa46a3f8700 (LWP 9937)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa5b11049b5 in os_cond_wait (cond=0x7fa5adff12e8, fast_mutex=0x7fa5adff12b0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007fa5b1104ce8 in os_event_wait_low (event=0x7fa5adff12b0, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007fa5b126f4f0 in buf_dump_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0dump.cc:703 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa46a3f8700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7fa47c3fc700 (LWP 9910)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=3, message1=0x7fa47c3fbe58, message2=0x7fa47c3fbe60, type=0x7fa47c3fbe68, space_id=0x7fa47c3fbe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=3) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eed8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47c3fc700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 11 (Thread 0x7fa47b3fa700 (LWP 9912)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=5, message1=0x7fa47b3f9e58, message2=0x7fa47b3f9e60, type=0x7fa47b3f9e68, space_id=0x7fa47b3f9e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=5) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eee8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47b3fa700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7fa4783f4700 (LWP 9918)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351f0, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=11, message1=0x7fa4783f3e58, message2=0x7fa4783f3e60, type=0x7fa4783f3e68, space_id=0x7fa4783f3e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=11) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef18 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4783f4700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7fa46bbfb700 (LWP 9934)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa5b11049b5 in os_cond_wait (cond=0x7fa5adff1198, fast_mutex=0x7fa5adff1160) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007fa5b1104ce8 in os_event_wait_low (event=0x7fa5adff1160, reset_sig_count=54) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007fa5b11c99e8 in srv_purge_coordinator_suspend (slot=0x7fa5adc6d7c8, rseg_history_len=62) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3546 #4 0x00007fa5b11c9efa in srv_purge_coordinator_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3668 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa46bbfb700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7fa47abf9700 (LWP 9913)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=6, message1=0x7fa47abf8e58, message2=0x7fa47abf8e60, type=0x7fa47abf8e68, space_id=0x7fa47abf8e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=6) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eef0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47abf9700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7fa47dbff700 (LWP 9907)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade351a0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=0, message1=0x7fa47dbfee58, message2=0x7fa47dbfee60, type=0x7fa47dbfee68, space_id=0x7fa47dbfee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=0) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eec0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47dbff700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7fa4793f6700 (LWP 9916)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=9, message1=0x7fa4793f5e58, message2=0x7fa4793f5e60, type=0x7fa4793f5e68, space_id=0x7fa4793f5e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=9) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef08 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa4793f6700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7fa479bf7700 (LWP 9915)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=8, message1=0x7fa479bf6e58, message2=0x7fa479bf6e60, type=0x7fa479bf6e68, space_id=0x7fa479bf6e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=8) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1ef00 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa479bf7700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7fa59bbff700 (LWP 9906)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b14d08b8 in safe_cond_timedwait (cond=0x7fa5b2732100 , mp=0x7fa5b2732040 , abstime=0x7fa59bbfee10, file=0x7fa5b1718dd0 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007fa5b139463f in inline_mysql_cond_timedwait (that=0x7fa5b2732100 , mutex=0x7fa5b2732040 , abstime=0x7fa59bbfee10, src_file=0x7fa5b1718e08 "/data/src/10.1-bug/storage/maria/ma_servicethread.c", src_line=116) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007fa5b1394ad5 in my_service_thread_sleep (control=0x7fa5b1d09280 , sleep_time=30000000000) at /data/src/10.1-bug/storage/maria/ma_servicethread.c:115 #4 0x00007fa5b138980c in ma_checkpoint_background (arg=0x1e) at /data/src/10.1-bug/storage/maria/ma_checkpoint.c:708 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa59bbff700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7fa5a9bff700 (LWP 9905)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa5b14d08b8 in safe_cond_timedwait (cond=0x7fa5b273b7c0 , mp=0x7fa5b273b700 , abstime=0x7fa5a9bfeec0, file=0x7fa5b173a4e0 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007fa5b14d1855 in inline_mysql_cond_timedwait (that=0x7fa5b273b7c0 , mutex=0x7fa5b273b700 , abstime=0x7fa5a9bfeec0, src_file=0x7fa5b173a518 "/data/src/10.1-bug/mysys/thr_timer.c", src_line=292) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007fa5b14d22fc in timer_handler (arg=0x0) at /data/src/10.1-bug/mysys/thr_timer.c:292 #4 0x00007fa5b03340a4 in start_thread (arg=0x7fa5a9bff700) at pthread_create.c:309 #5 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fa47cbfd700 (LWP 9909)): #0 0x00007fa5b012a6ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007fa5b1101cab in os_aio_linux_collect (array=0x7fa5ade35100, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007fa5b110207d in os_aio_linux_handle (global_seg=2, message1=0x7fa47cbfce58, message2=0x7fa47cbfce60, type=0x7fa47cbfce68, space_id=0x7fa47cbfce70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007fa5b12dc556 in fil_aio_wait (segment=2) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007fa5b11ccb2f in io_handler_thread (arg=0x7fa5b1f1eed0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007fa5b03340a4 in start_thread (arg=0x7fa47cbfd700) at pthread_create.c:309 #6 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fa5b1a71b00 (LWP 9955)): #0 0x00007fa5b0339101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 #1 0x00007fa5b14cb0ac in my_write_core (sig=11) at /data/src/10.1-bug/mysys/stacktrace.c:477 #2 0x00007fa5b0e6f495 in handle_fatal_signal (sig=11) at /data/src/10.1-bug/sql/signal_handler.cc:294 #3 #4 0x00007fa5b0bed0d3 in Query_cache::double_linked_list_exclude (point=0x7fa45e1741d8, list_pointer=0x7fa5b1ec3fa0 ) at /data/src/10.1-bug/sql/sql_cache.cc:3941 #5 0x00007fa5b0bea547 in Query_cache::free_query_internal (this=0x7fa5b1ec3e40 , query_block=0x7fa45e1741d8) at /data/src/10.1-bug/sql/sql_cache.cc:2889 #6 0x00007fa5b0bea710 in Query_cache::free_query (this=0x7fa5b1ec3e40 , query_block=0x7fa45e1741d8) at /data/src/10.1-bug/sql/sql_cache.cc:2950 #7 0x00007fa5b0be5605 in Query_cache::insert (this=0x7fa5b1ec3e40 , thd=0x7fa46f60a070, query_cache_tls=0x7fa46f60a328, packet=0x7fa4853fb070 "\001", length=16384, pkt_nr=1638) at /data/src/10.1-bug/sql/sql_cache.cc:1114 #8 0x00007fa5b0be538d in query_cache_insert (thd_arg=0x7fa46f60a070, packet=0x7fa4853fb070 "\001", length=16384, pkt_nr=1638) at /data/src/10.1-bug/sql/sql_cache.cc:1057 #9 0x00007fa5b0b7a352 in net_real_write (net=0x7fa46f60a330, packet=0x7fa4853fb070 "\001", len=16384) at /data/src/10.1-bug/sql/net_serv.cc:606 #10 0x00007fa5b0b7a1cf in net_write_buff (net=0x7fa46f60a330, packet=0x7fa5b1a6f060 "\006", len=4) at /data/src/10.1-bug/sql/net_serv.cc:553 #11 0x00007fa5b0b79e10 in my_net_write (net=0x7fa46f60a330, packet=0x7fa473018070 "\005\062\067\067\070\063est\002t5\002t5\002id\002id\f?", len=6) at /data/src/10.1-bug/sql/net_serv.cc:419 #12 0x00007fa5b0b81d1c in Protocol::write (this=0x7fa46f60a600) at /data/src/10.1-bug/sql/protocol.cc:888 #13 0x00007fa5b0bf98a1 in select_send::send_data (this=0x7fa473026e78, items=...) at /data/src/10.1-bug/sql/sql_class.cc:2838 #14 0x00007fa5b0ca4a6b in end_send (join=0x7fa473026e98, join_tab=0x7fa473028b28, end_of_records=false) at /data/src/10.1-bug/sql/sql_select.cc:19432 #15 0x00007fa5b0ca27e4 in evaluate_join_record (join=0x7fa473026e98, join_tab=0x7fa4730287e0, error=0) at /data/src/10.1-bug/sql/sql_select.cc:18521 #16 0x00007fa5b0ca2296 in sub_select (join=0x7fa473026e98, join_tab=0x7fa4730287e0, end_of_records=false) at /data/src/10.1-bug/sql/sql_select.cc:18335 #17 0x00007fa5b0ca1976 in do_select (join=0x7fa473026e98, fields=0x7fa46f60e2d0, table=0x0, procedure=0x0) at /data/src/10.1-bug/sql/sql_select.cc:17951 #18 0x00007fa5b0c7c6ef in JOIN::exec_inner (this=0x7fa473026e98) at /data/src/10.1-bug/sql/sql_select.cc:3215 #19 0x00007fa5b0c79999 in JOIN::exec (this=0x7fa473026e98) at /data/src/10.1-bug/sql/sql_select.cc:2505 #20 0x00007fa5b0c7cf07 in mysql_select (thd=0x7fa46f60a070, rref_pointer_array=0x7fa46f60e430, tables=0x7fa4730262e8, wild_num=0, fields=..., conds=0x7fa473026b10, og_num=1, order=0x7fa473026d68, group=0x0, having=0x0, proc_param=0x0, select_options=2147748672, result=0x7fa473026e78, unit=0x7fa46f60dab8, select_lex=0x7fa46f60e1b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #21 0x00007fa5b0c729f8 in handle_select (thd=0x7fa46f60a070, lex=0x7fa46f60d9f0, result=0x7fa473026e78, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #22 0x00007fa5b0c42bd7 in execute_sqlcom_select (thd=0x7fa46f60a070, all_tables=0x7fa4730262e8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #23 0x00007fa5b0c38ae4 in mysql_execute_command (thd=0x7fa46f60a070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #24 0x00007fa5b0c46330 in mysql_parse (thd=0x7fa46f60a070, rawbuf=0x7fa473026088 "SELECT SQL_CACHE `id` FROM `t5` WHERE `id` BETWEEN 26315 AND 37282 ORDER BY `c`", length=79, parser_state=0x7fa5b1a70630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #25 0x00007fa5b0c34d39 in dispatch_command (command=COM_QUERY, thd=0x7fa46f60a070, packet=0x7fa4853fb071 "", packet_length=79) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #26 0x00007fa5b0c33a70 in do_command (thd=0x7fa46f60a070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #27 0x00007fa5b0d69915 in do_handle_one_connection (thd_arg=0x7fa46f60a070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #28 0x00007fa5b0d69679 in handle_one_connection (arg=0x7fa46f60a070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #29 0x00007fa5b03340a4 in start_thread (arg=0x7fa5b1a71b00) at pthread_create.c:309 #30 0x00007fa5ae4ec87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111