(gdb) thread apply all bt

Thread 18 (Thread 0x14b9ed210700 (LWP 822479)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0c99c668 <fil_crypt_cond+40>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0c99c728 <fil_crypt_threads_mutex+40>, cond=0x563d0c99c640 <fil_crypt_cond>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563d0c99c640 <fil_crypt_cond>, mutex=0x563d0c99c728 <fil_crypt_threads_mutex+40>) at pthread_cond_wait.c:638
#3  0x0000563d0b3b6de0 in safe_cond_wait (cond=0x563d0c99c640 <fil_crypt_cond>, mp=0x563d0c99c700 <fil_crypt_threads_mutex>, file=0x563d0b8f8e48 "/test/mtest/10.9/storage/innobase/fil/fil0crypt.cc", line=2167) at /test/mtest/10.9/mysys/thr_mutex.c:494
#4  0x0000563d0b28ea1d in fil_crypt_set_thread_cnt (new_cnt=4) at /test/mtest/10.9/storage/innobase/fil/fil0crypt.cc:2167
#5  0x0000563d0aeeefe2 in sst_enable_innodb_writes () at /test/mtest/10.9/storage/innobase/handler/ha_innodb.cc:1953
#6  0x0000563d0aeef008 in innodb_disable_internal_writes (disable=false) at /test/mtest/10.9/storage/innobase/handler/ha_innodb.cc:1961
#7  0x0000563d0ab00fdf in plugin_disable_internal_writes (plugin=0x14b944018798, disable=0x14b9ed20fc3c) at /test/mtest/10.9/sql/handler.cc:939
#8  0x0000563d0a76edd2 in plugin_foreach_with_mask (thd=0x0, func=0x563d0ab00f97 <plugin_disable_internal_writes(THD*, plugin_ref, void*)>, type=1, state_mask=8, arg=0x14b9ed20fc3c) at /test/mtest/10.9/sql/sql_plugin.cc:2510
#9  0x0000563d0ab01019 in ha_disable_internal_writes (disable=false) at /test/mtest/10.9/sql/handler.cc:946
#10 0x0000563d0aebb6a4 in sst_donor_thread (a=0x14bb081a1940) at /test/mtest/10.9/sql/wsrep_sst.cc:1805
#11 0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x14bae403da78) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#12 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x14b9ed411700 (LWP 822478)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14b9ed410dc0, clockid=<optimized out>, expected=0, futex_word=0x563d0c94d5e8 <COND_wsrep_donor_monitor+40>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14b9ed410dc0, clockid=<optimized out>, mutex=0x563d0c94d4e8 <LOCK_wsrep_donor_monitor+40>, cond=0x563d0c94d5c0 <COND_wsrep_donor_monitor>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x563d0c94d5c0 <COND_wsrep_donor_monitor>, mutex=0x563d0c94d4e8 <LOCK_wsrep_donor_monitor+40>, abstime=0x14b9ed410dc0) at pthread_cond_wait.c:656
#3  0x0000563d0b3b71a2 in safe_cond_timedwait (cond=0x563d0c94d5c0 <COND_wsrep_donor_monitor>, mp=0x563d0c94d4c0 <LOCK_wsrep_donor_monitor>, abstime=0x14b9ed410dc0, file=0x563d0b7d9878 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1088) at /test/mtest/10.9/mysys/thr_mutex.c:548
#4  0x0000563d0aeb6d7b in inline_mysql_cond_timedwait (that=0x563d0c94d5c0 <COND_wsrep_donor_monitor>, mutex=0x563d0c94d4c0 <LOCK_wsrep_donor_monitor>, abstime=0x14b9ed410dc0, src_file=0x563d0b7da0e0 "/test/mtest/10.9/sql/wsrep_sst.cc", src_line=118) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1088
#5  0x0000563d0aeb709d in wsrep_sst_donor_monitor_thread (arg=0x0) at /test/mtest/10.9/sql/wsrep_sst.cc:118
#6  0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e2dde98) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#7  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x14bad4053700 (LWP 821873)):
#0  __lll_lock_wait (futex=futex@entry=0x563d0c0fc458 <mysql_bin_log+56>, private=0) at lowlevellock.c:52
#1  0x000014bb092ed0a3 in __GI___pthread_mutex_lock (mutex=0x563d0c0fc458 <mysql_bin_log+56>) at ../nptl/pthread_mutex_lock.c:80
#2  0x0000563d0b3b6461 in safe_mutex_lock (mp=0x563d0c0fc430 <mysql_bin_log+16>, my_flags=0, file=0x563d0b7088ec "/test/mtest/10.9/sql/log.cc", line=7340) at /test/mtest/10.9/mysys/thr_mutex.c:290
#3  0x0000563d0ac5477f in inline_mysql_mutex_lock (that=0x563d0c0fc430 <mysql_bin_log+16>, src_file=0x563d0b7088ec "/test/mtest/10.9/sql/log.cc", src_line=7340) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:750
#4  0x0000563d0ac6b635 in MYSQL_BIN_LOG::rotate_and_purge (this=0x563d0c0fc420 <mysql_bin_log>, force_rotate=true, domain_drop_lex=0x0) at /test/mtest/10.9/sql/log.cc:7340
#5  0x0000563d0a951638 in reload_acl_and_cache (thd=0x14b974000db8, options=16130, tables=0x0, write_to_binlog=0x14bad4051f30) at /test/mtest/10.9/sql/sql_reload.cc:155
#6  0x0000563d0a73ec37 in mysql_execute_command (thd=0x14b974000db8, is_called_from_prepared_stmt=false) at /test/mtest/10.9/sql/sql_parse.cc:5471
#7  0x0000563d0a746e3e in mysql_parse (thd=0x14b974000db8, rawbuf=0x14b974014068 "FLUSH LOGS", length=10, parser_state=0x14bad4052480) at /test/mtest/10.9/sql/sql_parse.cc:8043
#8  0x0000563d0a74657a in wsrep_mysql_parse (thd=0x14b974000db8, rawbuf=0x14b974014068 "FLUSH LOGS", length=10, parser_state=0x14bad4052480) at /test/mtest/10.9/sql/sql_parse.cc:7856
#9  0x0000563d0a73321d in dispatch_command (command=COM_QUERY, thd=0x14b974000db8, packet=0x14b974223af9 "FLUSH LOGS", packet_length=10, blocking=true) at /test/mtest/10.9/sql/sql_parse.cc:1897
#10 0x0000563d0a731c11 in do_command (thd=0x14b974000db8, blocking=true) at /test/mtest/10.9/sql/sql_parse.cc:1407
#11 0x0000563d0a90aa5b in do_handle_one_connection (connect=0x563d0e586ea8, put_in_cache=true) at /test/mtest/10.9/sql/sql_connect.cc:1418
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x0000563d0a90a6eb in handle_one_connection (arg=0x563d0e845758) at /test/mtest/10.9/sql/sql_connect.cc:1312
#13 0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e84f2a8) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#14 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#15 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x14b9ee7f3700 (LWP 821688)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14b9ee7f2b90, clockid=<optimized out>, expected=0, futex_word=0x563d0e3e0138) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14b9ee7f2b90, clockid=<optimized out>, mutex=0x563d0e3d0e80, cond=0x563d0e3e0110) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x563d0e3e0110, mutex=0x563d0e3d0e80, abstime=0x14b9ee7f2b90) at pthread_cond_wait.c:656
#3  0x0000563d0b30c0db in __gthread_cond_timedwait (__cond=0x563d0e3e0110, __mutex=0x563d0e3d0e80, __abs_timeout=0x14b9ee7f2b90) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872
#4  0x0000563d0b30efa9 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x563d0e3e0110, __lock=..., __atime=...) at /usr/include/c++/9/condition_variable:188
#5  0x0000563d0b30e07d in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x563d0e3e0110, __lock=..., __atime=...) at /usr/include/c++/9/condition_variable:121
#6  0x0000563d0b30d336 in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x563d0e3e0110, __lock=..., __rtime=...) at /usr/include/c++/9/condition_variable:152
#7  0x0000563d0b30a863 in tpool::thread_pool_generic::wait_for_tasks (this=0x563d0e3d0d70, lk=..., thread_data=0x563d0e3e0110) at /test/mtest/10.9/tpool/tpool_generic.cc:488
#8  0x0000563d0b30aa73 in tpool::thread_pool_generic::get_task (this=0x563d0e3d0d70, thread_var=0x563d0e3e0110, t=0x14b9ee7f2cf8) at /test/mtest/10.9/tpool/tpool_generic.cc:541
#9  0x0000563d0b30ad0d in tpool::thread_pool_generic::worker_main (this=0x563d0e3d0d70, thread_var=0x563d0e3e0110) at /test/mtest/10.9/tpool/tpool_generic.cc:586
#10 0x0000563d0b311eba in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__f=@0x14b9f00023d8: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x563d0b30aca8 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __t=@0x14b9f00023d0: 0x563d0e3d0d70) at /usr/include/c++/9/bits/invoke.h:73
#11 0x0000563d0b311d9c in std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0x14b9f00023d8: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x563d0b30aca8 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/9/bits/invoke.h:95
#12 0x0000563d0b311cbb in 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=0x14b9f00023c8) at /usr/include/c++/9/thread:244
#13 0x0000563d0b311c56 in std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0x14b9f00023c8) at /usr/include/c++/9/thread:251
#14 0x0000563d0b311c36 in 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=0x14b9f00023c0) at /usr/include/c++/9/thread:195
#15 0x000014bb091d0de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x14bad409e700 (LWP 821663)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0c0cc308 <COND_manager+40>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0c0cc248 <LOCK_manager+40>, cond=0x563d0c0cc2e0 <COND_manager>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563d0c0cc2e0 <COND_manager>, mutex=0x563d0c0cc248 <LOCK_manager+40>) at pthread_cond_wait.c:638
#3  0x0000563d0b3b6de0 in safe_cond_wait (cond=0x563d0c0cc2e0 <COND_manager>, mp=0x563d0c0cc220 <LOCK_manager>, file=0x563d0b4e8a50 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1072) at /test/mtest/10.9/mysys/thr_mutex.c:494
#4  0x0000563d0a72c83e in inline_mysql_cond_wait (that=0x563d0c0cc2e0 <COND_manager>, mutex=0x563d0c0cc220 <LOCK_manager>, src_file=0x563d0b4e90b0 "/test/mtest/10.9/sql/sql_manager.cc", src_line=103) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1072
#5  0x0000563d0a72cc62 in handle_manager (arg=0x0) at /test/mtest/10.9/sql/sql_manager.cc:103
#6  0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e81dce8) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#7  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


