(gdb) thread apply all bt

Thread 12 (LWP 4101097):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=1140844592, cancel=true, abstime=0x7bbc43ffe9f0, op=137, expected=0, futex_word=0x5c8ef86fb78c) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=1140844592, abstime=0x7bbc43ffe9f0, clockid=31676, expected=0, futex_word=0x5c8ef86fb78c) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8ef86fb78c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7bbc43ffe9f0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9c116 in __pthread_cond_wait_common (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb760) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_clockwait64 (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb760) at ./nptl/pthread_cond_wait.c:691
#5  ___pthread_cond_clockwait64 (cond=0x5c8ef86fb760, mutex=0x5c8ef86fb658, clockid=<optimized out>, abstime=<optimized out>) at ./nptl/pthread_cond_wait.c:679
#6  0x00005c8eeafe892b in std::__condvar::wait_until (this=0x5c8ef86fb760, __m=..., __clock=1, __abs_time=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_mutex.h:185
#7  0x00005c8eeafe87ec in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb760, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515357789653ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:203
#8  0x00005c8eeafe8695 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb760, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515357789653ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:113
#9  0x00005c8eeafe639c in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x5c8ef86fb760, __lock=..., __rtime=std::chrono::duration = { 60000ms }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:165
#10 0x00005c8eeafe3fd1 in tpool::thread_pool_generic::wait_for_tasks (this=0x5c8ef86fb530, lk=..., thread_data=0x5c8ef86fb760) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:431
#11 0x00005c8eeafe427d in tpool::thread_pool_generic::get_task (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb760, t=0x7bbc43ffebb8) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:484
#12 0x00005c8eeafe4639 in tpool::thread_pool_generic::worker_main (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb760) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:529
#13 0x00005c8eeafe9144 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__f=@0x7bbc94002108: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __t=@0x7bbc94002100: 0x5c8ef86fb530, __args=@0x7bbc940020f8: 0x5c8ef86fb760) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:74
#14 0x00005c8eeafe9065 in std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0x7bbc94002108: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __args=@0x7bbc940020f8: 0x5c8ef86fb760, __args=@0x7bbc940020f8: 0x5c8ef86fb760) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#15 0x00005c8eeafe9033 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=0x7bbc940020f8) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
#16 0x00005c8eeafe8fe5 in std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0x7bbc940020f8) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#17 0x00005c8eeafe8e59 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=0x7bbc940020f0) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#18 0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#20 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (LWP 4101107):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=73615408, cancel=true, abstime=0x7bbc046349f0, op=137, expected=0, futex_word=0x5c8ef86fb82c) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=73615408, abstime=0x7bbc046349f0, clockid=31676, expected=0, futex_word=0x5c8ef86fb82c) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8ef86fb82c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7bbc046349f0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9c116 in __pthread_cond_wait_common (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb800) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_clockwait64 (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb800) at ./nptl/pthread_cond_wait.c:691
#5  ___pthread_cond_clockwait64 (cond=0x5c8ef86fb800, mutex=0x5c8ef86fb658, clockid=<optimized out>, abstime=<optimized out>) at ./nptl/pthread_cond_wait.c:679
#6  0x00005c8eeafe892b in std::__condvar::wait_until (this=0x5c8ef86fb800, __m=..., __clock=1, __abs_time=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_mutex.h:185
#7  0x00005c8eeafe87ec in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb800, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515357782824ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:203
#8  0x00005c8eeafe8695 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb800, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515357782824ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:113
#9  0x00005c8eeafe639c in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x5c8ef86fb800, __lock=..., __rtime=std::chrono::duration = { 60000ms }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:165
#10 0x00005c8eeafe3fd1 in tpool::thread_pool_generic::wait_for_tasks (this=0x5c8ef86fb530, lk=..., thread_data=0x5c8ef86fb800) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:431
#11 0x00005c8eeafe427d in tpool::thread_pool_generic::get_task (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb800, t=0x7bbc04634bb8) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:484
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00005c8eeafe4639 in tpool::thread_pool_generic::worker_main (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb800) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:529
#13 0x00005c8eeafe9144 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__f=@0x7bbc94002288: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __t=@0x7bbc94002280: 0x5c8ef86fb530, __args=@0x7bbc94002278: 0x5c8ef86fb800) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:74
#14 0x00005c8eeafe9065 in std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0x7bbc94002288: (void (tpool::thread_pool_generic::*)(class tpool::thread_pool_generic * const, struct tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __args=@0x7bbc94002278: 0x5c8ef86fb800, __args=@0x7bbc94002278: 0x5c8ef86fb800) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#15 0x00005c8eeafe9033 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=0x7bbc94002278) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
#16 0x00005c8eeafe8fe5 in std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0x7bbc94002278) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#17 0x00005c8eeafe8e59 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=0x7bbc94002270) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#18 0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#20 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (LWP 4101098):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5c8ef87b1f8c) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5c8ef87b1f8c) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8ef87b1f8c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9b7ed in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5c8ef87b1ed8, cond=0x5c8ef87b1f60) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5c8ef87b1f60, mutex=0x5c8ef87b1ed8) at ./nptl/pthread_cond_wait.c:627
#5  0x00005c8eeb08d275 in safe_cond_wait (cond=0x5c8ef87b1f60, mp=0x5c8ef87b1eb0, file=0x5c8eeb597d6d "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/innobase/fsp/fsp_binlog.cc", line=804) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_mutex.c:489
#6  0x00005c8eeaf71b50 in fsp_binlog_page_fifo::flush_thread_run (this=0x5c8ef87b1eb0) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/innobase/fsp/fsp_binlog.cc:804
#7  0x00005c8eeaf792f8 in fsp_binlog_page_fifo::start_flush_thread()::$_0::operator()() const (this=0x5c8ef87ae148) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/innobase/fsp/fsp_binlog.cc:751
#8  0x00005c8eeaf792d5 in std::__invoke_impl<void, fsp_binlog_page_fifo::start_flush_thread()::$_0>(std::__invoke_other, fsp_binlog_page_fifo::start_flush_thread()::$_0&&) (__f=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61
#9  0x00005c8eeaf79295 in std::__invoke<fsp_binlog_page_fifo::start_flush_thread()::$_0>(fsp_binlog_page_fifo::start_flush_thread()::$_0&&) (__fn=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#10 0x00005c8eeaf7926d in std::thread::_Invoker<std::tuple<fsp_binlog_page_fifo::start_flush_thread()::$_0> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5c8ef87ae148) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
#11 0x00005c8eeaf79245 in std::thread::_Invoker<std::tuple<fsp_binlog_page_fifo::start_flush_thread()::$_0> >::operator()() (this=0x5c8ef87ae148) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#12 0x00005c8eeaf791a9 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<fsp_binlog_page_fifo::start_flush_thread()::$_0> > >::_M_run() (this=0x5c8ef87ae140) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#13 0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#14 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#15 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (LWP 4100888):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00005c8eeafec6d1 in my_getevents (ctx=0x7bbc98f20000, min_nr=1, nr=256, ev=0x7bbc8bffbc00) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/aio_libaio.cc:64
#2  0x00005c8eeafec23b in (anonymous namespace)::aio_libaio::getevent_thread_routine (aio=0x5c8ef8479060) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/aio_libaio.cc:109
#3  0x00005c8eeafeca10 in std::__invoke_impl<void, void (*)((anonymous namespace)::aio_libaio*), (anonymous namespace)::aio_libaio*> (__f=@0x5c8ef8446410: 0x5c8eeafec1f0 <(anonymous namespace)::aio_libaio::getevent_thread_routine((anonymous namespace)::aio_libaio*)>, __args=@0x5c8ef8446408: 0x5c8ef8479060) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61
#4  0x00005c8eeafec99d in std::__invoke<void (*)((anonymous namespace)::aio_libaio*), (anonymous namespace)::aio_libaio*> (__fn=@0x5c8ef8446410: 0x5c8eeafec1f0 <(anonymous namespace)::aio_libaio::getevent_thread_routine((anonymous namespace)::aio_libaio*)>, __args=@0x5c8ef8446408: 0x5c8ef8479060) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#5  0x00005c8eeafec972 in std::thread::_Invoker<std::tuple<void (*)((anonymous namespace)::aio_libaio*), (anonymous namespace)::aio_libaio*> >::_M_invoke<0ul, 1ul> (this=0x5c8ef8446408) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
--Type <RET> for more, q to quit, c to continue without paging--
#6  0x00005c8eeafec935 in std::thread::_Invoker<std::tuple<void (*)((anonymous namespace)::aio_libaio*), (anonymous namespace)::aio_libaio*> >::operator() (this=0x5c8ef8446408) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#7  0x00005c8eeafec819 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)((anonymous namespace)::aio_libaio*), (anonymous namespace)::aio_libaio*> > >::_M_run (this=0x5c8ef8446400) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#8  0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#10 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (LWP 4116411):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=-1515870811, cancel=true, abstime=0x7bbbbbffe9f0, op=137, expected=0, futex_word=0x5c8ef86fb8c8) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=-1515870811, abstime=0x7bbbbbffe9f0, clockid=-1515870811, expected=0, futex_word=0x5c8ef86fb8c8) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8ef86fb8c8, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7bbbbbffe9f0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9c116 in __pthread_cond_wait_common (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb8a0) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_clockwait64 (abstime=<optimized out>, clockid=<optimized out>, mutex=0x5c8ef86fb658, cond=0x5c8ef86fb8a0) at ./nptl/pthread_cond_wait.c:691
#5  ___pthread_cond_clockwait64 (cond=0x5c8ef86fb8a0, mutex=0x5c8ef86fb658, clockid=<optimized out>, abstime=<optimized out>) at ./nptl/pthread_cond_wait.c:679
#6  0x00005c8eeafe892b in std::__condvar::wait_until (this=0x5c8ef86fb8a0, __m=..., __clock=1, __abs_time=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_mutex.h:185
#7  0x00005c8eeafe87ec in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb8a0, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515358568392ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:203
#8  0x00005c8eeafe8695 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x5c8ef86fb8a0, __lock=..., __atime=std::chrono::_V2::steady_clock time_point = { 4811515358568392ns }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:113
#9  0x00005c8eeafe639c in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x5c8ef86fb8a0, __lock=..., __rtime=std::chrono::duration = { 60000ms }) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/condition_variable:165
#10 0x00005c8eeafe3fd1 in tpool::thread_pool_generic::wait_for_tasks (this=0x5c8ef86fb530, lk=..., thread_data=0x5c8ef86fb8a0) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:431
#11 0x00005c8eeafe427d in tpool::thread_pool_generic::get_task (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb8a0, t=0x7bbbbbffebb8) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:484
#12 0x00005c8eeafe4639 in tpool::thread_pool_generic::worker_main (this=0x5c8ef86fb530, thread_var=0x5c8ef86fb8a0) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/tpool/tpool_generic.cc:529
#13 0x00005c8eeafe9144 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__f=@0x7bbc0c016778: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __t=@0x7bbc0c016770: 0x5c8ef86fb530, __args=@0x7bbc0c016768: 0x5c8ef86fb8a0) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:74
#14 0x00005c8eeafe9065 in std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0x7bbc0c016778: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5c8eeafe4550 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __args=@0x7bbc0c016768: 0x5c8ef86fb8a0, __args=@0x7bbc0c016768: 0x5c8ef86fb8a0) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#15 0x00005c8eeafe9033 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=0x7bbc0c016768) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
#16 0x00005c8eeafe8fe5 in std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0x7bbc0c016768) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#17 0x00005c8eeafe8e59 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=0x7bbc0c016760) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#18 0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#20 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (LWP 4103373):
#0  0x00007bbc99e45fc8 in __GI___sigtimedwait (set=0x7bbc98109c78, info=0x7bbc98109b98, timeout=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:31
#1  0x00005c8eea0c0b70 in my_sigwait (set=0x7bbc98109c78, sig=0x7bbc98109c74, code=0x7bbc98109c6c) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/my_pthread.h:180
#2  0x00005c8eea0c079b in signal_hand () at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/mysqld.cc:3288
#3  0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#4  0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (LWP 4100811):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=23694, cancel=true, abstime=0x7bbc9a02fcc8, op=393, expected=0, futex_word=0x5c8eec900da4 <COND_timer+44>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=23694, abstime=0x7bbc9a02fcc8, clockid=23694, expected=0, futex_word=0x5c8eec900da4 <COND_timer+44>) at ./nptl/futex-internal.c:87
--Type <RET> for more, q to quit, c to continue without paging--
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8eec900da4 <COND_timer+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7bbc9a02fcc8, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9bc8e in __pthread_cond_wait_common (abstime=0x7bbc9a02fcc8, clockid=0, mutex=0x5c8eec900cf0 <LOCK_timer+40>, cond=0x5c8eec900d78 <COND_timer>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x5c8eec900d78 <COND_timer>, mutex=0x5c8eec900cf0 <LOCK_timer+40>, abstime=0x7bbc9a02fcc8) at ./nptl/pthread_cond_wait.c:652
#5  0x00005c8eeb08d518 in safe_cond_timedwait (cond=0x5c8eec900d78 <COND_timer>, mp=0x5c8eec900cc8 <LOCK_timer>, abstime=0x7bbc9a02fcc8, file=0x5c8eeb394d4e "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h", line=1088) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_mutex.c:543
#6  0x00005c8eeb08ea2a in inline_mysql_cond_timedwait (that=0x5c8eec900d78 <COND_timer>, mutex=0x5c8eec900cc8 <LOCK_timer>, abstime=0x7bbc9a02fcc8, src_file=0x5c8eeb5ac8bf "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_timer.c", src_line=330) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h:1088
#7  0x00005c8eeb08e180 in timer_handler (arg=0x0) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_timer.c:330
#8  0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#9  0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (LWP 4101144):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=-1, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5c8eec076178 <COND_manager+40>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=-1, abstime=0x0, clockid=0, expected=0, futex_word=0x5c8eec076178 <COND_manager+40>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8eec076178 <COND_manager+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9b7ed in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5c8eec0760c8 <LOCK_manager+40>, cond=0x5c8eec076150 <COND_manager>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5c8eec076150 <COND_manager>, mutex=0x5c8eec0760c8 <LOCK_manager+40>) at ./nptl/pthread_cond_wait.c:627
#5  0x00005c8eeb08d275 in safe_cond_wait (cond=0x5c8eec076150 <COND_manager>, mp=0x5c8eec0760a0 <LOCK_manager>, file=0x5c8eeb394d4e "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h", line=1072) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_mutex.c:489
#6  0x00005c8eea28e8a0 in inline_mysql_cond_wait (that=0x5c8eec076150 <COND_manager>, mutex=0x5c8eec0760a0 <LOCK_manager>, src_file=0x5c8eeb3bae64 "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_manager.cc", src_line=110) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h:1072
#7  0x00005c8eea28e6ca in handle_manager (arg=0x0) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_manager.cc:110
#8  0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#9  0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (LWP 4101143):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=31676, cancel=true, abstime=0x7bbbebf93c38, op=393, expected=0, futex_word=0x5c8eec8b0178 <COND_checkpoint+40>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=31676, abstime=0x7bbbebf93c38, clockid=31675, expected=0, futex_word=0x5c8eec8b0178 <COND_checkpoint+40>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8eec8b0178 <COND_checkpoint+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7bbbebf93c38, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9bc8e in __pthread_cond_wait_common (abstime=0x7bbbebf93c38, clockid=0, mutex=0x5c8eec8b00c0 <LOCK_checkpoint+40>, cond=0x5c8eec8b0150 <COND_checkpoint>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x5c8eec8b0150 <COND_checkpoint>, mutex=0x5c8eec8b00c0 <LOCK_checkpoint+40>, abstime=0x7bbbebf93c38) at ./nptl/pthread_cond_wait.c:652
#5  0x00005c8eeb08d518 in safe_cond_timedwait (cond=0x5c8eec8b0150 <COND_checkpoint>, mp=0x5c8eec8b0098 <LOCK_checkpoint>, abstime=0x7bbbebf93c38, file=0x5c8eeb394d4e "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h", line=1088) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_mutex.c:543
#6  0x00005c8eeaa1a59a in inline_mysql_cond_timedwait (that=0x5c8eec8b0150 <COND_checkpoint>, mutex=0x5c8eec8b0098 <LOCK_checkpoint>, abstime=0x7bbbebf93c38, src_file=0x5c8eeb508e53 "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/maria/ma_servicethread.c", src_line=116) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/include/mysql/psi/mysql_thread.h:1088
#7  0x00005c8eeaa1a51f in my_service_thread_sleep (control=0x5c8eebe59bc0 <checkpoint_control>, sleep_time=29000000000) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/maria/ma_servicethread.c:115
#8  0x00005c8eeaa0e234 in ma_checkpoint_background (arg=0x1e) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/maria/ma_checkpoint.c:765
#9  0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#10 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (LWP 4100678):
#0  0x00007bbc99f1b4fd in __GI___poll (fds=0x5c8ef8b4a868, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00005c8eea0c811f in handle_connections_sockets () at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/mysqld.cc:6650
#2  0x00005c8eea0c74dc in run_main_loop () at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/mysqld.cc:5932
#3  0x00005c8eea0c2311 in mysqld_main (argc=13, argv=0x5c8ef842c4b8) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/mysqld.cc:6355
#4  0x00005c8eea0bead2 in main (argc=12, argv=0x7ffd2f0af648) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/main.cc:34


