+thread apply all bt Thread 24 (Thread 0x7f5f4a3ff700 (LWP 29033)): +bt #0 0x00007f5f54b987ea in sigwaitinfo () from /lib64/libc.so.6 #1 0x00000000013af24f in timer_notify_thread_func (arg=0x7fff550e3e90) at /bzr/mysql-5.7.6-m16_dbg/mysys/posix_timers.c:77 #2 0x00000000013d2299 in pfs_spawn_thread (arg=0x7f5f4dfb10d0) at /bzr/mysql-5.7.6-m16_dbg/storage/perfschema/pfs.cc:2147 #3 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7f5f3d3ff700 (LWP 29034)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4bfc7f10, segment=0, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=0, message1=0x7f5f3d3fee60, message2=0x7f5f3d3fee58, type=0x7f5f3d3fee50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b0780 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7f5f3cbfe700 (LWP 29035)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4bfc7c10, segment=0, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=1, message1=0x7f5f3cbfde60, message2=0x7f5f3cbfde58, type=0x7f5f3cbfde50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=1) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b0788 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7f5f3c3fd700 (LWP 29036)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa310, segment=0, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=2, message1=0x7f5f3c3fce60, message2=0x7f5f3c3fce58, type=0x7f5f3c3fce50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=2) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b0790 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7f5f3bbfc700 (LWP 29037)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa310, segment=1, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=3, message1=0x7f5f3bbfbe60, message2=0x7f5f3bbfbe58, type=0x7f5f3bbfbe50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=3) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b0798 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7f5f3b3fb700 (LWP 29038)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa310, segment=2, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=4, message1=0x7f5f3b3fae60, message2=0x7f5f3b3fae58, type=0x7f5f3b3fae50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=4) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07a0 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7f5f3abfa700 (LWP 29039)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa310, segment=3, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=5, message1=0x7f5f3abf9e60, message2=0x7f5f3abf9e58, type=0x7f5f3abf9e50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=5) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07a8 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7f5f38fff700 (LWP 29040)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa610, segment=0, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=6, message1=0x7f5f38ffee60, message2=0x7f5f38ffee58, type=0x7f5f38ffee50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=6) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07b0 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7f5f37bff700 (LWP 29041)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa610, segment=1, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=7, message1=0x7f5f37bfee60, message2=0x7f5f37bfee58, type=0x7f5f37bfee50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=7) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07b8 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7f5f367ff700 (LWP 29042)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa610, segment=2, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=8, message1=0x7f5f367fee60, message2=0x7f5f367fee58, type=0x7f5f367fee50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=8) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07c0 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7f5f35ffe700 (LWP 29043)): +bt #0 0x00007f5f55d85644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000001581cad in os_aio_linux_collect (array=0x7f5f4b3fa610, segment=3, seg_size=256) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4700 #2 0x000000000158213b in os_aio_linux_handle (global_seg=9, message1=0x7f5f35ffde60, message2=0x7f5f35ffde58, type=0x7f5f35ffde50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0file.cc:4843 #3 0x00000000017a948f in fil_aio_wait (segment=9) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fil/fil0fil.cc:5174 #4 0x00000000016724c7 in io_handler_thread (arg=0x26b07c8 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0start.cc:304 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7f5f357fd700 (LWP 29044)): +bt #0 ut_delay (delay=2951151415) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:384 #1 0x00000000014f1e5c in TTASEventMutex::ttas (this=0x7f5f5402eb18, max_spins=1, max_delay=4294967295, i=0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:849 #2 0x00000000014f105c in TTASEventMutex::spin_and_wait (this=0x7f5f5402eb18, max_spins=1, max_delay=4294967295, filename=0x1c7b878 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc", line=2222) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:882 #3 0x00000000014f042c in TTASEventMutex::enter (this=0x7f5f5402eb18, max_spins=1, max_delay=4294967295, filename=0x1c7b878 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc", line=2222) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:783 #4 0x00000000014eee6f in PolicyMutex >::enter (this=0x7f5f5402eb10, n_spins=1, n_delay=4294967295, name=0x1c7b878 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc", line=2222) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1035 #5 0x0000000001740ca6 in buf_flush_LRU_list (buf_pool=0x7f5f5402eb10) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:2222 #6 0x00000000017431de in pc_flush_slot () at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:2799 #7 0x0000000001743bf5 in buf_flush_page_cleaner_coordinator (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:3084 #8 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7f5f33bff700 (LWP 29047)): +bt #0 0x00007f5f55f92ab2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000015859a7 in os_event::timed_wait (this=0x7f5f3f631710, abstime=0x7f5f33bfee40) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:281 #2 0x0000000001585d13 in os_event::wait_time_low (this=0x7f5f3f631710, time_in_usec=1000000, reset_sig_count=3) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:408 #3 0x0000000001585f55 in os_event_wait_time_low (event=0x7f5f3f631710, time_in_usec=1000000, reset_sig_count=3) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:516 #4 0x000000000155ae1d in lock_wait_timeout_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/lock/lock0wait.cc:496 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f5f32bff700 (LWP 29048)): +bt #0 ut_delay (delay=3020359631) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:385 #1 0x00000000015844ec in OSTrackMutex::enter (this=0x7f5f4bfc4530, max_spins=1, max_delay=4294967295, filename=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=911) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:249 #2 0x00000000015841eb in PolicyMutex >::enter (this=0x7f5f4bfc4528, n_spins=1, n_delay=4294967295, name=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=911) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1035 #3 0x000000000167b449 in sync_array_wake_threads_if_sema_free_low (arr=0x7f5f4bfc4510) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:911 #4 0x000000000167b50c in sync_arr_wake_threads_if_sema_free () at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:945 #5 0x000000000166ccb1 in srv_error_monitor_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:1660 #6 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f5f323fe700 (LWP 29049)): +bt #0 0x00007f5f55f92ab2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000015859a7 in os_event::timed_wait (this=0x7f5f4bfc6f10, abstime=0x7f5f323fde20) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:281 #2 0x0000000001585d13 in os_event::wait_time_low (this=0x7f5f4bfc6f10, time_in_usec=5000000, reset_sig_count=1) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:408 #3 0x0000000001585f55 in os_event_wait_time_low (event=0x7f5f4bfc6f10, time_in_usec=5000000, reset_sig_count=1) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:516 #4 0x000000000166c8e5 in srv_monitor_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:1518 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f5f31bfd700 (LWP 29050)): +bt #0 ut_delay (delay=819457264) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:383 #1 0x00000000015844ec in OSTrackMutex::enter (this=0x7f5f4bfc4530, max_spins=1, max_delay=4294967295, filename=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=368) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:249 #2 0x00000000015841eb in PolicyMutex >::enter (this=0x7f5f4bfc4528, n_spins=1, n_delay=4294967295, name=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=368) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1035 #3 0x000000000167a3b7 in sync_array_free_cell (arr=0x7f5f4bfc4510, cell=@0x7f5f31bfcd50: 0x7f5f4bfd2050) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:368 #4 0x000000000167a79b in sync_array_wait_event (arr=0x7f5f4bfc4510, cell=@0x7f5f31bfcd50: 0x7f5f4bfd2050) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:442 #5 0x000000000167e050 in rw_lock_x_lock_func (lock=0x25b4da0 , pass=0, file_name=0x1c50218 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc", line=1915) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0rw.cc:778 #6 0x000000000166a3c0 in pfs_rw_lock_x_lock_func (lock=0x25b4da0 , pass=0, file_name=0x1c50218 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc", line=1915) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/sync0rw.ic:736 #7 0x000000000166d48f in srv_master_evict_from_table_cache (pct_check=100) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:1915 #8 0x000000000166ddf1 in srv_master_do_idle_tasks () at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:2101 #9 0x000000000166e390 in srv_master_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:2252 #10 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f5f313fc700 (LWP 29051)): +bt #0 ut_delay (delay=3362433145) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:384 #1 0x00000000016833c8 in OSTrackMutex::enter (this=0x26bd5e0 , max_spins=1, max_delay=4294967295, filename=0x1c55128 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc", line=441) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:249 #2 0x0000000001680128 in SyncDebug::thread_latches (this=0x26bd5e0 , add=true) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:441 #3 0x00000000016805a6 in SyncDebug::check_order (this=0x26bd5e0 , latch=0x7f5f4bfc45a8) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:561 #4 0x0000000001682794 in SyncDebug::lock (this=0x26bd5e0 , latch=0x7f5f4bfc45a8) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:292 #5 0x00000000016823d6 in sync_check_lock (latch=0x7f5f4bfc45a8) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:1342 #6 0x00000000015846a5 in DebugPolicy >::enter (this=0x7f5f4bfc4560, mutex=..., name=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=368) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/sync0policy.ic:91 #7 0x0000000001584217 in PolicyMutex >::enter (this=0x7f5f4bfc4528, n_spins=1, n_delay=4294967295, name=0x1c53cc0 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc", line=368) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1037 #8 0x000000000167a3b7 in sync_array_free_cell (arr=0x7f5f4bfc4510, cell=@0x7f5f313fbb78: 0x7f5f4bfd2010) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:368 #9 0x000000000167a79b in sync_array_wait_event (arr=0x7f5f4bfc4510, cell=@0x7f5f313fbb78: 0x7f5f4bfd2010) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0arr.cc:442 #10 0x00000000014f1f29 in TTASEventMutex::wait (this=0x7f5f3f67b7a0, filename=0x1c58580 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc", line=153) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ut0mutex.ic:78 #11 0x00000000014f109b in TTASEventMutex::spin_and_wait (this=0x7f5f3f67b7a0, max_spins=1, max_delay=4294967295, filename=0x1c58580 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc", line=153) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:895 #12 0x00000000014f042c in TTASEventMutex::enter (this=0x7f5f3f67b7a0, max_spins=1, max_delay=4294967295, filename=0x1c58580 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc", line=153) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:783 #13 0x00000000014eee6f in PolicyMutex >::enter (this=0x7f5f3f67b798, n_spins=1, n_delay=4294967295, name=0x1c58580 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc", line=153) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1035 #14 0x0000000001690442 in TrxUndoRsegsIterator::set_next (this=0x7f5f4fffede0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc:153 #15 0x0000000001693a43 in trx_purge_choose_next_log () at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc:1367 #16 0x0000000001693f11 in trx_purge_fetch_next_rec (roll_ptr=0x7f5f3f7d6de0, n_pages_handled=0x7f5f313fbd98, heap=0x7f5f3f7d6d50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc:1521 #17 0x0000000001694329 in trx_purge_attach_undo_recs (n_purge_threads=1, purge_sys=0x7f5f4dfba610, batch_size=600) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc:1620 #18 0x0000000001694956 in trx_purge (n_purge_threads=1, batch_size=600, truncate=false) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/trx/trx0purge.cc:1782 #19 0x000000000166ea9f in srv_do_purge (n_threads=1, n_total_purged=0x7f5f313fbea8) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:2487 #20 0x000000000166f235 in srv_purge_coordinator_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/srv/srv0srv.cc:2675 #21 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #22 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f5f2ffff700 (LWP 29052)): +bt #0 0x00007f5f55f92705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000001586168 in os_event::wait (this=0x7f5f4bfc7010) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:160 #2 0x0000000001585b33 in os_event::wait_low (this=0x7f5f4bfc7010, reset_sig_count=1) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:331 #3 0x0000000001585f7a in os_event_wait_low (event=0x7f5f4bfc7010, reset_sig_count=0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:533 #4 0x0000000001739bf5 in buf_dump_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0dump.cc:692 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f5f2f7fe700 (LWP 29053)): +bt #0 0x00000000016cb1fd in ut_delay (delay=2456171361) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:383 #1 0x00000000016833c8 in OSTrackMutex::enter (this=0x26bd5e0 , max_spins=1, max_delay=4294967295, filename=0x1c55128 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc", line=441) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:249 #2 0x0000000001680128 in SyncDebug::thread_latches (this=0x26bd5e0 , add=true) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:441 #3 0x00000000016805a6 in SyncDebug::check_order (this=0x26bd5e0 , latch=0x26c3980 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:561 #4 0x0000000001682794 in SyncDebug::lock (this=0x26bd5e0 , latch=0x26c3980 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:292 #5 0x00000000016823d6 in sync_check_lock (latch=0x26c3980 ) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:1342 #6 0x0000000001528823 in DebugPolicy >::enter (this=0x26c3938 , mutex=..., name=0x1c8d910 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/dict/dict0stats_bg.cc", line=149) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/sync0policy.ic:91 #7 0x00000000014eee9b in PolicyMutex >::enter (this=0x26c3920 , n_spins=1, n_delay=4294967295, name=0x1c8d910 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/dict/dict0stats_bg.cc", line=149) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1037 #8 0x000000000179584a in dict_stats_recalc_pool_get (id=0x7f5f2f7fde80) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/dict/dict0stats_bg.cc:149 #9 0x0000000001795bd0 in dict_stats_process_entry_from_recalc_pool () at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/dict/dict0stats_bg.cc:276 #10 0x0000000001795e25 in dict_stats_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/dict/dict0stats_bg.cc:369 #11 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #12 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f5f2effd700 (LWP 29054)): +bt #0 ut_delay (delay=1857086243) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:383 #1 0x00000000016833c8 in OSTrackMutex::enter (this=0x26bd5e0 , max_spins=1, max_delay=4294967295, filename=0x1c55128 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc", line=441) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:249 #2 0x0000000001680128 in SyncDebug::thread_latches (this=0x26bd5e0 , add=true) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:441 #3 0x00000000016805a6 in SyncDebug::check_order (this=0x26bd5e0 , latch=0x7f5f4dfb2ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:561 #4 0x0000000001682794 in SyncDebug::lock (this=0x26bd5e0 , latch=0x7f5f4dfb2ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:292 #5 0x00000000016823d6 in sync_check_lock (latch=0x7f5f4dfb2ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/sync/sync0debug.cc:1342 #6 0x0000000001528823 in DebugPolicy >::enter (this=0x7f5f4dfb2a68, mutex=..., name=0x1c63b38 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0wqueue.cc", line=144) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/sync0policy.ic:91 #7 0x00000000014eee9b in PolicyMutex >::enter (this=0x7f5f4dfb2a50, n_spins=1, n_delay=4294967295, name=0x1c63b38 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0wqueue.cc", line=144) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1037 #8 0x00000000016cc903 in ib_wqueue_timedwait (wq=0x7f5f4dfb2a50, wait_in_usecs=5000000) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0wqueue.cc:144 #9 0x00000000017e7e2f in fts_optimize_thread (arg=0x7f5f4dfb2a50) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/fts/fts0opt.cc:2977 #10 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f5f2e7fc700 (LWP 29055)): +bt #0 0x00007f5f55f92705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000001586168 in os_event::wait (this=0x7f5f4bfc7210) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:160 #2 0x0000000001585b33 in os_event::wait_low (this=0x7f5f4bfc7210, reset_sig_count=1) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:331 #3 0x0000000001585f7a in os_event_wait_low (event=0x7f5f4bfc7210, reset_sig_count=0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/os/os0event.cc:533 #4 0x0000000001725a93 in buf_resize_thread (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0buf.cc:2734 #5 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f5f565cd700 (LWP 29056)): +bt #0 0x00007f5f55f92705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000013a5cb8 in native_cond_wait (cond=0x7f5f4dff5f80, mutex=0x7f5f4dff5fe0) at /bzr/mysql-5.7.6-m16_dbg/include/thr_cond.h:126 #2 0x00000000013a5e1e in safe_cond_wait (cond=0x7f5f4dff5f80, mp=0x7f5f4dff5fb8, file=0x18e60a0 "/bzr/mysql-5.7.6-m16_dbg/sql/mysqld_thd_manager.cc", line=238) at /bzr/mysql-5.7.6-m16_dbg/mysys/thr_cond.c:48 #3 0x0000000000bb386e in my_cond_wait (cond=0x7f5f4dff5f80, mp=0x7f5f4dff5fb8, file=0x18e60a0 "/bzr/mysql-5.7.6-m16_dbg/sql/mysqld_thd_manager.cc", line=238) at /bzr/mysql-5.7.6-m16_dbg/include/thr_cond.h:181 #4 0x0000000000bb3b7a in inline_mysql_cond_wait (that=0x7f5f4dff5f80, mutex=0x7f5f4dff5fb8, src_file=0x18e60a0 "/bzr/mysql-5.7.6-m16_dbg/sql/mysqld_thd_manager.cc", src_line=238) at /bzr/mysql-5.7.6-m16_dbg/include/mysql/psi/mysql_thread.h:1198 #5 0x0000000000bb4485 in Global_THD_manager::wait_till_no_thd (this=0x7f5f4dff4000) at /bzr/mysql-5.7.6-m16_dbg/sql/mysqld_thd_manager.cc:238 #6 0x0000000000ba0e9f in close_connections () at /bzr/mysql-5.7.6-m16_dbg/sql/mysqld.cc:1208 #7 0x0000000000ba2b94 in signal_hand (arg=0x0) at /bzr/mysql-5.7.6-m16_dbg/sql/mysqld.cc:2272 #8 0x00000000013d2299 in pfs_spawn_thread (arg=0x7f5f4dfb2d50) at /bzr/mysql-5.7.6-m16_dbg/storage/perfschema/pfs.cc:2147 #9 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f5f5654b700 (LWP 29060)): +bt #0 0x00000000016cb205 in ut_delay (delay=3825659520) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/ut/ut0ut.cc:383 #1 0x00000000014f1e5c in TTASEventMutex::ttas (this=0x7f5f4bff49e8, max_spins=1, max_delay=4294967295, i=0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:849 #2 0x00000000014f105c in TTASEventMutex::spin_and_wait (this=0x7f5f4bff49e8, max_spins=1, max_delay=4294967295, filename=0x1c16260 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc", line=1177) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:882 #3 0x00000000014f042c in TTASEventMutex::enter (this=0x7f5f4bff49e8, max_spins=1, max_delay=4294967295, filename=0x1c16260 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc", line=1177) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:783 #4 0x00000000014eee6f in PolicyMutex >::enter (this=0x7f5f4bff49e0, n_spins=1, n_delay=4294967295, name=0x1c16260 "/bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc", line=1177) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/include/ib0mutex.h:1035 #5 0x000000000155f4b5 in log_write_up_to (lsn=2752410, flush_to_disk=true) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc:1177 #6 0x000000000173daf7 in buf_flush_write_block_low (bpage=0x7f5f3fd9da80, flush_type=BUF_FLUSH_LIST, sync=false) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:956 #7 0x000000000173e1d2 in buf_flush_page (buf_pool=0x7f5f5402eb10, bpage=0x7f5f3fd9da80, flush_type=BUF_FLUSH_LIST, sync=false) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1126 #8 0x000000000173ead4 in buf_flush_try_neighbors (page_id=..., flush_type=BUF_FLUSH_LIST, n_flushed=7, n_to_flush=18446744073709551614, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1359 #9 0x000000000173ee6e in buf_flush_page_and_try_neighbors (bpage=0x7f5f3fd9da80, flush_type=BUF_FLUSH_LIST, n_to_flush=18446744073709551614, count=0x7f5f56546270, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1435 #10 0x000000000173f93a in buf_do_flush_list_batch (buf_pool=0x7f5f5402eb10, min_n=18446744073709551614, lsn_limit=18446744073709551615, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1693 #11 0x000000000173fe27 in buf_flush_batch (buf_pool=0x7f5f5402eb10, flush_type=BUF_FLUSH_LIST, min_n=18446744073709551614, lsn_limit=18446744073709551615, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1774 #12 0x00000000017403bd in buf_flush_do_batch (buf_pool=0x7f5f5402eb10, type=BUF_FLUSH_LIST, min_n=18446744073709551614, lsn_limit=18446744073709551615, n_processed=0x7f5f565463a8, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:1939 #13 0x0000000001740768 in buf_flush_lists (min_n=18446744073709551614, lsn_limit=18446744073709551615, n_processed=0x7f5f56546410, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/buf/buf0flu.cc:2080 #14 0x000000000155fd28 in log_preflush_pool_modified_pages (new_oldest=18446744073709551615, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc:1437 #15 0x0000000001561119 in log_make_checkpoint_at (lsn=18446744073709551615, write_always=true, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/log/log0log.cc:1877 #16 0x00000000015fb905 in row_merge_build_indexes (trx=0x7f5f484008e8, old_table=0x7f5f2a7ccf98, new_table=0x7f5f2a7ce498, online=true, indexes=0x7f5f2cc38bb0, key_numbers=0x7f5f2cc38bb8, n_indexes=1, table=0x7f5f2a61e410, add_cols=0x7f5f2cc38c00, col_map=0x7f5f2cc38cb0, add_autoinc=18446744073709551615, sequence=..., skip_pk_sort=true, stage=0x7f5f2cc10ab0) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/row/row0merge.cc:4502 #17 0x000000000150ea23 in ha_innobase::inplace_alter_table (this=0x7f5f2a6ee420, altered_table=0x7f5f2a61e410, ha_alter_info=0x7f5f56547140) at /bzr/mysql-5.7.6-m16_dbg/storage/innobase/handler/handler0alter.cc:4623 #18 0x000000000113a775 in handler::ha_inplace_alter_table (this=0x7f5f2a6ee420, altered_table=0x7f5f2a61e410, ha_alter_info=0x7f5f56547140) at /bzr/mysql-5.7.6-m16_dbg/sql/handler.h:3191 #19 0x0000000001132bc6 in mysql_inplace_alter_table (thd=0x7f5f2cc1a000, table_list=0x7f5f2cc2c9c8, table=0x7f5f2a74f210, altered_table=0x7f5f2a61e410, ha_alter_info=0x7f5f56547140, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7f5f56546b80, alter_ctx=0x7f5f565476c0) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_table.cc:6955 #20 0x0000000001137424 in mysql_alter_table (thd=0x7f5f2cc1a000, new_db=0x7f5f2cc2cf40 "TEST_DB", new_name=0x0, create_info=0x7f5f56548550, table_list=0x7f5f2cc2c9c8, alter_info=0x7f5f565484a0) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_table.cc:8882 #21 0x00000000012890db in Sql_cmd_alter_table::execute (this=0x7f5f2cc2d028, thd=0x7f5f2cc1a000) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_alter.cc:316 #22 0x00000000010a917e in mysql_execute_command (thd=0x7f5f2cc1a000) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_parse.cc:4452 #23 0x00000000010aae7a in mysql_parse (thd=0x7f5f2cc1a000, parser_state=0x7f5f56549e00) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_parse.cc:5129 #24 0x00000000010a0bd4 in dispatch_command (command=COM_QUERY, thd=0x7f5f2cc1a000, packet=0x7f5f2cc46011 "ALTER TABLE t1 ADD c2 MEDIUMTEXT NULL FIRST;", packet_length=44) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_parse.cc:1249 #25 0x000000000109f925 in do_command (thd=0x7f5f2cc1a000) at /bzr/mysql-5.7.6-m16_dbg/sql/sql_parse.cc:835 #26 0x00000000011c2fd9 in handle_connection (arg=0x7f5f4cff78c0) at /bzr/mysql-5.7.6-m16_dbg/sql/conn_handler/connection_handler_per_thread.cc:298 #27 0x00000000013d2299 in pfs_spawn_thread (arg=0x7f5f4dfb2ed0) at /bzr/mysql-5.7.6-m16_dbg/storage/perfschema/pfs.cc:2147 #28 0x00007f5f55f8edf3 in start_thread () from /lib64/libpthread.so.0 #29 0x00007f5f54c581ad in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f5f565e8780 (LWP 29027)): +bt #0 0x00007f5f55f8ff37 in pthread_join () from /lib64/libpthread.so.0 #1 0x00000000013af12d in my_thread_join (thread=0x262b6c0 , value_ptr=0x0) at /bzr/mysql-5.7.6-m16_dbg/mysys/my_thread.c:124 #2 0x0000000000ba7ee0 in mysqld_main (argc=32, argv=0x7f5f540222d8) at /bzr/mysql-5.7.6-m16_dbg/sql/mysqld.cc:5060 #3 0x0000000000b9eed0 in main (argc=32, argv=0x7fff550e48c8) at /bzr/mysql-5.7.6-m16_dbg/sql/main.cc:25 +quit A debugging session is active. Inferior 1 [process 29027] will be detached. Quit anyway? (y or n) Detaching from program: /sda/MS-mysql-5.7.6-m16-linux-x86_64-debug/bin/mysqld, process 29027