(11:17 sql) > mysql -h 127.0.0.1 -P 3314 -uroot -e 'show processlist' +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ | Id | User | Host | db | Command | Time | State | Info | Progress | +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ | 1 | system user | | test | Sleep | 748 | Waiting for table flush | optimize table t | 0.000 | | 2 | system user | | NULL | Sleep | 815 | wsrep aborter idle | NULL | 0.000 | | 518 | a | localhost:37078 | test | Query | 748 | query end | insert into t select 487 | 0.000 | | 519 | a | localhost:37080 | test | Query | 748 | Waiting for table flush | select count(*) from t | 0.000 | | 520 | a | localhost:37122 | test | Query | 738 | checking permissions | optimize table t | 0.000 | | 526 | root | localhost:38382 | NULL | Query | 0 | init | show processlist | 0.000 | +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ (11:17 sql) > mysql -h 127.0.0.1 -P 3315 -uroot -e 'show processlist' +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ | Id | User | Host | db | Command | Time | State | Info | Progress | +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ | 1 | system user | | NULL | Sleep | 799 | wsrep aborter idle | NULL | 0.000 | | 2 | system user | | NULL | Sleep | 748 | committed 992 | NULL | 0.000 | | 517 | a | localhost:46558 | test | Query | 748 | query end | insert into t select 505 | 0.000 | | 518 | a | localhost:46562 | test | Query | 738 | checking permissions | optimize table t | 0.000 | | 524 | root | localhost:47822 | NULL | Query | 0 | init | show processlist | 0.000 | +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ (11:17 sql) > (11:17 sql) > gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p 29954 [New LWP 708] [New LWP 692] [New LWP 29986] [New LWP 29985] [New LWP 29984] [New LWP 29983] [New LWP 29982] [New LWP 29981] [New LWP 29980] [New LWP 29979] [New LWP 29978] [New LWP 29977] [New LWP 29976] [New LWP 29975] [New LWP 29974] [New LWP 29973] [New LWP 29972] [New LWP 29971] [New LWP 29970] [New LWP 29968] [New LWP 29967] [New LWP 29966] [New LWP 29965] [New LWP 29964] [New LWP 29963] [New LWP 29962] [New LWP 29961] [New LWP 29960] [New LWP 29959] [New LWP 29958] [New LWP 29957] [New LWP 29956] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fafa5a95e2d in poll () from /lib64/libc.so.6 Thread 33 (Thread 0x7fafa4bff700 (LWP 29956)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000c1322b in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 timer_handler (arg=) at /home/buildbot/buildbot/build/mysys/thr_timer.c:292 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 32 (Thread 0x7faf92fff700 (LWP 29957)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000b4e9d4 in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=0x1d72820 , that=0x1d72860 ) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 my_service_thread_sleep (control=0x148f000 , sleep_time=30000000000) at /home/buildbot/buildbot/build/storage/maria/ma_servicethread.c:115 #3 0x0000000000b47da4 in ma_checkpoint_background (arg=) at /home/buildbot/buildbot/build/storage/maria/ma_checkpoint.c:708 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 31 (Thread 0x7faf877ff700 (LWP 29958)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=0, message1=0x7faf877fee90, message2=0x7faf877fee88, type=0x7faf877fee80, space_id=0x7faf877fee78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=0) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 30 (Thread 0x7faf86ffe700 (LWP 29959)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=1, message1=0x7faf86ffde90, message2=0x7faf86ffde88, type=0x7faf86ffde80, space_id=0x7faf86ffde78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=1) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 29 (Thread 0x7faf867fd700 (LWP 29960)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=2, message1=0x7faf867fce90, message2=0x7faf867fce88, type=0x7faf867fce80, space_id=0x7faf867fce78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=2) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x7faf85ffc700 (LWP 29961)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=3, message1=0x7faf85ffbe90, message2=0x7faf85ffbe88, type=0x7faf85ffbe80, space_id=0x7faf85ffbe78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=3) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 27 (Thread 0x7faf857fb700 (LWP 29962)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=4, message1=0x7faf857fae90, message2=0x7faf857fae88, type=0x7faf857fae80, space_id=0x7faf857fae78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=4) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 26 (Thread 0x7faf84ffa700 (LWP 29963)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=5, message1=0x7faf84ff9e90, message2=0x7faf84ff9e88, type=0x7faf84ff9e80, space_id=0x7faf84ff9e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=5) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7faf847f9700 (LWP 29964)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=6, message1=0x7faf847f8e90, message2=0x7faf847f8e88, type=0x7faf847f8e80, space_id=0x7faf847f8e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=6) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7faf83ff8700 (LWP 29965)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=7, message1=0x7faf83ff7e90, message2=0x7faf83ff7e88, type=0x7faf83ff7e80, space_id=0x7faf83ff7e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=7) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7faf837f7700 (LWP 29966)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=8, message1=0x7faf837f6e90, message2=0x7faf837f6e88, type=0x7faf837f6e80, space_id=0x7faf837f6e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=8) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7faf82ff6700 (LWP 29967)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=9, message1=0x7faf82ff5e90, message2=0x7faf82ff5e88, type=0x7faf82ff5e80, space_id=0x7faf82ff5e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=9) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7faf817ff700 (LWP 29968)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c39240, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009ddb8e in srv_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2182 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7faf807fd700 (LWP 29970)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3a5f0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x000000000094f0e4 in lock_wait_timeout_thread () at /home/buildbot/buildbot/build/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7faf7fffc700 (LWP 29971)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c391d0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009de27f in srv_error_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2423 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7faf7f7fb700 (LWP 29972)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x00000000009e027f in srv_master_sleep () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3115 #3 srv_master_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3165 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7faf7effa700 (LWP 29973)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3a890, time_in_usec=, reset_sig_count=3) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a8b312 in dict_stats_thread () at /home/buildbot/buildbot/build/storage/xtradb/dict/dict0stats_bg.cc:552 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7faf7e7f9700 (LWP 29974)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3ac80, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a0d95d in ib_wqueue_timedwait (wq=0x7fafa4c8ca68, wait_in_usecs=5000000) at /home/buildbot/buildbot/build/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x0000000000acb3a9 in fts_optimize_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/fts/fts0opt.cc:3060 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7faf7dff8700 (LWP 29975)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fafa4c39198) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fafa4c39160, reset_sig_count=8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x00000000009debdf in srv_resume_thread (timeout_usec=, wait=, sig_count=8, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:1088 #4 srv_purge_coordinator_suspend (rseg_history_len=, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3481 #5 srv_purge_coordinator_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3572 #6 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7faf80ffe700 (LWP 29976)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54fe2 in buf_flush_page_cleaner_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7faf7bbff700 (LWP 29977)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54d85 in page_cleaner_sleep_if_needed (next_loop_time=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 buf_flush_lru_manager_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2958 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7faf7abff700 (LWP 29978)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fafa4c392e8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fafa4c392b0, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x0000000000a4e73a in buf_dump_thread () at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0dump.cc:701 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7faf7a3fe700 (LWP 29979)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a3c2da in btr_defragment_thread () at /home/buildbot/buildbot/build/storage/xtradb/btr/btr0defragment.cc:770 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fafa6fbfb00 (LWP 29980)): #0 0x00007fafa6bc9101 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000051cf6b in signal_hand (arg=) at /home/buildbot/buildbot/build/sql/mysqld.cc:3400 #2 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7faf6f549700 (LWP 29981)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d559976 in galera::ServiceThd::thd_func(void*) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7faf6d3ff700 (LWP 29982)): #0 0x00007fafa5aa0d43 in epoll_wait () from /lib64/libc.so.6 #1 0x00007faf7d515507 in asio::detail::epoll_reactor::run(bool, asio::detail::op_queue&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d516274 in asio::detail::task_io_service::run(asio::error_code&) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d5143fd in gcomm::AsioProtonet::event_loop(gu::datetime::Period const&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007faf7d52f066 in GCommConn::run() () from /usr/lib64/galera/libgalera_smm.so #5 0x00007faf7d534d99 in GCommConn::run_fn(void*) () from /usr/lib64/galera/libgalera_smm.so #6 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7faf6cbfe700 (LWP 29983)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52f5e9 in gcomm_recv(gcs_backend*, gcs_recv_msg*, long long) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d522428 in gcs_core_recv(gcs_core*, gcs_act_rcvd*, long long) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d527064 in gcs_recv_thread(void*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fafa6f75b00 (LWP 29984)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000007095cf in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 wsrep_rollback_process (thd=0x7faf6b414008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:471 #3 0x00000000006fdc02 in start_wsrep_THD (arg=0x709150 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fafa6f2bb00 (LWP 29985)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d41e5be in gu_fifo_get_head () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d5260d3 in gcs_recv(gcs_conn*, gcs_action*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d560a54 in galera::GcsActionSource::process(void*, bool&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007faf7d581d63 in galera::ReplicatorSMM::async_recv(void*) () from /usr/lib64/galera/libgalera_smm.so #5 0x00007faf7d591aeb in galera_recv () from /usr/lib64/galera/libgalera_smm.so #6 0x00000000007083dd in wsrep_replication_process (thd=0x7faf6b014008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:360 #7 0x00000000006fdc02 in start_wsrep_THD (arg=0x708390 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #8 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fafa6ee1b00 (LWP 29986)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000053769f in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 handle_slave_background (arg=) at /home/buildbot/buildbot/build/sql/slave.cc:336 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fafa6e97b00 (LWP 692)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52a1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d58032f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d59293e in galera_pre_commit () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f6848 in wsrep_run_wsrep_commit (thd=0x7faf81b9e008, all=) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:480 #5 0x00000000006f71d8 in wsrep_prepare (hton=, thd=0x7faf81b9e008, all=false) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:190 #6 0x0000000000771f1a in prepare_or_error (all=, thd=, ht=) at /home/buildbot/buildbot/build/sql/handler.cc:1147 #7 ha_commit_trans (thd=0x7faf81b9e008, all=) at /home/buildbot/buildbot/build/sql/handler.cc:1426 #8 0x00000000006a16db in trans_commit_stmt (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/transaction.cc:434 #9 0x00000000005b37f4 in mysql_execute_command (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5743 #10 0x00000000005bc08e in mysql_parse (thd=0x7faf81b9e008, rawbuf=, length=, parser_state=0x7fafa6e96460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #11 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7faf81b9e008, rawbuf=0x7faf6a83e020 "insert into t select 505", length=24, parser_state=0x7fafa6e96460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #12 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7faf81b9e008, packet=0x7faf81ba9009 "insert into t select 505", packet_length=24) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #13 0x00000000005bf5e7 in do_command (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #14 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #15 0x0000000000691492 in handle_one_connection (arg=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #16 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #17 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fafa6e4db00 (LWP 708)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52a1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d58032f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d594194 in galera_to_execute_start () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f8d57 in wsrep_TOI_begin (thd=0x7faf81bae008, db_=0x0, table_=0x7faf694220b8 "t", table_list=0x0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1430 #5 0x00000000006fc2ba in wsrep_to_isolation_begin (thd=0x7faf81bae008, db_=0x0, table_=0x0, table_list=0x7faf694220f0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1630 #6 0x00000000006a0bdd in Sql_cmd_optimize_table::execute (this=, thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1302 #7 0x00000000005b3edc in mysql_execute_command (thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #8 0x00000000005bc08e in mysql_parse (thd=0x7faf81bae008, rawbuf=, length=, parser_state=0x7fafa6e4c460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #9 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7faf81bae008, rawbuf=0x7faf69422020 "optimize table t", length=16, parser_state=0x7fafa6e4c460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #10 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7faf81bae008, packet=0x7faf81bb4009 "optimize table t", packet_length=16) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #11 0x00000000005bf5e7 in do_command (thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #12 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #13 0x0000000000691492 in handle_one_connection (arg=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #14 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #15 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fafa6fc2780 (LWP 29954)): #0 0x00007fafa5a95e2d in poll () from /lib64/libc.so.6 #1 0x000000000051ba30 in handle_connections_sockets () at /home/buildbot/buildbot/build/sql/mysqld.cc:6489 #2 0x0000000000522096 in mysqld_main (argc=31, argv=0x7fafa4c118b8) at /home/buildbot/buildbot/build/sql/mysqld.cc:5914 #3 0x00007fafa59cab35 in __libc_start_main () from /lib64/libc.so.6 #4 0x0000000000516ce9 in _start () (11:17 sql) > gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p 29571 [New LWP 705] [New LWP 630] [New LWP 626] [New LWP 29603] [New LWP 29602] [New LWP 29601] [New LWP 29600] [New LWP 29599] [New LWP 29598] [New LWP 29597] [New LWP 29596] [New LWP 29595] [New LWP 29594] [New LWP 29593] [New LWP 29592] [New LWP 29591] [New LWP 29590] [New LWP 29589] [New LWP 29588] [New LWP 29587] [New LWP 29585] [New LWP 29584] [New LWP 29583] [New LWP 29582] [New LWP 29581] [New LWP 29580] [New LWP 29579] [New LWP 29578] [New LWP 29577] [New LWP 29576] [New LWP 29575] [New LWP 29574] [New LWP 29573] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fd7cb72de2d in poll () from /lib64/libc.so.6 Thread 34 (Thread 0x7fd7ca7ff700 (LWP 29573)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000c1322b in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 timer_handler (arg=) at /home/buildbot/buildbot/build/mysys/thr_timer.c:292 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 33 (Thread 0x7fd7b8bff700 (LWP 29574)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000b4e9d4 in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=0x1d72820 , that=0x1d72860 ) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 my_service_thread_sleep (control=0x148f000 , sleep_time=30000000000) at /home/buildbot/buildbot/build/storage/maria/ma_servicethread.c:115 #3 0x0000000000b47da4 in ma_checkpoint_background (arg=) at /home/buildbot/buildbot/build/storage/maria/ma_checkpoint.c:708 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 32 (Thread 0x7fd7ad3ff700 (LWP 29575)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=0, message1=0x7fd7ad3fee90, message2=0x7fd7ad3fee88, type=0x7fd7ad3fee80, space_id=0x7fd7ad3fee78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=0) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 31 (Thread 0x7fd7acbfe700 (LWP 29576)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=1, message1=0x7fd7acbfde90, message2=0x7fd7acbfde88, type=0x7fd7acbfde80, space_id=0x7fd7acbfde78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=1) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 30 (Thread 0x7fd7ac3fd700 (LWP 29577)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=2, message1=0x7fd7ac3fce90, message2=0x7fd7ac3fce88, type=0x7fd7ac3fce80, space_id=0x7fd7ac3fce78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=2) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 29 (Thread 0x7fd7abbfc700 (LWP 29578)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=3, message1=0x7fd7abbfbe90, message2=0x7fd7abbfbe88, type=0x7fd7abbfbe80, space_id=0x7fd7abbfbe78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=3) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x7fd7ab3fb700 (LWP 29579)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=4, message1=0x7fd7ab3fae90, message2=0x7fd7ab3fae88, type=0x7fd7ab3fae80, space_id=0x7fd7ab3fae78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=4) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 27 (Thread 0x7fd7aabfa700 (LWP 29580)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=5, message1=0x7fd7aabf9e90, message2=0x7fd7aabf9e88, type=0x7fd7aabf9e80, space_id=0x7fd7aabf9e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=5) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 26 (Thread 0x7fd7aa3f9700 (LWP 29581)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=6, message1=0x7fd7aa3f8e90, message2=0x7fd7aa3f8e88, type=0x7fd7aa3f8e80, space_id=0x7fd7aa3f8e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=6) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7fd7a9bf8700 (LWP 29582)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=7, message1=0x7fd7a9bf7e90, message2=0x7fd7a9bf7e88, type=0x7fd7a9bf7e80, space_id=0x7fd7a9bf7e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=7) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7fd7a93f7700 (LWP 29583)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=8, message1=0x7fd7a93f6e90, message2=0x7fd7a93f6e88, type=0x7fd7a93f6e80, space_id=0x7fd7a93f6e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=8) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7fd7a8bf6700 (LWP 29584)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=9, message1=0x7fd7a8bf5e90, message2=0x7fd7a8bf5e88, type=0x7fd7a8bf5e80, space_id=0x7fd7a8bf5e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=9) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7fd7a73ff700 (LWP 29585)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca839240, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009ddb8e in srv_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2182 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7fd7a63fd700 (LWP 29587)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83a5f0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x000000000094f0e4 in lock_wait_timeout_thread () at /home/buildbot/buildbot/build/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7fd7a5bfc700 (LWP 29588)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca8391d0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009de27f in srv_error_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2423 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7fd7a53fb700 (LWP 29589)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x00000000009e027f in srv_master_sleep () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3115 #3 srv_master_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3165 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7fd7a4bfa700 (LWP 29590)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83a890, time_in_usec=, reset_sig_count=3) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a8b312 in dict_stats_thread () at /home/buildbot/buildbot/build/storage/xtradb/dict/dict0stats_bg.cc:552 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7fd7a43f9700 (LWP 29591)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83ac80, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a0d95d in ib_wqueue_timedwait (wq=0x7fd7ca88c928, wait_in_usecs=5000000) at /home/buildbot/buildbot/build/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x0000000000acb3a9 in fts_optimize_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/fts/fts0opt.cc:3060 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7fd7a2fff700 (LWP 29592)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fd7ca839198) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fd7ca839160, reset_sig_count=5) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x00000000009debdf in srv_resume_thread (timeout_usec=, wait=, sig_count=5, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:1088 #4 srv_purge_coordinator_suspend (rseg_history_len=, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3481 #5 srv_purge_coordinator_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3572 #6 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7fd7a6bfe700 (LWP 29593)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54fe2 in buf_flush_page_cleaner_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7fd7a17ff700 (LWP 29594)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54d85 in page_cleaner_sleep_if_needed (next_loop_time=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 buf_flush_lru_manager_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2958 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7fd7a07ff700 (LWP 29595)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fd7ca8392e8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fd7ca8392b0, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x0000000000a4e73a in buf_dump_thread () at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0dump.cc:701 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7fd79fffe700 (LWP 29596)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a3c2da in btr_defragment_thread () at /home/buildbot/buildbot/build/storage/xtradb/btr/btr0defragment.cc:770 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7fd7ccc57b00 (LWP 29597)): #0 0x00007fd7cc861101 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000051cf6b in signal_hand (arg=) at /home/buildbot/buildbot/build/sql/mysqld.cc:3400 #2 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fd795358700 (LWP 29598)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a395a976 in galera::ServiceThd::thd_func(void*) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7fd792fff700 (LWP 29599)): #0 0x00007fd7cb738d43 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fd7a3916507 in asio::detail::epoll_reactor::run(bool, asio::detail::op_queue&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a3917274 in asio::detail::task_io_service::run(asio::error_code&) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a39153fd in gcomm::AsioProtonet::event_loop(gu::datetime::Period const&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7a3930066 in GCommConn::run() () from /usr/lib64/galera/libgalera_smm.so #5 0x00007fd7a3935d99 in GCommConn::run_fn(void*) () from /usr/lib64/galera/libgalera_smm.so #6 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7fd7927fe700 (LWP 29600)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a39305e9 in gcomm_recv(gcs_backend*, gcs_recv_msg*, long long) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a3923428 in gcs_core_recv(gcs_core*, gcs_act_rcvd*, long long) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3928064 in gcs_recv_thread(void*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7fd7ccc0db00 (LWP 29601)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000007095cf in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 wsrep_rollback_process (thd=0x7fd790c14008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:471 #3 0x00000000006fdc02 in start_wsrep_THD (arg=0x709150 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fd7ccbc3b00 (LWP 29602)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000069aeb0 in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 MDL_wait::timed_wait (this=0x7fd791014100, owner=0x7fd7910140b8, abs_timeout=0x7fd7ccbbe7c0, set_status_on_timeout=true, wait_state_name=0x1459070 ) at /home/buildbot/buildbot/build/sql/mdl.cc:1083 #3 0x0000000000667254 in TABLE_SHARE::wait_for_old_version (this=0x7fd7af365420, thd=0x7fd791014008, abstime=0x7fd7ccbbe7c0, deadlock_weight=) at /home/buildbot/buildbot/build/sql/table.cc:4054 #4 0x000000000070a9e4 in tdc_wait_for_old_version (thd=0x7fd791014008, db=, table_name=, wait_timeout=31536000, deadlock_weight=0, refresh_version=18446744073709551615) at /home/buildbot/buildbot/build/sql/table_cache.cc:984 #5 0x000000000056c6a1 in open_table (thd=0x7fd791014008, table_list=0x7fd791034080, ot_ctx=0x7fd7ccbbef80) at /home/buildbot/buildbot/build/sql/sql_base.cc:2505 #6 0x000000000056f897 in open_and_process_table (ot_ctx=, has_prelocking_list=, prelocking_strategy=, flags=, counter=, tables=, lex=0x7fd791017848, thd=) at /home/buildbot/buildbot/build/sql/sql_base.cc:4067 #7 open_tables (thd=0x7fd791014008, options=..., start=0x7fd7ccbbf038, counter=0x7fd7ccbbf05c, flags=0, prelocking_strategy=0x7fd7ccbbf750) at /home/buildbot/buildbot/build/sql/sql_base.cc:4578 #8 0x000000000056fe3b in open_and_lock_tables (thd=0x7fd791014134, options=..., tables=0x7fd791034080, derived=true, flags=2432778496, prelocking_strategy=0x0) at /home/buildbot/buildbot/build/sql/sql_base.cc:5258 #9 0x000000000069ee77 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *)) (thd=0x7fd791014008, tables=, check_opt=0x7fd791018740, operator_name=0xe45c1d "optimize", lock_type=TL_WRITE, open_for_modify=true, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x773bb0 , view_operator_func=0x0) at /home/buildbot/buildbot/build/sql/sql_base.h:534 #10 0x00000000006a0b83 in Sql_cmd_optimize_table::execute (this=, thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1308 #11 0x00000000005b3edc in mysql_execute_command (thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd791014008, rawbuf=, length=, parser_state=0x7fd7ccbc07b0) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x000000000085a6c4 in Query_log_event::do_apply_event (this=0x7fd79101a788, rgi=0x7fd79105b600, query_arg=0x7fd7910487b3 "optimize table t", q_len_arg=16) at /home/buildbot/buildbot/build/sql/log_event.cc:4459 #14 0x0000000000707076 in apply_event (rgi=0x7fd79105b600, this=, calling_file=, calling_func=, stage=, this=, src_line=, src_file=, key=, line_arg=, file_arg=, function_arg=, status_arg=, this=, calling_file=, calling_func=, stage=, this=, src_line=, src_file=, key=, line_arg=, file_arg=, function_arg=, status_arg=, this=) at /home/buildbot/buildbot/build/sql/log_event.h:1343 #15 wsrep_apply_events (thd=0x7fd791014008, events_buf=0x7fd7953978ef, buf_len=79) at /home/buildbot/buildbot/build/sql/wsrep_applier.cc:165 #16 0x0000000000707724 in wsrep_apply_cb (ctx=0x7fd791014008, buf=0x7fd7953977fa, buf_len=324, flags=4, meta=) at /home/buildbot/buildbot/build/sql/wsrep_applier.cc:262 #17 0x00007fd7a3944110 in galera::TrxHandle::apply(void*, wsrep_cb_status (*)(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*), wsrep_trx_meta const&) const () from /usr/lib64/galera/libgalera_smm.so #18 0x00007fd7a397cd0a in apply_trx_ws(void*, wsrep_cb_status (*)(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*), wsrep_cb_status (*)(void*, unsigned int, wsrep_trx_meta const*, bool*, bool), galera::TrxHandle const&, wsrep_trx_meta const&) () from /usr/lib64/galera/libgalera_smm.so #19 0x00007fd7a397fd73 in galera::ReplicatorSMM::apply_trx(void*, galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #20 0x00007fd7a39827c6 in galera::ReplicatorSMM::process_trx(void*, galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #21 0x00007fd7a39604e8 in galera::GcsActionSource::dispatch(void*, gcs_action const&, bool&) () from /usr/lib64/galera/libgalera_smm.so #22 0x00007fd7a3961a7c in galera::GcsActionSource::process(void*, bool&) () from /usr/lib64/galera/libgalera_smm.so #23 0x00007fd7a3982d63 in galera::ReplicatorSMM::async_recv(void*) () from /usr/lib64/galera/libgalera_smm.so #24 0x00007fd7a3992aeb in galera_recv () from /usr/lib64/galera/libgalera_smm.so #25 0x00000000007083dd in wsrep_replication_process (thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:360 #26 0x00000000006fdc02 in start_wsrep_THD (arg=0x708390 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #27 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #28 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fd7ccb79b00 (LWP 29603)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000053769f in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 handle_slave_background (arg=) at /home/buildbot/buildbot/build/sql/slave.cc:336 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fd7ccb2fb00 (LWP 626)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a39885c6 in galera::Monitor::enter(galera::ReplicatorSMM::LocalOrder&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a398b41a in galera::ReplicatorSMM::cert(galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3981b46 in galera::ReplicatorSMM::cert_and_catch(galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7a3981d0b in galera::ReplicatorSMM::pre_commit(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #5 0x00007fd7a3993998 in galera_pre_commit () from /usr/lib64/galera/libgalera_smm.so #6 0x00000000006f6848 in wsrep_run_wsrep_commit (thd=0x7fd7a77a3008, all=) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:480 #7 0x00000000006f71d8 in wsrep_prepare (hton=, thd=0x7fd7a77a3008, all=false) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:190 #8 0x0000000000771f1a in prepare_or_error (all=, thd=, ht=) at /home/buildbot/buildbot/build/sql/handler.cc:1147 #9 ha_commit_trans (thd=0x7fd7a77a3008, all=) at /home/buildbot/buildbot/build/sql/handler.cc:1426 #10 0x00000000006a16db in trans_commit_stmt (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/transaction.cc:434 #11 0x00000000005b37f4 in mysql_execute_command (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5743 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd7a77a3008, rawbuf=, length=, parser_state=0x7fd7ccb2e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7a77a3008, rawbuf=0x7fd790482020 "insert into t select 487", length=24, parser_state=0x7fd7ccb2e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #14 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7a77a3008, packet=0x7fd7af3e8009 "insert into t select 487", packet_length=24) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #15 0x00000000005bf5e7 in do_command (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #16 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #17 0x0000000000691492 in handle_one_connection (arg=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #18 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #19 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fd7ccae5b00 (LWP 630)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000069aeca in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=0x1, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 MDL_wait::timed_wait (this=0x7fd7a77a9100, owner=0x7fd7a77a90b8, abs_timeout=0x7fd7ccae1bb0, set_status_on_timeout=true, wait_state_name=0x1459070 ) at /home/buildbot/buildbot/build/sql/mdl.cc:1087 #3 0x0000000000667254 in TABLE_SHARE::wait_for_old_version (this=0x7fd7af365420, thd=0x7fd7a77a9008, abstime=0x7fd7ccae1bb0, deadlock_weight=) at /home/buildbot/buildbot/build/sql/table.cc:4054 #4 0x000000000070a9e4 in tdc_wait_for_old_version (thd=0x7fd7a77a9008, db=, table_name=, wait_timeout=31536000, deadlock_weight=0, refresh_version=18446744073709551615) at /home/buildbot/buildbot/build/sql/table_cache.cc:984 #5 0x000000000056c6a1 in open_table (thd=0x7fd7a77a9008, table_list=0x7fd79001e2c8, ot_ctx=0x7fd7ccae2370) at /home/buildbot/buildbot/build/sql/sql_base.cc:2505 #6 0x000000000056f897 in open_and_process_table (ot_ctx=, has_prelocking_list=, prelocking_strategy=, flags=, counter=, tables=, lex=0x7fd7a77ac848, thd=) at /home/buildbot/buildbot/build/sql/sql_base.cc:4067 #7 open_tables (thd=0x7fd7a77a9008, options=..., start=0x7fd7ccae2428, counter=0x7fd7ccae244c, flags=0, prelocking_strategy=0x7fd7ccae28a0) at /home/buildbot/buildbot/build/sql/sql_base.cc:4578 #8 0x000000000056fe3b in open_and_lock_tables (thd=0x7fd7a77a9134, options=..., tables=0x7fd79001e2c8, derived=true, flags=2809827584, prelocking_strategy=0xffffffff) at /home/buildbot/buildbot/build/sql/sql_base.cc:5258 #9 0x00000000005af378 in open_and_lock_tables (flags=, derived=, tables=, thd=) at /home/buildbot/buildbot/build/sql/sql_base.h:534 #10 execute_sqlcom_select (thd=0x7fd7a77a9008, all_tables=0x7fd79001e2c8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5843 #11 0x00000000005b3eb4 in mysql_execute_command (thd=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:2979 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd7a77a9008, rawbuf=, length=, parser_state=0x7fd7ccae4460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7a77a9008, rawbuf=0x7fd79001e020 "select count(*) from t", length=22, parser_state=0x7fd7ccae4460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #14 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7a77a9008, packet=0x7fd7a77af009 "select count(*) from t", packet_length=22) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #15 0x00000000005bf5e7 in do_command (thd=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #16 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #17 0x0000000000691492 in handle_one_connection (arg=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #18 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #19 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fd7c9d8fb00 (LWP 705)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a392b1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a398132f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3995194 in galera_to_execute_start () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f8d57 in wsrep_TOI_begin (thd=0x7fd7af3ed008, db_=0x0, table_=0x7fd78f4220b8 "t", table_list=0x0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1430 #5 0x00000000006fc2ba in wsrep_to_isolation_begin (thd=0x7fd7af3ed008, db_=0x0, table_=0x0, table_list=0x7fd78f4220f0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1630 #6 0x00000000006a0bdd in Sql_cmd_optimize_table::execute (this=, thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1302 #7 0x00000000005b3edc in mysql_execute_command (thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #8 0x00000000005bc08e in mysql_parse (thd=0x7fd7af3ed008, rawbuf=, length=, parser_state=0x7fd7c9d8e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #9 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7af3ed008, rawbuf=0x7fd78f422020 "optimize table t", length=16, parser_state=0x7fd7c9d8e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #10 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7af3ed008, packet=0x7fd7af3f3009 "optimize table t", packet_length=16) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #11 0x00000000005bf5e7 in do_command (thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #12 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #13 0x0000000000691492 in handle_one_connection (arg=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #14 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #15 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fd7ccc5a780 (LWP 29571)): #0 0x00007fd7cb72de2d in poll () from /lib64/libc.so.6 #1 0x000000000051ba30 in handle_connections_sockets () at /home/buildbot/buildbot/build/sql/mysqld.cc:6489 #2 0x0000000000522096 in mysqld_main (argc=32, argv=0x7fd7ca8118b0) at /home/buildbot/buildbot/build/sql/mysqld.cc:5914 #3 0x00007fd7cb662b35 in __libc_start_main () from /lib64/libc.so.6 #4 0x0000000000516ce9 in _start () (11:17 sql) > (11:17 sql) > mysql -h 127.0.0.1 -P 3314 -uroot -e 'show processlist' +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ | Id | User | Host | db | Command | Time | State | Info | Progress | +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ | 1 | system user | | test | Sleep | 751 | Waiting for table flush | optimize table t | 0.000 | | 2 | system user | | NULL | Sleep | 818 | wsrep aborter idle | NULL | 0.000 | | 518 | a | localhost:37078 | test | Query | 751 | query end | insert into t select 487 | 0.000 | | 519 | a | localhost:37080 | test | Query | 751 | Waiting for table flush | select count(*) from t | 0.000 | | 520 | a | localhost:37122 | test | Query | 741 | checking permissions | optimize table t | 0.000 | | 527 | root | localhost:38386 | NULL | Query | 0 | init | show processlist | 0.000 | +-----+-------------+-----------------+------+---------+------+-------------------------+--------------------------+----------+ (11:17 sql) > mysql -h 127.0.0.1 -P 3315 -uroot -e 'show processlist' +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ | Id | User | Host | db | Command | Time | State | Info | Progress | +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ | 1 | system user | | NULL | Sleep | 802 | wsrep aborter idle | NULL | 0.000 | | 2 | system user | | NULL | Sleep | 751 | committed 992 | NULL | 0.000 | | 517 | a | localhost:46558 | test | Query | 751 | query end | insert into t select 505 | 0.000 | | 518 | a | localhost:46562 | test | Query | 741 | checking permissions | optimize table t | 0.000 | | 525 | root | localhost:47826 | NULL | Query | 0 | init | show processlist | 0.000 | +-----+-------------+-----------------+------+---------+------+----------------------+--------------------------+----------+ (11:17 sql) > (11:17 sql) > gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p 29954 [New LWP 708] [New LWP 692] [New LWP 29986] [New LWP 29985] [New LWP 29984] [New LWP 29983] [New LWP 29982] [New LWP 29981] [New LWP 29980] [New LWP 29979] [New LWP 29978] [New LWP 29977] [New LWP 29976] [New LWP 29975] [New LWP 29974] [New LWP 29973] [New LWP 29972] [New LWP 29971] [New LWP 29970] [New LWP 29968] [New LWP 29967] [New LWP 29966] [New LWP 29965] [New LWP 29964] [New LWP 29963] [New LWP 29962] [New LWP 29961] [New LWP 29960] [New LWP 29959] [New LWP 29958] [New LWP 29957] [New LWP 29956] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fafa5a95e2d in poll () from /lib64/libc.so.6 Thread 33 (Thread 0x7fafa4bff700 (LWP 29956)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000c1322b in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 timer_handler (arg=) at /home/buildbot/buildbot/build/mysys/thr_timer.c:292 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 32 (Thread 0x7faf92fff700 (LWP 29957)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000b4e9d4 in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=0x1d72820 , that=0x1d72860 ) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 my_service_thread_sleep (control=0x148f000 , sleep_time=30000000000) at /home/buildbot/buildbot/build/storage/maria/ma_servicethread.c:115 #3 0x0000000000b47da4 in ma_checkpoint_background (arg=) at /home/buildbot/buildbot/build/storage/maria/ma_checkpoint.c:708 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 31 (Thread 0x7faf877ff700 (LWP 29958)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=0, message1=0x7faf877fee90, message2=0x7faf877fee88, type=0x7faf877fee80, space_id=0x7faf877fee78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=0) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 30 (Thread 0x7faf86ffe700 (LWP 29959)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=1, message1=0x7faf86ffde90, message2=0x7faf86ffde88, type=0x7faf86ffde80, space_id=0x7faf86ffde78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=1) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 29 (Thread 0x7faf867fd700 (LWP 29960)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=2, message1=0x7faf867fce90, message2=0x7faf867fce88, type=0x7faf867fce80, space_id=0x7faf867fce78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=2) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x7faf85ffc700 (LWP 29961)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=3, message1=0x7faf85ffbe90, message2=0x7faf85ffbe88, type=0x7faf85ffbe80, space_id=0x7faf85ffbe78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=3) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 27 (Thread 0x7faf857fb700 (LWP 29962)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=4, message1=0x7faf857fae90, message2=0x7faf857fae88, type=0x7faf857fae80, space_id=0x7faf857fae78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=4) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 26 (Thread 0x7faf84ffa700 (LWP 29963)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=5, message1=0x7faf84ff9e90, message2=0x7faf84ff9e88, type=0x7faf84ff9e80, space_id=0x7faf84ff9e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=5) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7faf847f9700 (LWP 29964)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=6, message1=0x7faf847f8e90, message2=0x7faf847f8e88, type=0x7faf847f8e80, space_id=0x7faf847f8e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=6) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7faf83ff8700 (LWP 29965)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=7, message1=0x7faf83ff7e90, message2=0x7faf83ff7e88, type=0x7faf83ff7e80, space_id=0x7faf83ff7e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=7) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7faf837f7700 (LWP 29966)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=8, message1=0x7faf837f6e90, message2=0x7faf837f6e88, type=0x7faf837f6e80, space_id=0x7faf837f6e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=8) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7faf82ff6700 (LWP 29967)): #0 0x00007fafa69b8644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=9, message1=0x7faf82ff5e90, message2=0x7faf82ff5e88, type=0x7faf82ff5e80, space_id=0x7faf82ff5e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=9) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7faf817ff700 (LWP 29968)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c39240, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009ddb8e in srv_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2182 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7faf807fd700 (LWP 29970)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3a5f0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x000000000094f0e4 in lock_wait_timeout_thread () at /home/buildbot/buildbot/build/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7faf7fffc700 (LWP 29971)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c391d0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009de27f in srv_error_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2423 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7faf7f7fb700 (LWP 29972)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x00000000009e027f in srv_master_sleep () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3115 #3 srv_master_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3165 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7faf7effa700 (LWP 29973)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3a890, time_in_usec=, reset_sig_count=3) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a8b312 in dict_stats_thread () at /home/buildbot/buildbot/build/storage/xtradb/dict/dict0stats_bg.cc:552 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7faf7e7f9700 (LWP 29974)): #0 0x00007fafa6bc5a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fafa4c3ac80, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a0d95d in ib_wqueue_timedwait (wq=0x7fafa4c8ca68, wait_in_usecs=5000000) at /home/buildbot/buildbot/build/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x0000000000acb3a9 in fts_optimize_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/fts/fts0opt.cc:3060 #5 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7faf7dff8700 (LWP 29975)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fafa4c39198) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fafa4c39160, reset_sig_count=8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x00000000009debdf in srv_resume_thread (timeout_usec=, wait=, sig_count=8, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:1088 #4 srv_purge_coordinator_suspend (rseg_history_len=, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3481 #5 srv_purge_coordinator_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3572 #6 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7faf80ffe700 (LWP 29976)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54fe2 in buf_flush_page_cleaner_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7faf7bbff700 (LWP 29977)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54d85 in page_cleaner_sleep_if_needed (next_loop_time=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 buf_flush_lru_manager_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2958 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7faf7abff700 (LWP 29978)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fafa4c392e8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fafa4c392b0, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x0000000000a4e73a in buf_dump_thread () at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0dump.cc:701 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7faf7a3fe700 (LWP 29979)): #0 0x00007fafa5a97bd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a3c2da in btr_defragment_thread () at /home/buildbot/buildbot/build/storage/xtradb/btr/btr0defragment.cc:770 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fafa6fbfb00 (LWP 29980)): #0 0x00007fafa6bc9101 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000051cf6b in signal_hand (arg=) at /home/buildbot/buildbot/build/sql/mysqld.cc:3400 #2 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7faf6f549700 (LWP 29981)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d559976 in galera::ServiceThd::thd_func(void*) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7faf6d3ff700 (LWP 29982)): #0 0x00007fafa5aa0d43 in epoll_wait () from /lib64/libc.so.6 #1 0x00007faf7d515507 in asio::detail::epoll_reactor::run(bool, asio::detail::op_queue&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d516274 in asio::detail::task_io_service::run(asio::error_code&) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d5143fd in gcomm::AsioProtonet::event_loop(gu::datetime::Period const&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007faf7d52f066 in GCommConn::run() () from /usr/lib64/galera/libgalera_smm.so #5 0x00007faf7d534d99 in GCommConn::run_fn(void*) () from /usr/lib64/galera/libgalera_smm.so #6 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7faf6cbfe700 (LWP 29983)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52f5e9 in gcomm_recv(gcs_backend*, gcs_recv_msg*, long long) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d522428 in gcs_core_recv(gcs_core*, gcs_act_rcvd*, long long) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d527064 in gcs_recv_thread(void*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fafa6f75b00 (LWP 29984)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000007095cf in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 wsrep_rollback_process (thd=0x7faf6b414008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:471 #3 0x00000000006fdc02 in start_wsrep_THD (arg=0x709150 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #4 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fafa6f2bb00 (LWP 29985)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d41e5be in gu_fifo_get_head () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d5260d3 in gcs_recv(gcs_conn*, gcs_action*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d560a54 in galera::GcsActionSource::process(void*, bool&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007faf7d581d63 in galera::ReplicatorSMM::async_recv(void*) () from /usr/lib64/galera/libgalera_smm.so #5 0x00007faf7d591aeb in galera_recv () from /usr/lib64/galera/libgalera_smm.so #6 0x00000000007083dd in wsrep_replication_process (thd=0x7faf6b014008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:360 #7 0x00000000006fdc02 in start_wsrep_THD (arg=0x708390 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #8 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fafa6ee1b00 (LWP 29986)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000053769f in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 handle_slave_background (arg=) at /home/buildbot/buildbot/build/sql/slave.cc:336 #3 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fafa6e97b00 (LWP 692)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52a1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d58032f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d59293e in galera_pre_commit () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f6848 in wsrep_run_wsrep_commit (thd=0x7faf81b9e008, all=) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:480 #5 0x00000000006f71d8 in wsrep_prepare (hton=, thd=0x7faf81b9e008, all=false) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:190 #6 0x0000000000771f1a in prepare_or_error (all=, thd=, ht=) at /home/buildbot/buildbot/build/sql/handler.cc:1147 #7 ha_commit_trans (thd=0x7faf81b9e008, all=) at /home/buildbot/buildbot/build/sql/handler.cc:1426 #8 0x00000000006a16db in trans_commit_stmt (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/transaction.cc:434 #9 0x00000000005b37f4 in mysql_execute_command (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5743 #10 0x00000000005bc08e in mysql_parse (thd=0x7faf81b9e008, rawbuf=, length=, parser_state=0x7fafa6e96460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #11 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7faf81b9e008, rawbuf=0x7faf6a83e020 "insert into t select 505", length=24, parser_state=0x7fafa6e96460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #12 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7faf81b9e008, packet=0x7faf81ba9009 "insert into t select 505", packet_length=24) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #13 0x00000000005bf5e7 in do_command (thd=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #14 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #15 0x0000000000691492 in handle_one_connection (arg=0x7faf81b9e008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #16 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #17 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fafa6e4db00 (LWP 708)): #0 0x00007fafa6bc56d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007faf7d52a1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007faf7d58032f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007faf7d594194 in galera_to_execute_start () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f8d57 in wsrep_TOI_begin (thd=0x7faf81bae008, db_=0x0, table_=0x7faf694220b8 "t", table_list=0x0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1430 #5 0x00000000006fc2ba in wsrep_to_isolation_begin (thd=0x7faf81bae008, db_=0x0, table_=0x0, table_list=0x7faf694220f0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1630 #6 0x00000000006a0bdd in Sql_cmd_optimize_table::execute (this=, thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1302 #7 0x00000000005b3edc in mysql_execute_command (thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #8 0x00000000005bc08e in mysql_parse (thd=0x7faf81bae008, rawbuf=, length=, parser_state=0x7fafa6e4c460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #9 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7faf81bae008, rawbuf=0x7faf69422020 "optimize table t", length=16, parser_state=0x7fafa6e4c460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #10 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7faf81bae008, packet=0x7faf81bb4009 "optimize table t", packet_length=16) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #11 0x00000000005bf5e7 in do_command (thd=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #12 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #13 0x0000000000691492 in handle_one_connection (arg=0x7faf81bae008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #14 0x00007fafa6bc1dc5 in start_thread () from /lib64/libpthread.so.0 #15 0x00007fafa5aa076d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fafa6fc2780 (LWP 29954)): #0 0x00007fafa5a95e2d in poll () from /lib64/libc.so.6 #1 0x000000000051ba30 in handle_connections_sockets () at /home/buildbot/buildbot/build/sql/mysqld.cc:6489 #2 0x0000000000522096 in mysqld_main (argc=31, argv=0x7fafa4c118b8) at /home/buildbot/buildbot/build/sql/mysqld.cc:5914 #3 0x00007fafa59cab35 in __libc_start_main () from /lib64/libc.so.6 #4 0x0000000000516ce9 in _start () (11:17 sql) > gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p 29571 [New LWP 705] [New LWP 630] [New LWP 626] [New LWP 29603] [New LWP 29602] [New LWP 29601] [New LWP 29600] [New LWP 29599] [New LWP 29598] [New LWP 29597] [New LWP 29596] [New LWP 29595] [New LWP 29594] [New LWP 29593] [New LWP 29592] [New LWP 29591] [New LWP 29590] [New LWP 29589] [New LWP 29588] [New LWP 29587] [New LWP 29585] [New LWP 29584] [New LWP 29583] [New LWP 29582] [New LWP 29581] [New LWP 29580] [New LWP 29579] [New LWP 29578] [New LWP 29577] [New LWP 29576] [New LWP 29575] [New LWP 29574] [New LWP 29573] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fd7cb72de2d in poll () from /lib64/libc.so.6 Thread 34 (Thread 0x7fd7ca7ff700 (LWP 29573)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000c1322b in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 timer_handler (arg=) at /home/buildbot/buildbot/build/mysys/thr_timer.c:292 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 33 (Thread 0x7fd7b8bff700 (LWP 29574)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000b4e9d4 in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=, mutex=0x1d72820 , that=0x1d72860 ) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 my_service_thread_sleep (control=0x148f000 , sleep_time=30000000000) at /home/buildbot/buildbot/build/storage/maria/ma_servicethread.c:115 #3 0x0000000000b47da4 in ma_checkpoint_background (arg=) at /home/buildbot/buildbot/build/storage/maria/ma_checkpoint.c:708 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 32 (Thread 0x7fd7ad3ff700 (LWP 29575)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=0, message1=0x7fd7ad3fee90, message2=0x7fd7ad3fee88, type=0x7fd7ad3fee80, space_id=0x7fd7ad3fee78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=0) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 31 (Thread 0x7fd7acbfe700 (LWP 29576)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=1, message1=0x7fd7acbfde90, message2=0x7fd7acbfde88, type=0x7fd7acbfde80, space_id=0x7fd7acbfde78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=1) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 30 (Thread 0x7fd7ac3fd700 (LWP 29577)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=2, message1=0x7fd7ac3fce90, message2=0x7fd7ac3fce88, type=0x7fd7ac3fce80, space_id=0x7fd7ac3fce78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=2) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 29 (Thread 0x7fd7abbfc700 (LWP 29578)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=3, message1=0x7fd7abbfbe90, message2=0x7fd7abbfbe88, type=0x7fd7abbfbe80, space_id=0x7fd7abbfbe78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=3) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x7fd7ab3fb700 (LWP 29579)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=4, message1=0x7fd7ab3fae90, message2=0x7fd7ab3fae88, type=0x7fd7ab3fae80, space_id=0x7fd7ab3fae78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=4) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 27 (Thread 0x7fd7aabfa700 (LWP 29580)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=5, message1=0x7fd7aabf9e90, message2=0x7fd7aabf9e88, type=0x7fd7aabf9e80, space_id=0x7fd7aabf9e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=5) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 26 (Thread 0x7fd7aa3f9700 (LWP 29581)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=6, message1=0x7fd7aa3f8e90, message2=0x7fd7aa3f8e88, type=0x7fd7aa3f8e80, space_id=0x7fd7aa3f8e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=6) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7fd7a9bf8700 (LWP 29582)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=7, message1=0x7fd7a9bf7e90, message2=0x7fd7a9bf7e88, type=0x7fd7a9bf7e80, space_id=0x7fd7a9bf7e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=7) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7fd7a93f7700 (LWP 29583)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=8, message1=0x7fd7a93f6e90, message2=0x7fd7a93f6e88, type=0x7fd7a93f6e80, space_id=0x7fd7a93f6e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=8) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7fd7a8bf6700 (LWP 29584)): #0 0x00007fd7cc650644 in __io_getevents_0_4 () from /lib64/libaio.so.1 #1 0x0000000000970c7e in os_aio_linux_collect (seg_size=, segment=, array=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5388 #2 os_aio_linux_handle (global_seg=9, message1=0x7fd7a8bf5e90, message2=0x7fd7a8bf5e88, type=0x7fd7a8bf5e80, space_id=0x7fd7a8bf5e78) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5542 #3 0x0000000000a98c37 in fil_aio_wait (segment=9) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6503 #4 0x00000000009e0c34 in io_handler_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:586 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7fd7a73ff700 (LWP 29585)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca839240, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009ddb8e in srv_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2182 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7fd7a63fd700 (LWP 29587)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83a5f0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x000000000094f0e4 in lock_wait_timeout_thread () at /home/buildbot/buildbot/build/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7fd7a5bfc700 (LWP 29588)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca8391d0, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x00000000009de27f in srv_error_monitor_thread () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:2423 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7fd7a53fb700 (LWP 29589)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x00000000009e027f in srv_master_sleep () at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3115 #3 srv_master_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3165 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7fd7a4bfa700 (LWP 29590)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83a890, time_in_usec=, reset_sig_count=3) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a8b312 in dict_stats_thread () at /home/buildbot/buildbot/build/storage/xtradb/dict/dict0stats_bg.cc:552 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7fd7a43f9700 (LWP 29591)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000097433e in os_cond_wait_timed (abstime=, fast_mutex=, cond=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:159 #2 os_event_wait_time_low (event=0x7fd7ca83ac80, time_in_usec=, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:591 #3 0x0000000000a0d95d in ib_wqueue_timedwait (wq=0x7fd7ca88c928, wait_in_usecs=5000000) at /home/buildbot/buildbot/build/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x0000000000acb3a9 in fts_optimize_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/fts/fts0opt.cc:3060 #5 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7fd7a2fff700 (LWP 29592)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fd7ca839198) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fd7ca839160, reset_sig_count=5) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x00000000009debdf in srv_resume_thread (timeout_usec=, wait=, sig_count=5, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:1088 #4 srv_purge_coordinator_suspend (rseg_history_len=, slot=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3481 #5 srv_purge_coordinator_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0srv.cc:3572 #6 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7fd7a6bfe700 (LWP 29593)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54fe2 in buf_flush_page_cleaner_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7fd7a17ff700 (LWP 29594)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a54d85 in page_cleaner_sleep_if_needed (next_loop_time=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2668 #3 buf_flush_lru_manager_thread (arg=) at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0flu.cc:2958 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7fd7a07ff700 (LWP 29595)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000974503 in os_cond_wait (fast_mutex=, cond=0x7fd7ca8392e8) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:196 #2 os_event_wait_low (event=0x7fd7ca8392b0, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/xtradb/os/os0sync.cc:477 #3 0x0000000000a4e73a in buf_dump_thread () at /home/buildbot/buildbot/build/storage/xtradb/buf/buf0dump.cc:701 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7fd79fffe700 (LWP 29596)): #0 0x00007fd7cb72fbd3 in select () from /lib64/libc.so.6 #1 0x00000000009746ef in os_thread_sleep (tm=) at /home/buildbot/buildbot/build/storage/xtradb/os/os0thread.cc:307 #2 0x0000000000a3c2da in btr_defragment_thread () at /home/buildbot/buildbot/build/storage/xtradb/btr/btr0defragment.cc:770 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7fd7ccc57b00 (LWP 29597)): #0 0x00007fd7cc861101 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000051cf6b in signal_hand (arg=) at /home/buildbot/buildbot/build/sql/mysqld.cc:3400 #2 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fd795358700 (LWP 29598)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a395a976 in galera::ServiceThd::thd_func(void*) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #3 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7fd792fff700 (LWP 29599)): #0 0x00007fd7cb738d43 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fd7a3916507 in asio::detail::epoll_reactor::run(bool, asio::detail::op_queue&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a3917274 in asio::detail::task_io_service::run(asio::error_code&) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a39153fd in gcomm::AsioProtonet::event_loop(gu::datetime::Period const&) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7a3930066 in GCommConn::run() () from /usr/lib64/galera/libgalera_smm.so #5 0x00007fd7a3935d99 in GCommConn::run_fn(void*) () from /usr/lib64/galera/libgalera_smm.so #6 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7fd7927fe700 (LWP 29600)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a39305e9 in gcomm_recv(gcs_backend*, gcs_recv_msg*, long long) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a3923428 in gcs_core_recv(gcs_core*, gcs_act_rcvd*, long long) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3928064 in gcs_recv_thread(void*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7fd7ccc0db00 (LWP 29601)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000007095cf in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 wsrep_rollback_process (thd=0x7fd790c14008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:471 #3 0x00000000006fdc02 in start_wsrep_THD (arg=0x709150 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #4 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fd7ccbc3b00 (LWP 29602)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000069aeb0 in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 MDL_wait::timed_wait (this=0x7fd791014100, owner=0x7fd7910140b8, abs_timeout=0x7fd7ccbbe7c0, set_status_on_timeout=true, wait_state_name=0x1459070 ) at /home/buildbot/buildbot/build/sql/mdl.cc:1083 #3 0x0000000000667254 in TABLE_SHARE::wait_for_old_version (this=0x7fd7af365420, thd=0x7fd791014008, abstime=0x7fd7ccbbe7c0, deadlock_weight=) at /home/buildbot/buildbot/build/sql/table.cc:4054 #4 0x000000000070a9e4 in tdc_wait_for_old_version (thd=0x7fd791014008, db=, table_name=, wait_timeout=31536000, deadlock_weight=0, refresh_version=18446744073709551615) at /home/buildbot/buildbot/build/sql/table_cache.cc:984 #5 0x000000000056c6a1 in open_table (thd=0x7fd791014008, table_list=0x7fd791034080, ot_ctx=0x7fd7ccbbef80) at /home/buildbot/buildbot/build/sql/sql_base.cc:2505 #6 0x000000000056f897 in open_and_process_table (ot_ctx=, has_prelocking_list=, prelocking_strategy=, flags=, counter=, tables=, lex=0x7fd791017848, thd=) at /home/buildbot/buildbot/build/sql/sql_base.cc:4067 #7 open_tables (thd=0x7fd791014008, options=..., start=0x7fd7ccbbf038, counter=0x7fd7ccbbf05c, flags=0, prelocking_strategy=0x7fd7ccbbf750) at /home/buildbot/buildbot/build/sql/sql_base.cc:4578 #8 0x000000000056fe3b in open_and_lock_tables (thd=0x7fd791014134, options=..., tables=0x7fd791034080, derived=true, flags=2432778496, prelocking_strategy=0x0) at /home/buildbot/buildbot/build/sql/sql_base.cc:5258 #9 0x000000000069ee77 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *)) (thd=0x7fd791014008, tables=, check_opt=0x7fd791018740, operator_name=0xe45c1d "optimize", lock_type=TL_WRITE, open_for_modify=true, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x773bb0 , view_operator_func=0x0) at /home/buildbot/buildbot/build/sql/sql_base.h:534 #10 0x00000000006a0b83 in Sql_cmd_optimize_table::execute (this=, thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1308 #11 0x00000000005b3edc in mysql_execute_command (thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd791014008, rawbuf=, length=, parser_state=0x7fd7ccbc07b0) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x000000000085a6c4 in Query_log_event::do_apply_event (this=0x7fd79101a788, rgi=0x7fd79105b600, query_arg=0x7fd7910487b3 "optimize table t", q_len_arg=16) at /home/buildbot/buildbot/build/sql/log_event.cc:4459 #14 0x0000000000707076 in apply_event (rgi=0x7fd79105b600, this=, calling_file=, calling_func=, stage=, this=, src_line=, src_file=, key=, line_arg=, file_arg=, function_arg=, status_arg=, this=, calling_file=, calling_func=, stage=, this=, src_line=, src_file=, key=, line_arg=, file_arg=, function_arg=, status_arg=, this=) at /home/buildbot/buildbot/build/sql/log_event.h:1343 #15 wsrep_apply_events (thd=0x7fd791014008, events_buf=0x7fd7953978ef, buf_len=79) at /home/buildbot/buildbot/build/sql/wsrep_applier.cc:165 #16 0x0000000000707724 in wsrep_apply_cb (ctx=0x7fd791014008, buf=0x7fd7953977fa, buf_len=324, flags=4, meta=) at /home/buildbot/buildbot/build/sql/wsrep_applier.cc:262 #17 0x00007fd7a3944110 in galera::TrxHandle::apply(void*, wsrep_cb_status (*)(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*), wsrep_trx_meta const&) const () from /usr/lib64/galera/libgalera_smm.so #18 0x00007fd7a397cd0a in apply_trx_ws(void*, wsrep_cb_status (*)(void*, void const*, unsigned long, unsigned int, wsrep_trx_meta const*), wsrep_cb_status (*)(void*, unsigned int, wsrep_trx_meta const*, bool*, bool), galera::TrxHandle const&, wsrep_trx_meta const&) () from /usr/lib64/galera/libgalera_smm.so #19 0x00007fd7a397fd73 in galera::ReplicatorSMM::apply_trx(void*, galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #20 0x00007fd7a39827c6 in galera::ReplicatorSMM::process_trx(void*, galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #21 0x00007fd7a39604e8 in galera::GcsActionSource::dispatch(void*, gcs_action const&, bool&) () from /usr/lib64/galera/libgalera_smm.so #22 0x00007fd7a3961a7c in galera::GcsActionSource::process(void*, bool&) () from /usr/lib64/galera/libgalera_smm.so #23 0x00007fd7a3982d63 in galera::ReplicatorSMM::async_recv(void*) () from /usr/lib64/galera/libgalera_smm.so #24 0x00007fd7a3992aeb in galera_recv () from /usr/lib64/galera/libgalera_smm.so #25 0x00000000007083dd in wsrep_replication_process (thd=0x7fd791014008) at /home/buildbot/buildbot/build/sql/wsrep_thd.cc:360 #26 0x00000000006fdc02 in start_wsrep_THD (arg=0x708390 ) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1855 #27 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #28 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fd7ccb79b00 (LWP 29603)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000053769f in inline_mysql_cond_wait (src_line=, src_file=, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1165 #2 handle_slave_background (arg=) at /home/buildbot/buildbot/build/sql/slave.cc:336 #3 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fd7ccb2fb00 (LWP 626)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a39885c6 in galera::Monitor::enter(galera::ReplicatorSMM::LocalOrder&) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a398b41a in galera::ReplicatorSMM::cert(galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3981b46 in galera::ReplicatorSMM::cert_and_catch(galera::TrxHandle*) () from /usr/lib64/galera/libgalera_smm.so #4 0x00007fd7a3981d0b in galera::ReplicatorSMM::pre_commit(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #5 0x00007fd7a3993998 in galera_pre_commit () from /usr/lib64/galera/libgalera_smm.so #6 0x00000000006f6848 in wsrep_run_wsrep_commit (thd=0x7fd7a77a3008, all=) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:480 #7 0x00000000006f71d8 in wsrep_prepare (hton=, thd=0x7fd7a77a3008, all=false) at /home/buildbot/buildbot/build/sql/wsrep_hton.cc:190 #8 0x0000000000771f1a in prepare_or_error (all=, thd=, ht=) at /home/buildbot/buildbot/build/sql/handler.cc:1147 #9 ha_commit_trans (thd=0x7fd7a77a3008, all=) at /home/buildbot/buildbot/build/sql/handler.cc:1426 #10 0x00000000006a16db in trans_commit_stmt (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/transaction.cc:434 #11 0x00000000005b37f4 in mysql_execute_command (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5743 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd7a77a3008, rawbuf=, length=, parser_state=0x7fd7ccb2e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7a77a3008, rawbuf=0x7fd790482020 "insert into t select 487", length=24, parser_state=0x7fd7ccb2e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #14 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7a77a3008, packet=0x7fd7af3e8009 "insert into t select 487", packet_length=24) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #15 0x00000000005bf5e7 in do_command (thd=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #16 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #17 0x0000000000691492 in handle_one_connection (arg=0x7fd7a77a3008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #18 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #19 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fd7ccae5b00 (LWP 630)): #0 0x00007fd7cc85da82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000069aeca in inline_mysql_cond_timedwait (src_line=, src_file=, abstime=0x1, mutex=, that=) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1202 #2 MDL_wait::timed_wait (this=0x7fd7a77a9100, owner=0x7fd7a77a90b8, abs_timeout=0x7fd7ccae1bb0, set_status_on_timeout=true, wait_state_name=0x1459070 ) at /home/buildbot/buildbot/build/sql/mdl.cc:1087 #3 0x0000000000667254 in TABLE_SHARE::wait_for_old_version (this=0x7fd7af365420, thd=0x7fd7a77a9008, abstime=0x7fd7ccae1bb0, deadlock_weight=) at /home/buildbot/buildbot/build/sql/table.cc:4054 #4 0x000000000070a9e4 in tdc_wait_for_old_version (thd=0x7fd7a77a9008, db=, table_name=, wait_timeout=31536000, deadlock_weight=0, refresh_version=18446744073709551615) at /home/buildbot/buildbot/build/sql/table_cache.cc:984 #5 0x000000000056c6a1 in open_table (thd=0x7fd7a77a9008, table_list=0x7fd79001e2c8, ot_ctx=0x7fd7ccae2370) at /home/buildbot/buildbot/build/sql/sql_base.cc:2505 #6 0x000000000056f897 in open_and_process_table (ot_ctx=, has_prelocking_list=, prelocking_strategy=, flags=, counter=, tables=, lex=0x7fd7a77ac848, thd=) at /home/buildbot/buildbot/build/sql/sql_base.cc:4067 #7 open_tables (thd=0x7fd7a77a9008, options=..., start=0x7fd7ccae2428, counter=0x7fd7ccae244c, flags=0, prelocking_strategy=0x7fd7ccae28a0) at /home/buildbot/buildbot/build/sql/sql_base.cc:4578 #8 0x000000000056fe3b in open_and_lock_tables (thd=0x7fd7a77a9134, options=..., tables=0x7fd79001e2c8, derived=true, flags=2809827584, prelocking_strategy=0xffffffff) at /home/buildbot/buildbot/build/sql/sql_base.cc:5258 #9 0x00000000005af378 in open_and_lock_tables (flags=, derived=, tables=, thd=) at /home/buildbot/buildbot/build/sql/sql_base.h:534 #10 execute_sqlcom_select (thd=0x7fd7a77a9008, all_tables=0x7fd79001e2c8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5843 #11 0x00000000005b3eb4 in mysql_execute_command (thd=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:2979 #12 0x00000000005bc08e in mysql_parse (thd=0x7fd7a77a9008, rawbuf=, length=, parser_state=0x7fd7ccae4460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #13 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7a77a9008, rawbuf=0x7fd79001e020 "select count(*) from t", length=22, parser_state=0x7fd7ccae4460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #14 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7a77a9008, packet=0x7fd7a77af009 "select count(*) from t", packet_length=22) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #15 0x00000000005bf5e7 in do_command (thd=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #16 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #17 0x0000000000691492 in handle_one_connection (arg=0x7fd7a77a9008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #18 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #19 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fd7c9d8fb00 (LWP 705)): #0 0x00007fd7cc85d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fd7a392b1c3 in gcs_replv(gcs_conn*, gu_buf const*, gcs_action*, bool) () from /usr/lib64/galera/libgalera_smm.so #2 0x00007fd7a398132f in galera::ReplicatorSMM::replicate(galera::TrxHandle*, wsrep_trx_meta*) () from /usr/lib64/galera/libgalera_smm.so #3 0x00007fd7a3995194 in galera_to_execute_start () from /usr/lib64/galera/libgalera_smm.so #4 0x00000000006f8d57 in wsrep_TOI_begin (thd=0x7fd7af3ed008, db_=0x0, table_=0x7fd78f4220b8 "t", table_list=0x0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1430 #5 0x00000000006fc2ba in wsrep_to_isolation_begin (thd=0x7fd7af3ed008, db_=0x0, table_=0x0, table_list=0x7fd78f4220f0) at /home/buildbot/buildbot/build/sql/wsrep_mysqld.cc:1630 #6 0x00000000006a0bdd in Sql_cmd_optimize_table::execute (this=, thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_admin.cc:1302 #7 0x00000000005b3edc in mysql_execute_command (thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5697 #8 0x00000000005bc08e in mysql_parse (thd=0x7fd7af3ed008, rawbuf=, length=, parser_state=0x7fd7c9d8e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7339 #9 0x00000000005bc128 in wsrep_mysql_parse (thd=0x7fd7af3ed008, rawbuf=0x7fd78f422020 "optimize table t", length=16, parser_state=0x7fd7c9d8e460) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7162 #10 0x00000000005be4be in dispatch_command (command=COM_QUERY, thd=0x7fd7af3ed008, packet=0x7fd7af3f3009 "optimize table t", packet_length=16) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1488 #11 0x00000000005bf5e7 in do_command (thd=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1109 #12 0x0000000000691283 in do_handle_one_connection (thd_arg=) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349 #13 0x0000000000691492 in handle_one_connection (arg=0x7fd7af3ed008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261 #14 0x00007fd7cc859dc5 in start_thread () from /lib64/libpthread.so.0 #15 0x00007fd7cb73876d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fd7ccc5a780 (LWP 29571)): #0 0x00007fd7cb72de2d in poll () from /lib64/libc.so.6 #1 0x000000000051ba30 in handle_connections_sockets () at /home/buildbot/buildbot/build/sql/mysqld.cc:6489 #2 0x0000000000522096 in mysqld_main (argc=32, argv=0x7fd7ca8118b0) at /home/buildbot/buildbot/build/sql/mysqld.cc:5914 #3 0x00007fd7cb662b35 in __libc_start_main () from /lib64/libc.so.6 #4 0x0000000000516ce9 in _start ()