Thread 2 (LWP 4100917):
#0  0x00007bbc99e98d71 in __futex_abstimed_wait_common64 (private=31676, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5c8eebe7d8b8 <buf_pool+1080>) at ./nptl/futex-internal.c:57
--Type <RET> for more, q to quit, c to continue without paging--
#1  __futex_abstimed_wait_common (cancel=true, private=31676, abstime=0x0, clockid=0, expected=0, futex_word=0x5c8eebe7d8b8 <buf_pool+1080>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5c8eebe7d8b8 <buf_pool+1080>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007bbc99e9b7ed in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5c8eebe7d7a8 <buf_pool+808>, cond=0x5c8eebe7d890 <buf_pool+1040>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5c8eebe7d890 <buf_pool+1040>, mutex=0x5c8eebe7d7a8 <buf_pool+808>) at ./nptl/pthread_cond_wait.c:627
#5  0x00005c8eeb08d275 in safe_cond_wait (cond=0x5c8eebe7d890 <buf_pool+1040>, mp=0x5c8eebe7d780 <buf_pool+768>, file=0x5c8eeb5853ff "/test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/innobase/buf/buf0flu.cc", line=2601) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/thr_mutex.c:489
#6  0x00005c8eeaeb3483 in buf_flush_page_cleaner () at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/storage/innobase/buf/buf0flu.cc:2600
#7  0x00005c8eeaebe052 in std::__invoke_impl<void, void (*)() noexcept>(std::__invoke_other, void (*&&)() noexcept) (__f=@0x5c8ef847e828: 0x5c8eeaeb3060 <buf_flush_page_cleaner()>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61
#8  0x00005c8eeaebe005 in std::__invoke<void (*)() noexcept>(void (*&&)() noexcept) (__fn=@0x5c8ef847e828: 0x5c8eeaeb3060 <buf_flush_page_cleaner()>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:96
#9  0x00005c8eeaebdfdd in std::thread::_Invoker<std::tuple<void (*)() noexcept> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5c8ef847e828) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:292
#10 0x00005c8eeaebdfb5 in std::thread::_Invoker<std::tuple<void (*)() noexcept> >::operator()() (this=0x5c8ef847e828) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:299
#11 0x00005c8eeaebdf19 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)() noexcept> > >::_M_run() (this=0x5c8ef847e820) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_thread.h:244
#12 0x00007bbc9a2ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#14 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78


