[New LWP 6944] [New LWP 6891] [New LWP 6890] [New LWP 6893] [New LWP 6895] [New LWP 6904] [New LWP 6887] [New LWP 6888] [New LWP 6902] [New LWP 6901] [New LWP 6900] [New LWP 6885] [New LWP 6896] [New LWP 6919] [New LWP 6889] [New LWP 6903] [New LWP 6917] [New LWP 6942] [New LWP 6912] [New LWP 6940] [New LWP 6950] [New LWP 6898] [New LWP 6923] [New LWP 6892] [New LWP 6906] [New LWP 6913] [New LWP 6905] [New LWP 6894] [New LWP 6924] [New LWP 6932] [New LWP 6926] [New LWP 6916] [New LWP 6954] [New LWP 6948] [New LWP 6897] [New LWP 6915] [New LWP 6920] [New LWP 6956] [New LWP 6921] [New LWP 6918] [New LWP 6922] [New LWP 6914] [New LWP 6899] [New LWP 6927] [New LWP 6946] [New LWP 6952] [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 0x00007f9245a9f101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 Thread 46 (Thread 0x7f9243965b00 (LWP 6952)): #0 0x00007f9245aa106d in fsync () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f9246864a07 in os_file_fsync (file=60) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:2698 #2 0x00007f9246864afe in os_file_flush_func (file=60) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:2798 #3 0x00007f9246a34525 in pfs_os_file_flush_func (file=60, src_file=0x7f9246e53ca0 "/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 0x00007f9246a42a68 in fil_flush (space_id=86) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6246 #5 0x00007f9246a412cf in fil_extend_space_to_desired_size (actual_size=0x7f9243962118, space_id=86, size_after_extend=640) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:5432 #6 0x00007f9246a51466 in fsp_try_extend_data_file (actual_increase=0x7f92439621a8, space=86, header=0x7f91bdee8026 "", mtr=0x7f92439623f0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:1026 #7 0x00007f9246a565e9 in fsp_reserve_free_extents (n_reserved=0x7f9243962260, space=86, n_ext=3, alloc_type=1000000, mtr=0x7f92439623f0) at /data/src/10.1-bug/storage/xtradb/fsp/fsp0fsp.cc:2829 #8 0x00007f924699c0b2 in btr_cur_pessimistic_insert (flags=0, cursor=0x7f9243962370, offsets=0x7f9243962330, heap=0x7f9243962300, entry=0x7f923f432578, rec=0x7f9243962338, big_rec=0x7f9243962340, n_ext=0, thr=0x7f90f389bb90, mtr=0x7f92439623f0) at /data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc:1735 #9 0x00007f92468c5135 in row_ins_sec_index_entry_low (flags=0, mode=33, index=0x7f9104ad1d78, offsets_heap=0x7f923f432a00, heap=0x7f923f432000, entry=0x7f923f432578, trx_id=0, thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:2896 #10 0x00007f92468c57bc in row_ins_sec_index_entry (index=0x7f9104ad1d78, entry=0x7f923f432578, thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3072 #11 0x00007f924691c46e in row_upd_sec_index_entry (node=0x7f90f389b868, thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0upd.cc:2045 #12 0x00007f924691c5a3 in row_upd_sec_step (node=0x7f90f389b868, thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0upd.cc:2072 #13 0x00007f924691e21e in row_upd (node=0x7f90f389b868, thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0upd.cc:2882 #14 0x00007f924691e503 in row_upd_step (thr=0x7f90f389bb90) at /data/src/10.1-bug/storage/xtradb/row/row0upd.cc:2999 #15 0x00007f92468df7ef in row_update_for_mysql (mysql_rec=0x7f90f38386b8 "\377n", ' ' ..., prebuilt=0x7f90f389b078) at /data/src/10.1-bug/storage/xtradb/row/row0mysql.cc:1816 #16 0x00007f92467d0770 in ha_innobase::update_row (this=0x7f90f3975888, old_row=0x7f90f38386b8 "\377n", ' ' ..., new_row=0x7f90f3838488 "\377n", ' ' ...) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:9351 #17 0x00007f92465e3a47 in handler::ha_update_row (this=0x7f90f3975888, old_data=0x7f90f38386b8 "\377n", ' ' ..., new_data=0x7f90f3838488 "\377n", ' ' ...) at /data/src/10.1-bug/sql/handler.cc:5944 #18 0x00007f924647a0df in mysql_update (thd=0x7f9104a91070, table_list=0x7f923f4261b0, fields=..., values=..., conds=0x7f923f426cc8, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=true, found_return=0x7f9243963d20, updated_return=0x7f9243963db0) at /data/src/10.1-bug/sql/sql_update.cc:835 #19 0x00007f92463a0e7a in mysql_execute_command (thd=0x7f9104a91070) at /data/src/10.1-bug/sql/sql_parse.cc:3748 #20 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a91070, rawbuf=0x7f923f426088 "UPDATE IGNORE `t4` SET `id` = `id` + 1 WHERE `id` = 3509", length=56, parser_state=0x7f9243964630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #21 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a91070, packet=0x7f9104a97071 "UPDATE IGNORE `t4` SET `id` = `id` + 1 WHERE `id` = 3509", packet_length=56) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #22 0x00007f9246399ad4 in do_command (thd=0x7f9104a91070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #23 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a91070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #24 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a91070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #25 0x00007f9245a9a0a4 in start_thread (arg=0x7f9243965b00) at pthread_create.c:309 #26 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 45 (Thread 0x7f9245defb00 (LWP 6946)): #0 0x00007f9245aa106d in fsync () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f9246c2df04 in my_sync (fd=23, my_flags=65552) at /data/src/10.1-bug/mysys/my_sync.c:97 #2 0x00007f92466a8bbc in inline_mysql_file_sync (src_file=0x7f9246d86b34 "/data/src/10.1-bug/sql/log.cc", src_line=5312, fd=23, flags=65552) at /data/src/10.1-bug/include/mysql/psi/mysql_file.h:1414 #3 0x00007f92466b59f2 in MYSQL_BIN_LOG::flush_and_sync (this=0x7f9247654080 , synced=0x7f9245decee5) at /data/src/10.1-bug/sql/log.cc:5312 #4 0x00007f92466bae16 in MYSQL_BIN_LOG::trx_group_commit_leader (this=0x7f9247654080 , leader=0x7f9245ded010) at /data/src/10.1-bug/sql/log.cc:7622 #5 0x00007f92466ba64b in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=0x7f9247654080 , entry=0x7f9245ded010) at /data/src/10.1-bug/sql/log.cc:7395 #6 0x00007f92466b9d53 in MYSQL_BIN_LOG::write_transaction_to_binlog (this=0x7f9247654080 , thd=0x7f9104a68070, cache_mngr=0x7f90f34fc470, end_ev=0x7f9245ded1b0, all=false, using_stmt_cache=true, using_trx_cache=true) at /data/src/10.1-bug/sql/log.cc:7069 #7 0x00007f92466ac3cb in binlog_flush_cache (thd=0x7f9104a68070, cache_mngr=0x7f90f34fc470, end_ev=0x7f9245ded1b0, all=false, using_stmt=true, using_trx=true) at /data/src/10.1-bug/sql/log.cc:1750 #8 0x00007f92466ac88b in binlog_commit_flush_xid_caches (thd=0x7f9104a68070, cache_mngr=0x7f90f34fc470, all=false, xid=1082186) at /data/src/10.1-bug/sql/log.cc:1856 #9 0x00007f92466bf550 in MYSQL_BIN_LOG::log_and_order (this=0x7f9247654080 , thd=0x7f9104a68070, xid=1082186, all=false, need_prepare_ordered=false, need_commit_ordered=true) at /data/src/10.1-bug/sql/log.cc:9347 #10 0x00007f92465d86cc in ha_commit_trans (thd=0x7f9104a68070, all=false) at /data/src/10.1-bug/sql/handler.cc:1449 #11 0x00007f92464e45f4 in trans_commit_stmt (thd=0x7f9104a68070) at /data/src/10.1-bug/sql/transaction.cc:434 #12 0x00007f92463a823f in mysql_execute_command (thd=0x7f9104a68070) at /data/src/10.1-bug/sql/sql_parse.cc:5716 #13 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a68070, rawbuf=0x7f90f3426088 "UPDATE `t5` SET `pad` = 'f' WHERE `id` = 49465", length=46, parser_state=0x7f9245dee630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #14 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a68070, packet=0x7f9104a6e071 "UPDATE `t5` SET `pad` = 'f' WHERE `id` = 49465", packet_length=46) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #15 0x00007f9246399ad4 in do_command (thd=0x7f9104a68070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #16 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a68070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #17 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a68070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #18 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245defb00) at pthread_create.c:309 #19 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 44 (Thread 0x7f9247221b00 (LWP 6927)): #0 0x00007f9243c49d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f9246c8a28c in vio_io_wait (vio=0x7f91897be4f0, event=VIO_IO_EVENT_READ, timeout=28800000) at /data/src/10.1-bug/vio/viosocket.c:992 #2 0x00007f9246c88afa in vio_socket_io_wait (vio=0x7f91897be4f0, event=VIO_IO_EVENT_READ) at /data/src/10.1-bug/vio/viosocket.c:108 #3 0x00007f9246c88caf in vio_read (vio=0x7f91897be4f0, buf=0x7f911a7f6070 "\a", size=4) at /data/src/10.1-bug/vio/viosocket.c:184 #4 0x00007f92462e0934 in my_real_read (net=0x7f911a7f0330, complen=0x7f9247220d80, header=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:875 #5 0x00007f92462e1036 in my_net_read_packet (net=0x7f911a7f0330, read_from_server=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:1138 #6 0x00007f9246399524 in do_command (thd=0x7f911a7f0070) at /data/src/10.1-bug/sql/sql_parse.cc:985 #7 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f911a7ea070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #8 0x00007f92464cf6dd in handle_one_connection (arg=0x7f911a7ea070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #9 0x00007f9245a9a0a4 in start_thread (arg=0x7f9247221b00) at pthread_create.c:309 #10 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 43 (Thread 0x7f910dff5700 (LWP 6899)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=10, message1=0x7f910dff4e58, message2=0x7f910dff4e60, type=0x7f910dff4e68, space_id=0x7f910dff4e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=10) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f10 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910dff5700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 42 (Thread 0x7f9101ffd700 (LWP 6914)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f924686a917 in os_cond_wait_timed (cond=0x7f92433f1278, fast_mutex=0x7f92433f1240, abstime=0x7f9101ffce40) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f924686af11 in os_event_wait_time_low (event=0x7f92433f1240, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f924692cde1 in srv_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2134 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f9101ffd700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 41 (Thread 0x7f90fdff5700 (LWP 6922)): #0 0x00007f9243c4bae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f924686b581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f92469bb9c9 in btr_defragment_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/btr/btr0defragment.cc:758 #3 0x00007f9245a9a0a4 in start_thread (arg=0x7f90fdff5700) at pthread_create.c:309 #4 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 40 (Thread 0x7f90ffff9700 (LWP 6918)): #0 0x00007f9243c4bae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f924686b581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f92469ddb20 in page_cleaner_sleep_if_needed (next_loop_time=1474119090038) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007f92469de3c2 in buf_flush_lru_manager_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2912 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f90ffff9700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 39 (Thread 0x7f90fe7f6700 (LWP 6921)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f924686a917 in os_cond_wait_timed (cond=0x7f918975e828, fast_mutex=0x7f918975e7f0, abstime=0x7f90fe7f5de0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f924686af11 in os_event_wait_time_low (event=0x7f918975e7f0, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f92469759fb in ib_wqueue_timedwait (wq=0x7f9243038df8, wait_in_usecs=5000000) at /data/src/10.1-bug/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x00007f9246a7a869 in fts_optimize_thread (arg=0x7f9243038df8) at /data/src/10.1-bug/storage/xtradb/fts/fts0opt.cc:3064 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f90fe7f6700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 38 (Thread 0x7f92438d1b00 (LWP 6956)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f9247629e98 , mp=0x7f9247629ee0 , file=0x7f9246caa280 "/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 0x00007f9246349ec9 in inline_mysql_cond_wait (that=0x7f9247629e98 , mutex=0x7f9247629ee0 , src_file=0x7f9246caa378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=727) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f924634a995 in Query_cache::lock (this=0x7f9247629e40 , thd=0x7f9104bc7070) at /data/src/10.1-bug/sql/sql_cache.cc:727 #4 0x00007f92463512cc in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104bc7070, key=0x7f9108fcd558 "test", key_length=8) at /data/src/10.1-bug/sql/sql_cache.cc:3250 #5 0x00007f9246351272 in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104bc7070, table=0x7f9109046070) at /data/src/10.1-bug/sql/sql_cache.cc:3239 #6 0x00007f92463511fe in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104bc7070, table_list=0x7f923e0571a0) at /data/src/10.1-bug/sql/sql_cache.cc:3224 #7 0x00007f924634ead3 in Query_cache::invalidate (this=0x7f9247629e40 , thd=0x7f9104bc7070, tables_used=0x7f923e0571a0, using_transactions=0 '\000') at /data/src/10.1-bug/sql/sql_cache.cc:2213 #8 0x00007f924637d2d2 in mysql_insert (thd=0x7f9104bc7070, table_list=0x7f923e0571a0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:1039 #9 0x00007f92463a14fb in mysql_execute_command (thd=0x7f9104bc7070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #10 0x00007f92463ac394 in mysql_parse (thd=0x7f9104bc7070, rawbuf=0x7f923e057088 "INSERT IGNORE INTO `t1` ( `pad` ) VALUES ( 'h' )", length=48, parser_state=0x7f92438d0630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #11 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104bc7070, packet=0x7f9104bcd071 "INSERT IGNORE INTO `t1` ( `pad` ) VALUES ( 'h' )", packet_length=48) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #12 0x00007f9246399ad4 in do_command (thd=0x7f9104bc7070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #13 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104bc7070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #14 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104bc7070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #15 0x00007f9245a9a0a4 in start_thread (arg=0x7f92438d1b00) at pthread_create.c:309 #16 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 37 (Thread 0x7f90feff7700 (LWP 6920)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f924686a917 in os_cond_wait_timed (cond=0x7f918975e5f8, fast_mutex=0x7f918975e5c0, abstime=0x7f90feff6e90) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f924686af11 in os_event_wait_time_low (event=0x7f918975e5c0, time_in_usec=10000000, reset_sig_count=33) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f9246a2e510 in dict_stats_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/dict/dict0stats_bg.cc:546 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f90feff7700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 36 (Thread 0x7f91017fc700 (LWP 6915)): #0 0x00007f9243c4bae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f924686b581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f924692ef4a in srv_master_sleep () at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3186 #3 0x00007f924692f08d in srv_master_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3236 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f91017fc700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 35 (Thread 0x7f910eff7700 (LWP 6897)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=8, message1=0x7f910eff6e58, message2=0x7f910eff6e60, type=0x7f910eff6e68, space_id=0x7f910eff6e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=8) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f00 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910eff7700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 34 (Thread 0x7f9245da5b00 (LWP 6948)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f9247629e98 , mp=0x7f9247629ee0 , file=0x7f9246caa280 "/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 0x00007f9246349ec9 in inline_mysql_cond_wait (that=0x7f9247629e98 , mutex=0x7f9247629ee0 , src_file=0x7f9246caa378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=727) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f924634a995 in Query_cache::lock (this=0x7f9247629e40 , thd=0x7f9104a73070) at /data/src/10.1-bug/sql/sql_cache.cc:727 #4 0x00007f92463512cc in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104a73070, key=0x7f9108fcdb58 "test", key_length=8) at /data/src/10.1-bug/sql/sql_cache.cc:3250 #5 0x00007f9246351272 in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104a73070, table=0x7f90f34a5470) at /data/src/10.1-bug/sql/sql_cache.cc:3239 #6 0x00007f92463511fe in Query_cache::invalidate_table (this=0x7f9247629e40 , thd=0x7f9104a73070, table_list=0x7f90f38261a0) at /data/src/10.1-bug/sql/sql_cache.cc:3224 #7 0x00007f924634ead3 in Query_cache::invalidate (this=0x7f9247629e40 , thd=0x7f9104a73070, tables_used=0x7f90f38261a0, using_transactions=0 '\000') at /data/src/10.1-bug/sql/sql_cache.cc:2213 #8 0x00007f924637d2d2 in mysql_insert (thd=0x7f9104a73070, table_list=0x7f90f38261a0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:1039 #9 0x00007f92463a14fb in mysql_execute_command (thd=0x7f9104a73070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #10 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a73070, rawbuf=0x7f90f3826088 "INSERT IGNORE INTO `t2` ( `k` ) VALUES ( 25956 )", length=48, parser_state=0x7f9245da4630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #11 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a73070, packet=0x7f9104a79071 "INSERT IGNORE INTO `t2` ( `k` ) VALUES ( 25956 )", packet_length=48) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #12 0x00007f9246399ad4 in do_command (thd=0x7f9104a73070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #13 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a73070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #14 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a73070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #15 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245da5b00) at pthread_create.c:309 #16 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 33 (Thread 0x7f924391bb00 (LWP 6954)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f924686a9ff in os_cond_wait (cond=0x7f9104ad1ee8, fast_mutex=0x7f9104ad1eb0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f924686ad32 in os_event_wait_low (event=0x7f9104ad1eb0, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f9246938882 in sync_array_wait_event (arr=0x7f92431f2500, index=1) at /data/src/10.1-bug/storage/xtradb/sync/sync0arr.cc:474 #4 0x00007f924693c25c in rw_lock_s_lock_spin (_lock=0x7f9104ad1e90, pass=0, priority_lock=true, high_priority=false, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/sync/sync0rw.cc:551 #5 0x00007f9246991c23 in rw_lock_s_lock_func (lock=0x7f9104ad1e90, pass=0, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/include/sync0rw.ic:500 #6 0x00007f9246992262 in pfs_rw_lock_s_lock_func (lock=0x7f9104ad1e90, pass=0, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/include/sync0rw.ic:1100 #7 0x00007f92469935d3 in mtr_s_lock_func (lock=0x7f9104ad1e90, file=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593, mtr=0x7f9243918b40) at /data/src/10.1-bug/storage/xtradb/include/mtr0mtr.ic:275 #8 0x00007f92469998ce in btr_cur_search_to_nth_level (index=0x7f9104ad1d78, level=0, tuple=0x7f923f399958, mode=4, latch_mode=2, cursor=0x7f9243918ac0, has_search_latch=0, file=0x7f9246e021b0 "/data/src/10.1-bug/storage/xtradb/row/row0ins.cc", line=2764, mtr=0x7f9243918b40) at /data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc:593 #9 0x00007f92468c4b3e in row_ins_sec_index_entry_low (flags=0, mode=2, index=0x7f9104ad1d78, offsets_heap=0x7f9104ad0900, heap=0x7f9104acff00, entry=0x7f923f399958, trx_id=0, thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:2764 #10 0x00007f92468c576b in row_ins_sec_index_entry (index=0x7f9104ad1d78, entry=0x7f923f399958, thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3062 #11 0x00007f92468c5881 in row_ins_index_entry (index=0x7f9104ad1d78, entry=0x7f923f399958, thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3101 #12 0x00007f92468c5b2b in row_ins_index_entry_step (node=0x7f923f041600, thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3176 #13 0x00007f92468c5e3e in row_ins (node=0x7f923f041600, thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3316 #14 0x00007f92468c61a5 in row_ins_step (thr=0x7f923f041aa8) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3441 #15 0x00007f92468deb29 in row_insert_for_mysql (mysql_rec=0x7f923f032a88 "\377", ' ' ..., prebuilt=0x7f923f041078) at /data/src/10.1-bug/storage/xtradb/row/row0mysql.cc:1375 #16 0x00007f92467cf0a1 in ha_innobase::write_row (this=0x7f923f13b088, record=0x7f923f032a88 "\377", ' ' ...) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:8730 #17 0x00007f92465e375d in handler::ha_write_row (this=0x7f923f13b088, buf=0x7f923f032a88 "\377", ' ' ...) at /data/src/10.1-bug/sql/handler.cc:5911 #18 0x00007f924637f5e5 in write_record (thd=0x7f9104a9c070, table=0x7f923f172e70, info=0x7f9243919970) at /data/src/10.1-bug/sql/sql_insert.cc:1882 #19 0x00007f924637d0d1 in mysql_insert (thd=0x7f9104a9c070, table_list=0x7f9104ac31a0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:991 #20 0x00007f92463a14fb in mysql_execute_command (thd=0x7f9104a9c070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #21 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a9c070, rawbuf=0x7f9104ac3088 "INSERT IGNORE INTO `t4` ( `id` ) VALUES ( NULL )", length=48, parser_state=0x7f924391a630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #22 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a9c070, packet=0x7f9104aa2071 "INSERT IGNORE INTO `t4` ( `id` ) VALUES ( NULL )", packet_length=48) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #23 0x00007f9246399ad4 in do_command (thd=0x7f9104a9c070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #24 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a9c070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #25 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a9c070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #26 0x00007f9245a9a0a4 in start_thread (arg=0x7f924391bb00) at pthread_create.c:309 #27 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 32 (Thread 0x7f9100ffb700 (LWP 6916)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f924686a9ff in os_cond_wait (cond=0x7f92433f1198, fast_mutex=0x7f92433f1160) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f924686ad32 in os_event_wait_low (event=0x7f92433f1160, reset_sig_count=7178) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f924692fa32 in srv_purge_coordinator_suspend (slot=0x7f924306d7c8, rseg_history_len=945) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3546 #4 0x00007f924692ff44 in srv_purge_coordinator_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3668 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f9100ffb700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 31 (Thread 0x7f924726bb00 (LWP 6926)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f92476260e0 , mp=0x7f9247629300 , file=0x7f9246c9b780 "/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 0x00007f92462f4bc0 in inline_mysql_cond_wait (that=0x7f92476260e0 , mutex=0x7f9247629300 , src_file=0x7f9246c9bf20 "/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 0x00007f92462f58e3 in handle_slave_background (arg=0x0) at /data/src/10.1-bug/sql/slave.cc:341 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f924726bb00) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 30 (Thread 0x7f92471d7b00 (LWP 6932)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f924686a9ff in os_cond_wait (cond=0x7f9104ad1ee8, fast_mutex=0x7f9104ad1eb0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f924686ad32 in os_event_wait_low (event=0x7f9104ad1eb0, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f9246938882 in sync_array_wait_event (arr=0x7f92431f2500, index=0) at /data/src/10.1-bug/storage/xtradb/sync/sync0arr.cc:474 #4 0x00007f924693c25c in rw_lock_s_lock_spin (_lock=0x7f9104ad1e90, pass=0, priority_lock=true, high_priority=false, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/sync/sync0rw.cc:551 #5 0x00007f9246991c23 in rw_lock_s_lock_func (lock=0x7f9104ad1e90, pass=0, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/include/sync0rw.ic:500 #6 0x00007f9246992262 in pfs_rw_lock_s_lock_func (lock=0x7f9104ad1e90, pass=0, file_name=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593) at /data/src/10.1-bug/storage/xtradb/include/sync0rw.ic:1100 #7 0x00007f92469935d3 in mtr_s_lock_func (lock=0x7f9104ad1e90, file=0x7f9246e335f8 "/data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc", line=593, mtr=0x7f92471d4b40) at /data/src/10.1-bug/storage/xtradb/include/mtr0mtr.ic:275 #8 0x00007f92469998ce in btr_cur_search_to_nth_level (index=0x7f9104ad1d78, level=0, tuple=0x7f91084db6d8, mode=4, latch_mode=2, cursor=0x7f92471d4ac0, has_search_latch=0, file=0x7f9246e021b0 "/data/src/10.1-bug/storage/xtradb/row/row0ins.cc", line=2764, mtr=0x7f92471d4b40) at /data/src/10.1-bug/storage/xtradb/btr/btr0cur.cc:593 #9 0x00007f92468c4b3e in row_ins_sec_index_entry_low (flags=0, mode=2, index=0x7f9104ad1d78, offsets_heap=0x7f9108436600, heap=0x7f9108437000, entry=0x7f91084db6d8, trx_id=0, thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:2764 #10 0x00007f92468c576b in row_ins_sec_index_entry (index=0x7f9104ad1d78, entry=0x7f91084db6d8, thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3062 #11 0x00007f92468c5881 in row_ins_index_entry (index=0x7f9104ad1d78, entry=0x7f91084db6d8, thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3101 #12 0x00007f92468c5b2b in row_ins_index_entry_step (node=0x7f923e099868, thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3176 #13 0x00007f92468c5e3e in row_ins (node=0x7f923e099868, thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3316 #14 0x00007f92468c61a5 in row_ins_step (thr=0x7f923e099d10) at /data/src/10.1-bug/storage/xtradb/row/row0ins.cc:3441 #15 0x00007f92468deb29 in row_insert_for_mysql (mysql_rec=0x7f923e066288 "\377", ' ' ..., prebuilt=0x7f923e099078) at /data/src/10.1-bug/storage/xtradb/row/row0mysql.cc:1375 #16 0x00007f92467cf0a1 in ha_innobase::write_row (this=0x7f923e0e0088, record=0x7f923e066288 "\377", ' ' ...) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:8730 #17 0x00007f92465e375d in handler::ha_write_row (this=0x7f923e0e0088, buf=0x7f923e066288 "\377", ' ' ...) at /data/src/10.1-bug/sql/handler.cc:5911 #18 0x00007f924637f5e5 in write_record (thd=0x7f9104a0a070, table=0x7f923e0bf670, info=0x7f92471d5970) at /data/src/10.1-bug/sql/sql_insert.cc:1882 #19 0x00007f924637d0d1 in mysql_insert (thd=0x7f9104a0a070, table_list=0x7f91084261a0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:991 #20 0x00007f92463a14fb in mysql_execute_command (thd=0x7f9104a0a070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #21 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a0a070, rawbuf=0x7f9108426088 "INSERT IGNORE INTO `t4` ( `id` ) VALUES ( 28894 )", length=49, parser_state=0x7f92471d6630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #22 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a0a070, packet=0x7f911a7fb071 "INSERT IGNORE INTO `t4` ( `id` ) VALUES ( 28894 )", packet_length=49) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #23 0x00007f9246399ad4 in do_command (thd=0x7f9104a0a070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #24 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a0a070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #25 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a0a070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #26 0x00007f9245a9a0a4 in start_thread (arg=0x7f92471d7b00) at pthread_create.c:309 #27 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 29 (Thread 0x7f92472b5b00 (LWP 6924)): #0 do_sigwait (set=, sig=0x7f92472b5220) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63 #1 0x00007f9245aa1693 in __sigwait (set=0x7f92472b5250, sig=0x0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97 #2 0x00007f92462d285f in signal_hand (arg=0x0) at /data/src/10.1-bug/sql/mysqld.cc:3465 #3 0x00007f9245a9a0a4 in start_thread (arg=0x7f92472b5b00) at pthread_create.c:309 #4 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 28 (Thread 0x7f91107fa700 (LWP 6894)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=5, message1=0x7f91107f9e58, message2=0x7f91107f9e60, type=0x7f91107f9e68, space_id=0x7f91107f9e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=5) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ee8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f91107fa700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 27 (Thread 0x7f910afef700 (LWP 6905)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=16, message1=0x7f910afeee58, message2=0x7f910afeee60, type=0x7f910afeee68, space_id=0x7f910afeee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=16) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f40 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910afef700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 26 (Thread 0x7f91027fe700 (LWP 6913)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f924686a917 in os_cond_wait_timed (cond=0x7f92433f1208, fast_mutex=0x7f92433f11d0, abstime=0x7f91027fde10) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f924686af11 in os_event_wait_time_low (event=0x7f92433f11d0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f924692d5bd in srv_error_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2410 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f91027fe700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 25 (Thread 0x7f910a7ee700 (LWP 6906)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=17, message1=0x7f910a7ede58, message2=0x7f910a7ede60, type=0x7f910a7ede68, space_id=0x7f910a7ede70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=17) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f48 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910a7ee700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 24 (Thread 0x7f91117fc700 (LWP 6892)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=3, message1=0x7f91117fbe58, message2=0x7f91117fbe60, type=0x7f91117fbe68, space_id=0x7f91117fbe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=3) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ed8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f91117fc700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 23 (Thread 0x7f92472ffb00 (LWP 6923)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f92476550e0 , mp=0x7f9247655030 , file=0x7f9246d86680 "/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 0x00007f92466a7c4b in inline_mysql_cond_wait (that=0x7f92476550e0 , mutex=0x7f9247655030 , src_file=0x7f9246d86b34 "/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 0x00007f92466bffe9 in binlog_background_thread (arg=0x0) at /data/src/10.1-bug/sql/log.cc:9612 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f92472ffb00) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 22 (Thread 0x7f910e7f6700 (LWP 6898)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=9, message1=0x7f910e7f5e58, message2=0x7f910e7f5e60, type=0x7f910e7f5e68, space_id=0x7f910e7f5e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=9) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f08 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910e7f6700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 21 (Thread 0x7f9245d5bb00 (LWP 6950)): #0 row_sel_field_store_in_mysql_format_func (dest=0x7f90e382fb72 "\360\064", templ=0x7f90f34569f8, index=0x7f923f435778, field_no=0, data=0x7f914f13e39e , len=4) at /data/src/10.1-bug/storage/xtradb/row/row0sel.cc:2617 #1 0x00007f924690b61c in row_sel_store_mysql_field_func (mysql_rec=0x7f90e382fb71 "\217\360\064", prebuilt=0x7f90f3537078, rec=0x7f914f13e39b "", index=0x7f923f435778, offsets=0x7f9245d58700, field_no=0, templ=0x7f90f34569f8) at /data/src/10.1-bug/storage/xtradb/row/row0sel.cc:2888 #2 0x00007f924690b7c9 in row_sel_store_mysql_rec (mysql_rec=0x7f90e382fb71 "\217\360\064", prebuilt=0x7f90f3537078, rec=0x7f914f13e39b "", rec_clust=0, index=0x7f923f435778, offsets=0x7f9245d58700) at /data/src/10.1-bug/storage/xtradb/row/row0sel.cc:2952 #3 0x00007f924690f69a in row_search_for_mysql (buf=0x7f90f3434888 "\217\352\064", mode=2, prebuilt=0x7f90f3537078, match_mode=0, direction=1) at /data/src/10.1-bug/storage/xtradb/row/row0sel.cc:4969 #4 0x00007f92467d2395 in ha_innobase::general_fetch (this=0x7f90f34c5088, buf=0x7f90f3434888 "\217\352\064", direction=1, match_mode=0) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:10157 #5 0x00007f92467d2624 in ha_innobase::index_next (this=0x7f90f34c5088, buf=0x7f90f3434888 "\217\352\064") at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:10227 #6 0x00007f92465dc18d in handler::ha_index_next (this=0x7f90f34c5088, buf=0x7f90f3434888 "\217\352\064") at /data/src/10.1-bug/sql/handler.cc:2666 #7 0x00007f92465e2098 in handler::read_range_next (this=0x7f90f34c5088) at /data/src/10.1-bug/sql/handler.cc:5331 #8 0x00007f924651810e in handler::multi_range_read_next (this=0x7f90f34c5088, range_info=0x7f9245d591c8) at /data/src/10.1-bug/sql/multi_range_read.cc:257 #9 0x00007f9246518382 in Mrr_simple_index_reader::get_next (this=0x7f90f34c5690, range_info=0x7f9245d591c8) at /data/src/10.1-bug/sql/multi_range_read.cc:322 #10 0x00007f924651ae02 in DsMrr_impl::dsmrr_next (this=0x7f90f34c5550, range_info=0x7f9245d591c8) at /data/src/10.1-bug/sql/multi_range_read.cc:1408 #11 0x00007f92467e5a28 in ha_innobase::multi_range_read_next (this=0x7f90f34c5088, range_info=0x7f9245d591c8) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:21938 #12 0x00007f9246709ada in QUICK_RANGE_SELECT::get_next (this=0x7f923f09b140) at /data/src/10.1-bug/sql/opt_range.cc:11177 #13 0x00007f9246719b6b in rr_quick (info=0x7f923f0288b0) at /data/src/10.1-bug/sql/records.cc:349 #14 0x00007f9246408219 in sub_select (join=0x7f923f026e98, join_tab=0x7f923f0287f0, end_of_records=false) at /data/src/10.1-bug/sql/sql_select.cc:18315 #15 0x00007f92464079da in do_select (join=0x7f923f026e98, fields=0x0, table=0x7f923f15d088, procedure=0x0) at /data/src/10.1-bug/sql/sql_select.cc:17951 #16 0x00007f92463e098a in JOIN::exec_inner (this=0x7f923f026e98) at /data/src/10.1-bug/sql/sql_select.cc:2759 #17 0x00007f92463df9fd in JOIN::exec (this=0x7f923f026e98) at /data/src/10.1-bug/sql/sql_select.cc:2505 #18 0x00007f92463e2f6b in mysql_select (thd=0x7f9104a7e070, rref_pointer_array=0x7f9104a82430, tables=0x7f923f0262e8, wild_num=0, fields=..., conds=0x7f923f026b10, og_num=1, order=0x7f923f026d68, group=0x0, having=0x0, proc_param=0x0, select_options=2147748609, result=0x7f923f026e78, unit=0x7f9104a81ab8, select_lex=0x7f9104a821b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #19 0x00007f92463d8a5c in handle_select (thd=0x7f9104a7e070, lex=0x7f9104a819f0, result=0x7f923f026e78, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #20 0x00007f92463a8c3b in execute_sqlcom_select (thd=0x7f9104a7e070, all_tables=0x7f923f0262e8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #21 0x00007f924639eb48 in mysql_execute_command (thd=0x7f9104a7e070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #22 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a7e070, rawbuf=0x7f923f026088 "SELECT DISTINCT `c` FROM `t5` WHERE `id` BETWEEN 9347 AND 64341 ORDER BY `c`", length=76, parser_state=0x7f9245d5a630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #23 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a7e070, packet=0x7f9104a8c071 "SELECT DISTINCT `c` FROM `t5` WHERE `id` BETWEEN 9347 AND 64341 ORDER BY `c`", packet_length=76) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #24 0x00007f9246399ad4 in do_command (thd=0x7f9104a7e070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #25 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a7e070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #26 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a7e070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #27 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245d5bb00) at pthread_create.c:309 #28 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 20 (Thread 0x7f9245ecdb00 (LWP 6940)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f9247629e98 , mp=0x7f9247629ee0 , file=0x7f9246caa280 "/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 0x00007f9246349ec9 in inline_mysql_cond_wait (that=0x7f9247629e98 , mutex=0x7f9247629ee0 , src_file=0x7f9246caa378 "/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 0x00007f924634a5fe in Query_cache::try_lock (this=0x7f9247629e40 , thd=0x7f9104a16070, mode=Query_cache::WAIT) at /data/src/10.1-bug/sql/sql_cache.cc:644 #4 0x00007f923e5fc2a0 in qc_info_fill_table (thd=0x7f9104a16070, tables=0x7f90e38266b8, cond=0x0) at /data/src/10.1-bug/plugin/qc_info/qc_info.cc:123 #5 0x00007f924643ff5d in get_schema_tables_result (join=0x7f90e3828788, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.1-bug/sql/sql_show.cc:8152 #6 0x00007f92463e0356 in JOIN::exec_inner (this=0x7f90e3828788) at /data/src/10.1-bug/sql/sql_select.cc:2657 #7 0x00007f92463df9fd in JOIN::exec (this=0x7f90e3828788) at /data/src/10.1-bug/sql/sql_select.cc:2505 #8 0x00007f92463e2f6b in mysql_select (thd=0x7f9104a16070, rref_pointer_array=0x7f9104a1a430, tables=0x7f90e38266b8, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7f90e3828768, unit=0x7f9104a19ab8, select_lex=0x7f9104a1a1b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #9 0x00007f92463d8a5c in handle_select (thd=0x7f9104a16070, lex=0x7f9104a199f0, result=0x7f90e3828768, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #10 0x00007f92463a8c3b in execute_sqlcom_select (thd=0x7f9104a16070, all_tables=0x7f90e38266b8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #11 0x00007f924639eb48 in mysql_execute_command (thd=0x7f9104a16070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #12 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a16070, rawbuf=0x7f90e3826088 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", length=121, parser_state=0x7f9245ecc630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #13 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a16070, packet=0x7f9104a1f071 "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 0x00007f9246399ad4 in do_command (thd=0x7f9104a16070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #15 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a16070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #16 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a16070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #17 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245ecdb00) at pthread_create.c:309 #18 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7f9102fff700 (LWP 6912)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f924686a917 in os_cond_wait_timed (cond=0x7f918975e2e8, fast_mutex=0x7f918975e2b0, abstime=0x7f9102ffee70) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f924686af11 in os_event_wait_time_low (event=0x7f918975e2b0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f924683ae95 in lock_wait_timeout_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f9102fff700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7f9245e83b00 (LWP 6942)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f9246c365f8 in safe_cond_wait (cond=0x7f9247629e98 , mp=0x7f9247629ee0 , file=0x7f9246caa280 "/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 0x00007f9246349ec9 in inline_mysql_cond_wait (that=0x7f9247629e98 , mutex=0x7f9247629ee0 , src_file=0x7f9246caa378 "/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 0x00007f924634a5fe in Query_cache::try_lock (this=0x7f9247629e40 , thd=0x7f9104a24070, mode=Query_cache::WAIT) at /data/src/10.1-bug/sql/sql_cache.cc:644 #4 0x00007f923e5fc2a0 in qc_info_fill_table (thd=0x7f9104a24070, tables=0x7f90e3c266b8, cond=0x0) at /data/src/10.1-bug/plugin/qc_info/qc_info.cc:123 #5 0x00007f924643ff5d in get_schema_tables_result (join=0x7f90e3c28788, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.1-bug/sql/sql_show.cc:8152 #6 0x00007f92463e0356 in JOIN::exec_inner (this=0x7f90e3c28788) at /data/src/10.1-bug/sql/sql_select.cc:2657 #7 0x00007f92463df9fd in JOIN::exec (this=0x7f90e3c28788) at /data/src/10.1-bug/sql/sql_select.cc:2505 #8 0x00007f92463e2f6b in mysql_select (thd=0x7f9104a24070, rref_pointer_array=0x7f9104a28430, tables=0x7f90e3c266b8, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7f90e3c28768, unit=0x7f9104a27ab8, select_lex=0x7f9104a281b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #9 0x00007f92463d8a5c in handle_select (thd=0x7f9104a24070, lex=0x7f9104a279f0, result=0x7f90e3c28768, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #10 0x00007f92463a8c3b in execute_sqlcom_select (thd=0x7f9104a24070, all_tables=0x7f90e3c266b8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #11 0x00007f924639eb48 in mysql_execute_command (thd=0x7f9104a24070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #12 0x00007f92463ac394 in mysql_parse (thd=0x7f9104a24070, rawbuf=0x7f90e3c26088 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", length=121, parser_state=0x7f9245e82630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #13 0x00007f924639ad9d in dispatch_command (command=COM_QUERY, thd=0x7f9104a24070, packet=0x7f9104a37071 "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 0x00007f9246399ad4 in do_command (thd=0x7f9104a24070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #15 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a24070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #16 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a24070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #17 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245e83b00) at pthread_create.c:309 #18 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7f91007fa700 (LWP 6917)): #0 0x00007f9243c4bae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f924686b581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f92469ddb20 in page_cleaner_sleep_if_needed (next_loop_time=1474119090640) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007f92469dde00 in buf_flush_page_cleaner_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2762 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f91007fa700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7f910bff1700 (LWP 6903)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=14, message1=0x7f910bff0e58, message2=0x7f910bff0e60, type=0x7f910bff0e68, space_id=0x7f910bff0e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=14) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f30 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910bff1700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 15 (Thread 0x7f9112fff700 (LWP 6889)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351a0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=0, message1=0x7f9112ffee58, message2=0x7f9112ffee60, type=0x7f9112ffee68, space_id=0x7f9112ffee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=0) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ec0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f9112fff700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7f90ff7f8700 (LWP 6919)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f924686a9ff in os_cond_wait (cond=0x7f92433f12e8, fast_mutex=0x7f92433f12b0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f924686ad32 in os_event_wait_low (event=0x7f92433f12b0, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f92469d553a in buf_dump_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0dump.cc:703 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f90ff7f8700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7f910f7f8700 (LWP 6896)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=7, message1=0x7f910f7f7e58, message2=0x7f910f7f7e60, type=0x7f910f7f7e68, space_id=0x7f910f7f7e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=7) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ef8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910f7f8700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7f9247349780 (LWP 6885)): #0 0x00007f9243c49d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f92462d82af in handle_connections_sockets () at /data/src/10.1-bug/sql/mysqld.cc:6514 #2 0x00007f92462d727b in mysqld_main (argc=101, argv=0x7f92430154c0) at /data/src/10.1-bug/sql/mysqld.cc:5939 #3 0x00007f92462cc4f0 in main (argc=12, argv=0x7fffe77904f8) at /data/src/10.1-bug/sql/main.cc:25 Thread 11 (Thread 0x7f910d7f4700 (LWP 6900)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=11, message1=0x7f910d7f3e58, message2=0x7f910d7f3e60, type=0x7f910d7f3e68, space_id=0x7f910d7f3e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=11) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f18 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910d7f4700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7f910cff3700 (LWP 6901)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=12, message1=0x7f910cff2e58, message2=0x7f910cff2e60, type=0x7f910cff2e68, space_id=0x7f910cff2e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=12) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f20 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910cff3700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7f910c7f2700 (LWP 6902)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=13, message1=0x7f910c7f1e58, message2=0x7f910c7f1e60, type=0x7f910c7f1e68, space_id=0x7f910c7f1e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=13) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f28 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910c7f2700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f9230fff700 (LWP 6888)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f9246c36902 in safe_cond_timedwait (cond=0x7f9247e98100 , mp=0x7f9247e98040 , abstime=0x7f9230ffee10, file=0x7f9246e7ee50 "/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 0x00007f9246afa689 in inline_mysql_cond_timedwait (that=0x7f9247e98100 , mutex=0x7f9247e98040 , abstime=0x7f9230ffee10, src_file=0x7f9246e7ee88 "/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 0x00007f9246afab1f in my_service_thread_sleep (control=0x7f924746f280 , sleep_time=30000000000) at /data/src/10.1-bug/storage/maria/ma_servicethread.c:115 #4 0x00007f9246aef856 in ma_checkpoint_background (arg=0x1e) at /data/src/10.1-bug/storage/maria/ma_checkpoint.c:708 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f9230fff700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f923efff700 (LWP 6887)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f9246c36902 in safe_cond_timedwait (cond=0x7f9247ea17c0 , mp=0x7f9247ea1700 , abstime=0x7f923effeec0, file=0x7f9246ea0560 "/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 0x00007f9246c3789f in inline_mysql_cond_timedwait (that=0x7f9247ea17c0 , mutex=0x7f9247ea1700 , abstime=0x7f923effeec0, src_file=0x7f9246ea0598 "/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 0x00007f9246c38346 in timer_handler (arg=0x0) at /data/src/10.1-bug/mysys/thr_timer.c:292 #4 0x00007f9245a9a0a4 in start_thread (arg=0x7f923efff700) at pthread_create.c:309 #5 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f910b7f0700 (LWP 6904)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f92432351f0, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=15, message1=0x7f910b7efe58, message2=0x7f910b7efe60, type=0x7f910b7efe68, space_id=0x7f910b7efe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=15) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684f38 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910b7f0700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f910fff9700 (LWP 6895)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=6, message1=0x7f910fff8e58, message2=0x7f910fff8e60, type=0x7f910fff8e68, space_id=0x7f910fff8e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=6) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ef0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f910fff9700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f9110ffb700 (LWP 6893)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=4, message1=0x7f9110ffae58, message2=0x7f9110ffae60, type=0x7f9110ffae68, space_id=0x7f9110ffae70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=4) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ee0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f9110ffb700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f91127fe700 (LWP 6890)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235150, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=1, message1=0x7f91127fde58, message2=0x7f91127fde60, type=0x7f91127fde68, space_id=0x7f91127fde70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=1) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ec8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f91127fe700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f9111ffd700 (LWP 6891)): #0 0x00007f92458906ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f9246867cf5 in os_aio_linux_collect (array=0x7f9243235100, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f92468680c7 in os_aio_linux_handle (global_seg=2, message1=0x7f9111ffce58, message2=0x7f9111ffce60, type=0x7f9111ffce68, space_id=0x7f9111ffce70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f9246a425a0 in fil_aio_wait (segment=2) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f9246932b79 in io_handler_thread (arg=0x7f9247684ed0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f9245a9a0a4 in start_thread (arg=0x7f9111ffd700) at pthread_create.c:309 #6 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f9245e39b00 (LWP 6944)): #0 0x00007f9245a9f101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 #1 0x00007f9246c310f6 in my_write_core (sig=11) at /data/src/10.1-bug/mysys/stacktrace.c:477 #2 0x00007f92465d54f9 in handle_fatal_signal (sig=11) at /data/src/10.1-bug/sql/signal_handler.cc:294 #3 #4 0x00007f924635311d in Query_cache::double_linked_list_exclude (point=0x7f90e3993dc0, list_pointer=0x7f9247629fa0 ) at /data/src/10.1-bug/sql/sql_cache.cc:3941 #5 0x00007f9246350591 in Query_cache::free_query_internal (this=0x7f9247629e40 , query_block=0x7f90e3993dc0) at /data/src/10.1-bug/sql/sql_cache.cc:2889 #6 0x00007f924635075a in Query_cache::free_query (this=0x7f9247629e40 , query_block=0x7f90e3993dc0) at /data/src/10.1-bug/sql/sql_cache.cc:2950 #7 0x00007f924634b605 in Query_cache::insert (this=0x7f9247629e40 , thd=0x7f9104a3c070, query_cache_tls=0x7f9104a3c328, packet=0x7f9104a63070 "\n", length=14, pkt_nr=2) at /data/src/10.1-bug/sql/sql_cache.cc:1114 #8 0x00007f924634b38d in query_cache_insert (thd_arg=0x7f9104a3c070, packet=0x7f9104a63070 "\n", length=14, pkt_nr=2) at /data/src/10.1-bug/sql/sql_cache.cc:1057 #9 0x00007f92462e0352 in net_real_write (net=0x7f9104a3c330, packet=0x7f9104a63070 "\n", len=14) at /data/src/10.1-bug/sql/net_serv.cc:606 #10 0x00007f92462dfc81 in net_flush (net=0x7f9104a3c330) at /data/src/10.1-bug/sql/net_serv.cc:363 #11 0x00007f92462e6357 in net_send_ok (thd=0x7f9104a3c070, server_status=2, statement_warn_count=0, affected_rows=1, id=67444, message=0x7f9104a40e7a "") at /data/src/10.1-bug/sql/protocol.cc:254 #12 0x00007f92462e6c2c in Protocol::send_ok (this=0x7f9104a3c600, server_status=2, statement_warn_count=0, affected_rows=1, last_insert_id=67444, message=0x7f9104a40e7a "") at /data/src/10.1-bug/sql/protocol.cc:557 #13 0x00007f92462e6b58 in Protocol::end_statement (this=0x7f9104a3c600) at /data/src/10.1-bug/sql/protocol.cc:526 #14 0x00007f924639c36d in dispatch_command (command=COM_QUERY, thd=0x7f9104a3c070, packet=0x7f9104a63071 "", packet_length=46) at /data/src/10.1-bug/sql/sql_parse.cc:1940 #15 0x00007f9246399ad4 in do_command (thd=0x7f9104a3c070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #16 0x00007f92464cf979 in do_handle_one_connection (thd_arg=0x7f9104a3c070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #17 0x00007f92464cf6dd in handle_one_connection (arg=0x7f9104a3c070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #18 0x00007f9245a9a0a4 in start_thread (arg=0x7f9245e39b00) at pthread_create.c:309 #19 0x00007f9243c5287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111