(gdb) thread apply all bt

Thread 11 (Thread 0x14ebb4b79700 (LWP 2118130)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14ebb4b78c40, clockid=<optimized out>, expected=0, futex_word=0x55a0dd558c70 <buf_pool+17456>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14ebb4b78c40, clockid=<optimized out>, mutex=0x55a0dd558b68 <buf_pool+17192>, cond=0x55a0dd558c48 <buf_pool+17416>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x55a0dd558c48 <buf_pool+17416>, mutex=mutex@entry=0x55a0dd558b68 <buf_pool+17192>, abstime=abstime@entry=0x14ebb4b78c40) at pthread_cond_wait.c:665
#3  0x000055a0dcb5db93 in safe_cond_timedwait (cond=0x55a0dd558c48 <buf_pool+17416>, mp=0x55a0dd558b40 <buf_pool+17152>, abstime=abstime@entry=0x14ebb4b78c40, file=file@entry=0x55a0dcf6e298 "/test/10.6_dbg/storage/innobase/buf/buf0flu.cc", line=line@entry=2269) at /test/10.6_dbg/mysys/thr_mutex.c:546
#4  0x000055a0dc9faaeb in buf_flush_page_cleaner () at /test/10.6_dbg/storage/innobase/buf/buf0flu.cc:2269
#5  0x000055a0dc9fbfeb in std::__invoke_impl<void, void (*)()> (__f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#6  std::__invoke<void (*)()> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#7  std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#8  std::thread::_Invoker<std::tuple<void (*)()> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#9  std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#10 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x14eb9ef5c700 (LWP 2118228)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14eb9ef5bbb0, clockid=<optimized out>, expected=0, futex_word=0x55a0df32e038) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14eb9ef5bbb0, clockid=<optimized out>, mutex=0x55a0df32dc80, cond=0x55a0df32e010) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55a0df32e010, mutex=0x55a0df32dc80, abstime=0x14eb9ef5bbb0) at pthread_cond_wait.c:665
#3  0x000055a0dcaf8c7e in __gthread_cond_timedwait (__abs_timeout=0x14eb9ef5bbb0, __mutex=<optimized out>, __cond=0x55a0df32e010) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872
#4  std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=<synthetic pointer>..., __lock=..., this=0x55a0df32e010) at /usr/include/c++/9/condition_variable:188
#5  std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55a0df32e010) at /usr/include/c++/9/condition_variable:121
#6  std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55a0df32e010) at /usr/include/c++/9/condition_variable:152
#7  tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55a0df32dae0, lk=..., thread_data=thread_data@entry=0x55a0df32e010) at /test/10.6_dbg/tpool/tpool_generic.cc:480
#8  0x000055a0dcaf9d49 in tpool::thread_pool_generic::get_task (this=this@entry=0x55a0df32dae0, thread_var=thread_var@entry=0x55a0df32e010, t=t@entry=0x14eb9ef5bc58) at /test/10.6_dbg/tpool/tpool_generic.cc:533
#9  0x000055a0dcaf9e68 in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32e010) at /test/10.6_dbg/tpool/tpool_generic.cc:578
#10 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#11 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#12 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#13 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#15 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x14ebb44a2700 (LWP 2118211)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a0dde1ee50 <purge_worker_task+112>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a0dde1ee00 <purge_worker_task+32>, cond=0x55a0dde1ee28 <purge_worker_task+72>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a0dde1ee28 <purge_worker_task+72>, mutex=0x55a0dde1ee00 <purge_worker_task+32>) at pthread_cond_wait.c:647
#3  0x000014ebb746ae30 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x000055a0dcafc045 in tpool::waitable_task::wait (this=this@entry=0x55a0dde1ede0 <purge_worker_task>, lk=...) at /test/10.6_dbg/tpool/task.cc:63
#5  0x000055a0dcafc099 in tpool::waitable_task::wait (this=0x55a0dde1ede0 <purge_worker_task>) at /test/10.6_dbg/tpool/task.cc:69
#6  0x000055a0dc93012b in trx_purge_wait_for_workers_to_complete () at /test/10.6_dbg/storage/innobase/trx/trx0purge.cc:1232
#7  trx_purge (n_tasks=<optimized out>, history_size=history_size@entry=6) at /test/10.6_dbg/storage/innobase/trx/trx0purge.cc:1316
--Type <RET> for more, q to quit, c to continue without paging--
#8  0x000055a0dc91aa54 in purge_coordinator_state::do_purge (this=this@entry=0x55a0dde51c80 <purge_state>) at /test/10.6_dbg/storage/innobase/srv/srv0srv.cc:1702
#9  0x000055a0dc919212 in purge_coordinator_callback () at /test/10.6_dbg/storage/innobase/srv/srv0srv.cc:1862
#10 0x000055a0dcafbe34 in tpool::task_group::execute (this=0x55a0dde51b20 <purge_coordinator_task_group>, t=t@entry=0x55a0dde51a80 <purge_coordinator_task>) at /test/10.6_dbg/tpool/task_group.cc:55
#11 0x000055a0dcafbebd in tpool::task::execute (this=0x55a0dde51a80 <purge_coordinator_task>) at /test/10.6_dbg/tpool/task.cc:32
#12 0x000055a0dcaf9e7b in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32de90) at /test/10.6_dbg/tpool/tpool_generic.cc:580
#13 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#14 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#15 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#16 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#17 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#18 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#20 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x14ebb76aa700 (LWP 2118017)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14ebb76a9c70, clockid=<optimized out>, expected=0, futex_word=0x55a0dde6144c <COND_timer+44>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14ebb76a9c70, clockid=<optimized out>, mutex=0x55a0dde61488 <LOCK_timer+40>, cond=0x55a0dde61420 <COND_timer>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x55a0dde61420 <COND_timer>, mutex=mutex@entry=0x55a0dde61488 <LOCK_timer+40>, abstime=abstime@entry=0x14ebb76a9c70) at pthread_cond_wait.c:665
#3  0x000055a0dcb5db93 in safe_cond_timedwait (cond=cond@entry=0x55a0dde61420 <COND_timer>, mp=mp@entry=0x55a0dde61460 <LOCK_timer>, abstime=abstime@entry=0x14ebb76a9c70, file=file@entry=0x55a0dccdc1a0 "/test/10.6_dbg/include/mysql/psi/mysql_thread.h", line=line@entry=1088) at /test/10.6_dbg/mysys/thr_mutex.c:546
#4  0x000055a0dcb5e152 in inline_mysql_cond_timedwait (src_line=321, src_file=0x55a0dcf97fc0 "/test/10.6_dbg/mysys/thr_timer.c", abstime=0x14ebb76a9c70, mutex=0x55a0dde61460 <LOCK_timer>, that=0x55a0dde61420 <COND_timer>) at /test/10.6_dbg/include/mysql/psi/mysql_thread.h:1088
#5  timer_handler (arg=<optimized out>) at /test/10.6_dbg/mysys/thr_timer.c:321
#6  0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x14ebb51a9700 (LWP 2118095)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x000055a0dcafc4b1 in my_getevents (ev=0x14ebb51a6c50, nr=256, min_nr=1, ctx=<optimized out>) at /test/10.6_dbg/tpool/aio_linux.cc:63
#2  tpool::aio_linux::getevent_thread_routine (aio=0x55a0df3098f0) at /test/10.6_dbg/tpool/aio_linux.cc:105
#3  0x000055a0dcafc430 in std::__invoke_impl<void, void (*)(tpool::aio_linux*), tpool::aio_linux*> (__f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#4  std::__invoke<void (*)(tpool::aio_linux*), tpool::aio_linux*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#5  std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#6  std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#7  std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#8  0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x14eb9ed5b700 (LWP 2118229)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14eb9ed5abb0, clockid=<optimized out>, expected=0, futex_word=0x55a0df32e0bc) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14eb9ed5abb0, clockid=<optimized out>, mutex=0x55a0df32dc80, cond=0x55a0df32e090) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55a0df32e090, mutex=0x55a0df32dc80, abstime=0x14eb9ed5abb0) at pthread_cond_wait.c:665
#3  0x000055a0dcaf8c7e in __gthread_cond_timedwait (__abs_timeout=0x14eb9ed5abb0, __mutex=<optimized out>, __cond=0x55a0df32e090) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872
#4  std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=<synthetic pointer>..., __lock=..., this=0x55a0df32e090) at /usr/include/c++/9/condition_variable:188
#5  std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55a0df32e090) at /usr/include/c++/9/condition_variable:121
--Type <RET> for more, q to quit, c to continue without paging--
#6  std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55a0df32e090) at /usr/include/c++/9/condition_variable:152
#7  tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55a0df32dae0, lk=..., thread_data=thread_data@entry=0x55a0df32e090) at /test/10.6_dbg/tpool/tpool_generic.cc:480
#8  0x000055a0dcaf9d49 in tpool::thread_pool_generic::get_task (this=this@entry=0x55a0df32dae0, thread_var=thread_var@entry=0x55a0df32e090, t=t@entry=0x14eb9ed5ac58) at /test/10.6_dbg/tpool/tpool_generic.cc:533
#9  0x000055a0dcaf9e68 in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32e090) at /test/10.6_dbg/tpool/tpool_generic.cc:578
#10 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#11 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#12 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#13 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#15 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x14eb9e959700 (LWP 2118249)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14eb9e958c20, clockid=<optimized out>, expected=0, futex_word=0x55a0dde0ede8 <COND_checkpoint+40>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14eb9e958c20, clockid=<optimized out>, mutex=0x55a0dde0ee28 <LOCK_checkpoint+40>, cond=0x55a0dde0edc0 <COND_checkpoint>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x55a0dde0edc0 <COND_checkpoint>, mutex=mutex@entry=0x55a0dde0ee28 <LOCK_checkpoint+40>, abstime=abstime@entry=0x14eb9e958c20) at pthread_cond_wait.c:665
#3  0x000055a0dcb5db93 in safe_cond_timedwait (cond=0x55a0dde0edc0 <COND_checkpoint>, mp=0x55a0dde0ee00 <LOCK_checkpoint>, abstime=abstime@entry=0x14eb9e958c20, file=file@entry=0x55a0dccdc1a0 "/test/10.6_dbg/include/mysql/psi/mysql_thread.h", line=line@entry=1088) at /test/10.6_dbg/mysys/thr_mutex.c:546
#4  0x000055a0dc66ebe9 in inline_mysql_cond_timedwait (src_line=115, src_file=0x55a0dceee318 "/test/10.6_dbg/storage/maria/ma_servicethread.c", abstime=0x14eb9e958c20, mutex=<optimized out>, that=<optimized out>) at /test/10.6_dbg/include/mysql/psi/mysql_thread.h:1088
#5  my_service_thread_sleep (control=control@entry=0x55a0dd53e7c0 <checkpoint_control>, sleep_time=sleep_time@entry=29000000000) at /test/10.6_dbg/storage/maria/ma_servicethread.c:115
#6  0x000055a0dc66718a in ma_checkpoint_background (arg=0x1e) at /test/10.6_dbg/storage/maria/ma_checkpoint.c:725
#7  0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x14ebb42a1700 (LWP 2118212)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14ebb42a0bb0, clockid=<optimized out>, expected=0, futex_word=0x55a0df32df38) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14ebb42a0bb0, clockid=<optimized out>, mutex=0x55a0df32dc80, cond=0x55a0df32df10) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55a0df32df10, mutex=0x55a0df32dc80, abstime=0x14ebb42a0bb0) at pthread_cond_wait.c:665
#3  0x000055a0dcaf8c7e in __gthread_cond_timedwait (__abs_timeout=0x14ebb42a0bb0, __mutex=<optimized out>, __cond=0x55a0df32df10) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872
#4  std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=<synthetic pointer>..., __lock=..., this=0x55a0df32df10) at /usr/include/c++/9/condition_variable:188
#5  std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55a0df32df10) at /usr/include/c++/9/condition_variable:121
#6  std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55a0df32df10) at /usr/include/c++/9/condition_variable:152
#7  tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55a0df32dae0, lk=..., thread_data=thread_data@entry=0x55a0df32df10) at /test/10.6_dbg/tpool/tpool_generic.cc:480
#8  0x000055a0dcaf9d49 in tpool::thread_pool_generic::get_task (this=this@entry=0x55a0df32dae0, thread_var=thread_var@entry=0x55a0df32df10, t=t@entry=0x14ebb42a0c58) at /test/10.6_dbg/tpool/tpool_generic.cc:533
#9  0x000055a0dcaf9e68 in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32df10) at /test/10.6_dbg/tpool/tpool_generic.cc:578
#10 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#11 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#12 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#13 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
--Type <RET> for more, q to quit, c to continue without paging--
#15 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x14ebb6ea0980 (LWP 2118000)):
#0  0x000014ebb713423f in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x7ffc523a55c0, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1  0x000014ebb7139ec7 in __GI___nanosleep (requested_time=requested_time@entry=0x7ffc523a55c0, remaining=remaining@entry=0x0) at nanosleep.c:27
#2  0x000014ebb716c85f in usleep (useconds=useconds@entry=1000) at ../sysdeps/posix/usleep.c:32
#3  0x000055a0dcafba30 in tpool::task_group::~task_group (this=0x55a0dde51b20 <purge_coordinator_task_group>, __in_chrg=<optimized out>) at /test/10.6_dbg/tpool/task_group.cc:92
#4  0x000014ebb709d8a7 in __run_exit_handlers (status=status@entry=1, listp=0x14ebb7243718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#5  0x000014ebb709da60 in __GI_exit (status=status@entry=1) at exit.c:139
#6  0x000055a0dc04d8ac in start_signal_handler () at /test/10.6_dbg/sql/mysqld.cc:3089
#7  mysqld_main (argc=<optimized out>, argv=<optimized out>) at /test/10.6_dbg/sql/mysqld.cc:5748
#8  0x000055a0dc041b46 in main (argc=<optimized out>, argv=<optimized out>) at /test/10.6_dbg/sql/main.cc:34