Thread 1 (LWP 4104054):
#0  0x00007bbc99ea9afd in unlink_chunk (p=p@entry=0x7bbbc002d9b0, av=0x7bbbc0000030) at ./malloc/malloc.c:1616
#1  0x00007bbc99eab0e3 in _int_free_create_chunk (nextsize=192, nextchunk=0x7bbbc002d9b0, size=<optimized out>, p=0x7bbbc002d1b0, av=0x7bbbc0000030) at ./malloc/malloc.c:4721
#2  _int_free_merge_chunk (av=0x7bbbc0000030, p=0x7bbbc002d1b0, size=<optimized out>) at ./malloc/malloc.c:4700
#3  0x00007bbc99eab43a in _int_free (av=0x7bbbc0000030, p=<optimized out>, have_lock=<optimized out>) at ./malloc/malloc.c:4646
#4  0x00007bbc99eaddce in __GI___libc_free (mem=0x7bbbc002d1c0) at ./malloc/malloc.c:3398
#5  0x00005c8eeb0836d5 in my_free (ptr=0x7bbbc002d1d8) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/my_malloc.c:218
#6  0x00005c8eeb06f0b3 in root_free (root=0x7bbbc00070e0, ptr=0x7bbbc002d1d8, size=2016) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/my_alloc.c:77
#7  0x00005c8eeb06fa04 in free_root (root=0x7bbbc00070e0, MyFlags=1) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/mysys/my_alloc.c:511
#8  0x00005c8eea296dc2 in dispatch_command (command=COM_QUERY, thd=0x7bbbc0000d58, packet=0x7bbbc000b4e9 "", packet_length=69, blocking=true) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_parse.cc:2492
#9  0x00005c8eea2984e3 in do_command (thd=0x7bbbc0000d58, blocking=true) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_parse.cc:1432
#10 0x00005c8eea493229 in do_handle_one_connection (connect=0x5c8ef8ab4e88, put_in_cache=true) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_connect.cc:1503
#11 0x00005c8eea492fce in handle_one_connection (arg=0x5c8ef8b3d608) at /test/mtest/MDEV-5092/bb-13.0-MDEV-5092_dbg/sql/sql_connect.cc:1415
#12 0x00007bbc99e9caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#13 0x00007bbc99f29c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) 
(gdb) 