Thread 13 (Thread 0x14baf8051700 (LWP 821662)):
--Type <RET> for more, q to quit, c to continue without paging--
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x14bb087720f8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x14bb08772090, cond=0x14bb087720d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x14bb087720d0, mutex=mutex@entry=0x14bb08772090) at pthread_cond_wait.c:638
#3  0x000014bb08a0823f in gu_cond_wait_SYS (mutex=0x14bb08772090, cond=0x14bb087720d0) at /test/mtest/10.4_galera_opt/galerautils/src/gu_threads.h:251
#4  fifo_lock_get (q=0x14bb08772010) at /test/mtest/10.4_galera_opt/galerautils/src/gu_fifo.c:262
#5  gu_fifo_get_head (q=0x14bb08772010, err=err@entry=0x14baf805063c) at /test/mtest/10.4_galera_opt/galerautils/src/gu_fifo.c:330
#6  0x000014bb088aa3c9 in gcs_recv (conn=0x563d0e2c3210, action=action@entry=0x14baf80506d0) at /test/mtest/10.4_galera_opt/gcs/src/gcs.cpp:2097
#7  0x000014bb08886e2a in galera::Gcs::recv (act=..., this=<optimized out>) at /test/mtest/10.4_galera_opt/galera/src/galera_gcs.hpp:133
#8  galera::GcsActionSource::process (this=0x563d0e2ec020, recv_ctx=0x14baf8050d00, exit_loop=@0x14baf80508df: false) at /test/mtest/10.4_galera_opt/galera/src/gcs_action_source.cpp:165
#9  0x000014bb088517f0 in galera::ReplicatorSMM::async_recv (this=0x563d0e2b80a0, recv_ctx=0x14baf8050d00) at /test/mtest/10.4_galera_opt/galera/src/replicator_smm.cpp:402
#10 0x000014bb08825ea1 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/mtest/10.4_galera_opt/galera/src/wsrep_provider.cpp:263
#11 0x0000563d0b48fdd6 in wsrep::wsrep_provider_v26::run_applier (this=0x563d0e283fb0, applier_ctx=0x14baf8050d00) at /test/mtest/10.9/wsrep-lib/src/wsrep_provider_v26.cpp:858
#12 0x0000563d0aec301a in wsrep_replication_process (thd=0x14b9bc000ff8, arg=0x563d0e78f8c0) at /test/mtest/10.9/sql/wsrep_thd.cc:57
#13 0x0000563d0aeb267c in start_wsrep_THD (arg=0x563d0e78f8c0) at /test/mtest/10.9/sql/wsrep_mysqld.cc:3589
#14 0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e8425c8) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#15 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x14baf809c700 (LWP 821659)):
#0  0x000014bb08de01d2 in __GI___sigtimedwait (set=0x14baf809bd50, info=0x14baf809bc70, timeout=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:29
#1  0x0000563d0a59ba09 in my_sigwait (set=0x14baf809bd50, sig=0x14baf809bd14, code=0x14baf809bd18) at /test/mtest/10.9/include/my_pthread.h:195
#2  0x0000563d0a5a1ebb in signal_hand (arg=0x0) at /test/mtest/10.9/sql/mysqld.cc:3159
#3  0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e6fc0a8) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#4  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x14bb0806d700 (LWP 821643)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0c0fd4ec <mysql_bin_log+4300>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0c0fd438 <mysql_bin_log+4120>, cond=0x563d0c0fd4c0 <mysql_bin_log+4256>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563d0c0fd4c0 <mysql_bin_log+4256>, mutex=0x563d0c0fd438 <mysql_bin_log+4120>) at pthread_cond_wait.c:638
#3  0x0000563d0b3b6de0 in safe_cond_wait (cond=0x563d0c0fd4c0 <mysql_bin_log+4256>, mp=0x563d0c0fd410 <mysql_bin_log+4080>, file=0x563d0b707368 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1072) at /test/mtest/10.9/mysys/thr_mutex.c:494
#4  0x0000563d0ac549dc in inline_mysql_cond_wait (that=0x563d0c0fd4c0 <mysql_bin_log+4256>, mutex=0x563d0c0fd410 <mysql_bin_log+4080>, src_file=0x563d0b7088ec "/test/mtest/10.9/sql/log.cc", src_line=10678) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1072
#5  0x0000563d0ac752d9 in binlog_background_thread (arg=0x0) at /test/mtest/10.9/sql/log.cc:10678
#6  0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e5717f8) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#7  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x14bad44a4700 (LWP 821627)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0bf01034 <buf_pool+17588>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0bf00f28 <buf_pool+17320>, cond=0x563d0bf01008 <buf_pool+17544>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563d0bf01008 <buf_pool+17544>, mutex=0x563d0bf00f28 <buf_pool+17320>) at pthread_cond_wait.c:638
#3  0x0000563d0b3b6de0 in safe_cond_wait (cond=0x563d0bf01008 <buf_pool+17544>, mp=0x563d0bf00f00 <buf_pool+17280>, file=0x563d0b8cd4b0 "/test/mtest/10.9/storage/innobase/buf/buf0flu.cc", line=2398) at /test/mtest/10.9/mysys/thr_mutex.c:494
#4  0x0000563d0b20c0dc in buf_flush_page_cleaner () at /test/mtest/10.9/storage/innobase/buf/buf0flu.cc:2398
#5  0x0000563d0b211627 in std::__invoke_impl<void, void (*)()> (__f=@0x563d0e308b68: 0x563d0b20bd8b <buf_flush_page_cleaner()>) at /usr/include/c++/9/bits/invoke.h:60
--Type <RET> for more, q to quit, c to continue without paging--
#6  0x0000563d0b2115d3 in std::__invoke<void (*)()> (__fn=@0x563d0e308b68: 0x563d0b20bd8b <buf_flush_page_cleaner()>) at /usr/include/c++/9/bits/invoke.h:95
#7  0x0000563d0b211574 in std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul> (this=0x563d0e308b68) at /usr/include/c++/9/thread:244
#8  0x0000563d0b211546 in std::thread::_Invoker<std::tuple<void (*)()> >::operator() (this=0x563d0e308b68) at /usr/include/c++/9/thread:251
#9  0x0000563d0b211526 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run (this=0x563d0e308b60) at /usr/include/c++/9/thread:195
#10 0x000014bb091d0de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x14baf91bd700 (LWP 821626)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x0000563d0b312940 in my_getevents (ctx=0x14bb0806e000, min_nr=1, nr=256, ev=0x14baf91bad20) at /test/mtest/10.9/tpool/aio_linux.cc:62
#2  0x0000563d0b312b0b in tpool::aio_linux::getevent_thread_routine (aio=0x563d0e2f1cf0) at /test/mtest/10.9/tpool/aio_linux.cc:104
#3  0x0000563d0b313602 in std::__invoke_impl<void, void (*)(tpool::aio_linux*), tpool::aio_linux*> (__f=@0x563d0e30a970: 0x563d0b312aaf <tpool::aio_linux::getevent_thread_routine(tpool::aio_linux*)>) at /usr/include/c++/9/bits/invoke.h:60
#4  0x0000563d0b313562 in std::__invoke<void (*)(tpool::aio_linux*), tpool::aio_linux*> (__fn=@0x563d0e30a970: 0x563d0b312aaf <tpool::aio_linux::getevent_thread_routine(tpool::aio_linux*)>) at /usr/include/c++/9/bits/invoke.h:95
#5  0x0000563d0b3134c1 in std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> >::_M_invoke<0ul, 1ul> (this=0x563d0e30a968) at /usr/include/c++/9/thread:244
#6  0x0000563d0b313478 in std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> >::operator() (this=0x563d0e30a968) at /usr/include/c++/9/thread:251
#7  0x0000563d0b313458 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(tpool::aio_linux*), tpool::aio_linux*> > >::_M_run (this=0x563d0e30a960) at /usr/include/c++/9/thread:195
#8  0x000014bb091d0de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x14baf97bf700 (LWP 821625)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14baf97bed70, clockid=<optimized out>, expected=0, futex_word=0x563d0c900fe8 <COND_checkpoint+40>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14baf97bed70, clockid=<optimized out>, mutex=0x563d0c900f28 <LOCK_checkpoint+40>, cond=0x563d0c900fc0 <COND_checkpoint>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x563d0c900fc0 <COND_checkpoint>, mutex=0x563d0c900f28 <LOCK_checkpoint+40>, abstime=0x14baf97bed70) at pthread_cond_wait.c:656
#3  0x0000563d0b3b71a2 in safe_cond_timedwait (cond=0x563d0c900fc0 <COND_checkpoint>, mp=0x563d0c900f00 <LOCK_checkpoint>, abstime=0x14baf97bed70, file=0x563d0b748460 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1088) at /test/mtest/10.9/mysys/thr_mutex.c:548
#4  0x0000563d0ad6add5 in inline_mysql_cond_timedwait (that=0x563d0c900fc0 <COND_checkpoint>, mutex=0x563d0c900f00 <LOCK_checkpoint>, abstime=0x14baf97bed70, src_file=0x563d0b748498 "/test/mtest/10.9/storage/maria/ma_servicethread.c", src_line=115) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1088
#5  0x0000563d0ad6b2c8 in my_service_thread_sleep (control=0x563d0bee2e20 <checkpoint_control>, sleep_time=30000000000) at /test/mtest/10.9/storage/maria/ma_servicethread.c:115
#6  0x0000563d0ad5ef23 in ma_checkpoint_background (arg=0x1e) at /test/mtest/10.9/storage/maria/ma_checkpoint.c:725
#7  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x14bb081a3700 (LWP 821624)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x14bb087720fc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x14bb08772090, cond=0x14bb087720d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x14bb087720d0, mutex=mutex@entry=0x14bb08772090) at pthread_cond_wait.c:638
#3  0x000014bb08a0823f in gu_cond_wait_SYS (mutex=0x14bb08772090, cond=0x14bb087720d0) at /test/mtest/10.4_galera_opt/galerautils/src/gu_threads.h:251
#4  fifo_lock_get (q=0x14bb08772010) at /test/mtest/10.4_galera_opt/galerautils/src/gu_fifo.c:262
#5  gu_fifo_get_head (q=0x14bb08772010, err=err@entry=0x14bb081a263c) at /test/mtest/10.4_galera_opt/galerautils/src/gu_fifo.c:330
#6  0x000014bb088aa3c9 in gcs_recv (conn=0x563d0e2c3210, action=action@entry=0x14bb081a26d0) at /test/mtest/10.4_galera_opt/gcs/src/gcs.cpp:2097
#7  0x000014bb08886e2a in galera::Gcs::recv (act=..., this=<optimized out>) at /test/mtest/10.4_galera_opt/galera/src/galera_gcs.hpp:133
#8  galera::GcsActionSource::process (this=0x563d0e2ec020, recv_ctx=0x14bb081a2d00, exit_loop=@0x14bb081a28df: false) at /test/mtest/10.4_galera_opt/galera/src/gcs_action_source.cpp:165
#9  0x000014bb088517f0 in galera::ReplicatorSMM::async_recv (this=0x563d0e2b80a0, recv_ctx=0x14bb081a2d00) at /test/mtest/10.4_galera_opt/galera/src/replicator_smm.cpp:402
--Type <RET> for more, q to quit, c to continue without paging--
#10 0x000014bb08825ea1 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/mtest/10.4_galera_opt/galera/src/wsrep_provider.cpp:263
#11 0x0000563d0b48fdd6 in wsrep::wsrep_provider_v26::run_applier (this=0x563d0e283fb0, applier_ctx=0x14bb081a2d00) at /test/mtest/10.9/wsrep-lib/src/wsrep_provider_v26.cpp:858
#12 0x0000563d0aec301a in wsrep_replication_process (thd=0x14bae4000ff8, arg=0x563d0e309800) at /test/mtest/10.9/sql/wsrep_thd.cc:57
#13 0x0000563d0aeb267c in start_wsrep_THD (arg=0x563d0e309800) at /test/mtest/10.9/sql/wsrep_mysqld.cc:3589
#14 0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e2dde98) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#15 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x14bb081ee700 (LWP 821623)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x14baf0017f80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x14baf0017ed0, cond=0x14baf0017f58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x14baf0017f58, mutex=0x14baf0017ed0) at pthread_cond_wait.c:638
#3  0x0000563d0b3b6de0 in safe_cond_wait (cond=0x14baf0017f58, mp=0x14baf0017ea8, file=0x563d0b7de120 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1072) at /test/mtest/10.9/mysys/thr_mutex.c:494
#4  0x0000563d0aec2c19 in inline_mysql_cond_wait (that=0x14baf0017f58, mutex=0x14baf0017ea8, src_file=0x563d0b7dea30 "/test/mtest/10.9/sql/wsrep_thd.h", src_line=69) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1072
#5  0x0000563d0aec5541 in Wsrep_thd_queue::pop_front (this=0x14baf0017e50) at /test/mtest/10.9/sql/wsrep_thd.h:69
#6  0x0000563d0aec3d8d in wsrep_rollback_process (rollbacker=0x14baf00022d8, arg=0x563d0e2f18c0) at /test/mtest/10.9/sql/wsrep_thd.cc:236
#7  0x0000563d0aeb267c in start_wsrep_THD (arg=0x563d0e2f18c0) at /test/mtest/10.9/sql/wsrep_mysqld.cc:3589
#8  0x0000563d0ae1c28d in pfs_spawn_thread (arg=0x563d0e2dbf48) at /test/mtest/10.9/storage/perfschema/pfs.cc:2201
#9  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x14bafb8fb700 (LWP 821622)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0e2f2050) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0e2f1fe8, cond=0x563d0e2f2028) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x563d0e2f2028, mutex=mutex@entry=0x563d0e2f1fe8) at pthread_cond_wait.c:638
#3  0x000014bb088c446a in gu_cond_wait_SYS (mutex=0x563d0e2f1fe8, cond=0x563d0e2f2028) at /test/mtest/10.4_galera_opt/galerautils/src/gu_threads.h:251
#4  gu::Lock::wait (this=<synthetic pointer>, cond=...) at /test/mtest/10.4_galera_opt/galerautils/src/gu_lock.hpp:46
#5  RecvBuf::front (timeout=..., this=0x563d0e2f1fe8) at /test/mtest/10.4_galera_opt/gcs/src/gcs_gcomm.cpp:116
#6  gcomm_recv (backend=<optimized out>, msg=0x563d0e2c3a08, timeout=9223372035999999999) at /test/mtest/10.4_galera_opt/gcs/src/gcs_gcomm.cpp:613
#7  0x000014bb088adb1c in core_msg_recv (timeout=9223372035999999999, recv_msg=0x563d0e2c3a08, backend=0x563d0e2c3bb0) at /test/mtest/10.4_galera_opt/gcs/src/gcs_core.cpp:1205
#8  gcs_core_recv (conn=0x563d0e2c3990, recv_act=recv_act@entry=0x14bafb8fad00, timeout=<optimized out>) at /test/mtest/10.4_galera_opt/gcs/src/gcs_core.cpp:1205
#9  0x000014bb088a76ff in gcs_recv_thread (arg=<optimized out>) at /test/mtest/10.4_galera_opt/gcs/src/gcs.cpp:1449
#10 0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x14bafbafc700 (LWP 821621)):
#0  0x000014bb08ebb49e in epoll_wait (epfd=9, events=events@entry=0x14bafbafb3f0, maxevents=maxevents@entry=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x000014bb089ddc55 in asio::detail::epoll_reactor::run (this=0x563d0e2b0cd0, block=block@entry=true, ops=...) at /test/mtest/10.4_galera_opt/asio/asio/detail/impl/epoll_reactor.ipp:391
#2  0x000014bb089d6023 in asio::detail::task_io_service::do_run_one (ec=..., this_thread=..., lock=..., this=<optimized out>) at /test/mtest/10.4_galera_opt/asio/asio/detail/impl/task_io_service.ipp:355
#3  asio::detail::task_io_service::run (ec=..., this=0x563d0e2ef410) at /test/mtest/10.4_galera_opt/asio/asio/detail/impl/task_io_service.ipp:148
#4  asio::io_service::run (this=<optimized out>) at /test/mtest/10.4_galera_opt/asio/asio/impl/io_service.ipp:58
#5  gu::AsioIoService::run (this=this@entry=0x563d0e2ed608) at /test/mtest/10.4_galera_opt/galerautils/src/gu_asio.cpp:715
#6  0x000014bb088e3e88 in gcomm::AsioProtonet::event_loop (this=0x563d0e2ed550, period=...) at /test/mtest/10.4_galera_opt/gcomm/src/asio_protonet.cpp:103
#7  0x000014bb088c7c8e in GCommConn::run (this=0x563d0e2f1dd0) at /test/mtest/10.4_galera_opt/galerautils/src/gu_datetime.hpp:61
#8  0x000014bb088c84da in run_fn (arg=<optimized out>) at /test/mtest/10.4_galera_opt/gcs/src/gcs_gcomm.cpp:306
#9  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
--Type <RET> for more, q to quit, c to continue without paging--
#10 0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