Thread 2 (Thread 0x14eb9f15d700 (LWP 2118222)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14eb9f15cbb0, clockid=<optimized out>, expected=0, futex_word=0x55a0df32dfbc) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14eb9f15cbb0, clockid=<optimized out>, mutex=0x55a0df32dc80, cond=0x55a0df32df90) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55a0df32df90, mutex=0x55a0df32dc80, abstime=0x14eb9f15cbb0) at pthread_cond_wait.c:665
#3  0x000055a0dcaf8c7e in __gthread_cond_timedwait (__abs_timeout=0x14eb9f15cbb0, __mutex=<optimized out>, __cond=0x55a0df32df90) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872
#4  std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=<synthetic pointer>..., __lock=..., this=0x55a0df32df90) at /usr/include/c++/9/condition_variable:188
#5  std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55a0df32df90) at /usr/include/c++/9/condition_variable:121
#6  std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55a0df32df90) at /usr/include/c++/9/condition_variable:152
#7  tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55a0df32dae0, lk=..., thread_data=thread_data@entry=0x55a0df32df90) at /test/10.6_dbg/tpool/tpool_generic.cc:480
#8  0x000055a0dcaf9d49 in tpool::thread_pool_generic::get_task (this=this@entry=0x55a0df32dae0, thread_var=thread_var@entry=0x55a0df32df90, t=t@entry=0x14eb9f15cc58) at /test/10.6_dbg/tpool/tpool_generic.cc:533
#9  0x000055a0dcaf9e68 in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32df90) at /test/10.6_dbg/tpool/tpool_generic.cc:578
#10 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#11 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#12 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#13 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#14 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#15 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x14eb9eb5a700 (LWP 2118230)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x000014ebb7079859 in __GI_abort () at abort.c:79
#2  0x000014ebb7079729 in __assert_fail_base (fmt=0x14ebb720f588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55a0dcf2aab0 "srv_sys_space.space_id() == TRX_SYS_SPACE", file=0x55a0dcf2aae0 "/test/10.6_dbg/storage/innobase/include/fsp0sysspace.h", line=283, function=<optimized out>) at assert.c:92
#3  0x000014ebb708afd6 in __GI___assert_fail (assertion=assertion@entry=0x55a0dcf2aab0 "srv_sys_space.space_id() == TRX_SYS_SPACE", file=file@entry=0x55a0dcf2aae0 "/test/10.6_dbg/storage/innobase/include/fsp0sysspace.h", line=line@entry=283, function=function@entry=0x55a0dcf2ab18 "bool is_predefined_tablespace(ulint)") at assert.c:101
#4  0x000055a0dca67f40 in is_predefined_tablespace (id=2) at /test/10.6_dbg/storage/innobase/include/fsp0space.h:117
#5  fil_space_validate_for_mtr_commit (space=space@entry=0x55a0df3de7a0) at /test/10.6_dbg/storage/innobase/fil/fil0fil.cc:3034
#6  0x000055a0dca6c2d9 in fil_names_dirty_and_write (space=space@entry=0x55a0df3de7a0) at /test/10.6_dbg/storage/innobase/fil/fil0fil.cc:3082
#7  0x000055a0dc7f798f in fil_names_write_if_was_clean (space=0x55a0df3de7a0) at /test/10.6_dbg/storage/innobase/include/fil0fil.h:1921
--Type <RET> for more, q to quit, c to continue without paging--
#8  mtr_t::do_write (this=this@entry=0x14eb9eb59670) at /test/10.6_dbg/storage/innobase/mtr/mtr0mtr.cc:835
#9  0x000055a0dc7fa784 in mtr_t::commit (this=this@entry=0x14eb9eb59670) at /test/10.6_dbg/storage/innobase/mtr/mtr0mtr.cc:147
#10 0x000055a0dc8cb0b1 in row_purge_reset_trx_id (node=node@entry=0x55a0df3bd4f8, mtr=mtr@entry=0x14eb9eb59670) at /test/10.6_dbg/storage/innobase/row/row0purge.cc:741
#11 0x000055a0dc8ccf4b in row_purge_record_func (node=node@entry=0x55a0df3bd4f8, undo_rec=undo_rec@entry=0x55a0df3ccdd8 "", thr=thr@entry=0x55a0df3bd458, updated_extern=<optimized out>) at /test/10.6_dbg/storage/innobase/row/row0purge.cc:1232
#12 0x000055a0dc8cf2df in row_purge (thr=<optimized out>, undo_rec=<optimized out>, node=<optimized out>) at /test/10.6_dbg/storage/innobase/row/row0purge.cc:1276
#13 row_purge_step (thr=thr@entry=0x55a0df3bd458) at /test/10.6_dbg/storage/innobase/row/row0purge.cc:1339
#14 0x000055a0dc8493e7 in que_thr_step (thr=0x55a0df3bd458) at /test/10.6_dbg/storage/innobase/que/que0que.cc:588
#15 que_run_threads_low (thr=0x55a0df3bd458) at /test/10.6_dbg/storage/innobase/que/que0que.cc:644
#16 que_run_threads (thr=thr@entry=0x55a0df3bd458) at /test/10.6_dbg/storage/innobase/que/que0que.cc:664
#17 0x000055a0dc91940d in srv_task_execute () at /test/10.6_dbg/storage/innobase/srv/srv0srv.cc:1598
#18 purge_worker_callback () at /test/10.6_dbg/storage/innobase/srv/srv0srv.cc:1853
#19 0x000055a0dcafbe34 in tpool::task_group::execute (this=0x55a0dde51bc0 <purge_task_group>, t=t@entry=0x55a0dde1ede0 <purge_worker_task>) at /test/10.6_dbg/tpool/task_group.cc:55
#20 0x000055a0dcafbebd in tpool::task::execute (this=0x55a0dde1ede0 <purge_worker_task>) at /test/10.6_dbg/tpool/task.cc:32
#21 0x000055a0dcaf9e7b in tpool::thread_pool_generic::worker_main (this=0x55a0df32dae0, thread_var=0x55a0df32e110) at /test/10.6_dbg/tpool/tpool_generic.cc:580
#22 0x000055a0dcafb0c8 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/9/bits/invoke.h:89
#23 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
#24 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
#25 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
#26 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>) at /usr/include/c++/9/thread:195
#27 0x000014ebb7470de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#28 0x000014ebb758a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#29 0x000014ebb7176133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