Thread 3 (Thread 0x14bb08670700 (LWP 821620)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563d0e2b89f4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563d0e2b8988, cond=0x563d0e2b89c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x563d0e2b89c8, mutex=mutex@entry=0x563d0e2b8988) at pthread_cond_wait.c:638
#3  0x000014bb0887f6bf in gu_cond_wait_SYS (mutex=0x563d0e2b8988, cond=0x563d0e2b89c8) at /test/mtest/10.4_galera_opt/galerautils/src/gu_threads.h:251
#4  gu::Lock::wait (this=<synthetic pointer>, cond=...) at /test/mtest/10.4_galera_opt/galerautils/src/gu_lock.hpp:46
#5  galera::ServiceThd::thd_func (arg=0x563d0e2b8968) at /test/mtest/10.4_galera_opt/galera/src/galera_service_thd.cpp:31
#6  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x14bb09835700 (LWP 821619)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x14bb09834e20, clockid=<optimized out>, expected=0, futex_word=0x563d0c9a5de8 <COND_timer+40>) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x14bb09834e20, clockid=<optimized out>, mutex=0x563d0c9a5d28 <LOCK_timer+40>, cond=0x563d0c9a5dc0 <COND_timer>) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x563d0c9a5dc0 <COND_timer>, mutex=0x563d0c9a5d28 <LOCK_timer+40>, abstime=0x14bb09834e20) at pthread_cond_wait.c:656
#3  0x0000563d0b3b71a2 in safe_cond_timedwait (cond=0x563d0c9a5dc0 <COND_timer>, mp=0x563d0c9a5d00 <LOCK_timer>, abstime=0x14bb09834e20, file=0x563d0b93a130 "/test/mtest/10.9/include/mysql/psi/mysql_thread.h", line=1088) at /test/mtest/10.9/mysys/thr_mutex.c:548
#4  0x0000563d0b3b818a in inline_mysql_cond_timedwait (that=0x563d0c9a5dc0 <COND_timer>, mutex=0x563d0c9a5d00 <LOCK_timer>, abstime=0x14bb09834e20, src_file=0x563d0b93a168 "/test/mtest/10.9/mysys/thr_timer.c", src_line=321) at /test/mtest/10.9/include/mysql/psi/mysql_thread.h:1088
#5  0x0000563d0b3b8e2f in timer_handler (arg=0x0) at /test/mtest/10.9/mysys/thr_timer.c:321
#6  0x000014bb092ea609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x000014bb08ebb163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x14bb08c00800 (LWP 821618)):
#0  0x000014bb08eae9cf in __GI___poll (fds=0x563d0e81e038, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x0000563d0a5a8385 in handle_connections_sockets () at /test/mtest/10.9/sql/mysqld.cc:6176
#2  0x0000563d0a5a7964 in mysqld_main (argc=41, argv=0x563d0e23f170) at /test/mtest/10.9/sql/mysqld.cc:5881
#3  0x0000563d0a59b96d in main (argc=7, argv=0x7ffef5fbb3d8) at /test/mtest/10.9/sql/main.cc:34

