/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/mysql-test$ ./mtr test
|
Logging: ./mtr test
|
VS config:
|
vardir: /test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/mysql-test/var
|
Checking leftover processes...
|
Removing old var directory...
|
Creating var directory '/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/mysql-test/var'...
|
Checking supported features...
|
MariaDB Version 11.0.1-MariaDB-debug
|
- SSL connections supported
|
- binaries are debug compiled
|
- binaries built with wsrep patch
|
Collecting tests...
|
Installing system database...
|
|
==============================================================================
|
|
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
|
DROP DATABASE test;
|
CREATE DATABASE test;
|
USE test;
|
CREATE EVENT e ON SCHEDULE EVERY 5 HOUR DO SELECT 2;
|
SET timestamp=100000000;
|
CREATE EVENT root8 ON SCHEDULE EVERY '2:5' YEAR_MONTH DO SELECT 1;
|
CREATE EVENT EVENT1 ON SCHEDULE EVERY 15 MINUTE STARTS NOW() ENDS DATE_ADD(NOW(), INTERVAL 5 HOUR) DO BEGIN END;
|
SET GLOBAL event_scheduler=TRUE;
|
ALTER EVENT e ON SCHEDULE EVERY 1 HOUR STARTS '1999-01-01 00:00:00';
|
DROP PROCEDURE not_there;
|
main.test 'innodb' [ fail ]
|
Test ended at 2023-03-28 12:32:11
|
|
CURRENT_TEST: main.test
|
mysqltest: At line 12: query 'DROP PROCEDURE not_there' failed: ER_SP_DOES_NOT_EXIST (1305): PROCEDURE test.not_there does not exist
|
|
- found 'core.1922463' (0/5)
|
Core generated by '/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/bin/mariadbd'
|
Output from gdb follows. The first stack trace is from the failing thread.
|
The following stack traces are from all threads (so the failing one is
|
duplicated).
|
--------------------------
|
[New LWP 1922463]
|
[New LWP 1922507]
|
[New LWP 1922475]
|
[New LWP 1922511]
|
[New LWP 1922506]
|
[New LWP 1922479]
|
[New LWP 1922510]
|
[New LWP 1922512]
|
[New LWP 1922513]
|
[New LWP 1922514]
|
[New LWP 1922521]
|
[New LWP 1922516]
|
[New LWP 1922515]
|
[New LWP 1922518]
|
[New LWP 1922520]
|
[Thread debugging using libthread_db enabled]
|
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
|
Core was generated by `/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/bin/mariadbd --defaults-group-su'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000000000000121 in ?? ()
|
[Current thread is 1 (Thread 0x146ab9917940 (LWP 1922463))]
|
|
Thread 15 (Thread 0x146ab21f0640 (LWP 1922520)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55b15a33848c <COND_manager+44>) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55b15a33848c <COND_manager+44>) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15a33848c <COND_manager+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5aac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b15a3384c8 <LOCK_manager+40>, cond=0x55b15a338460 <COND_manager>) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_wait (cond=cond@entry=0x55b15a338460 <COND_manager>, mutex=mutex@entry=0x55b15a3384c8 <LOCK_manager+40>) at ./nptl/pthread_cond_wait.c:627
|
#5 0x000055b1597b1bff in safe_cond_wait (cond=0x55b15a338460 <COND_manager>, mp=0x55b15a3384a0 <LOCK_manager>, file=0x55b15993d128 "/test/11.0_dbg/include/mysql/psi/mysql_thread.h", line=1072) at /test/11.0_dbg/mysys/thr_mutex.c:494
|
#6 0x000055b158e4c56a in inline_mysql_cond_wait (src_line=103, src_file=0x55b159963c20 "/test/11.0_dbg/sql/sql_manager.cc", mutex=0x55b15a3384a0 <LOCK_manager>, that=0x55b15a338460 <COND_manager>) at /test/11.0_dbg/include/mysql/psi/mysql_thread.h:1072
|
#7 handle_manager (arg=<optimized out>) at /test/11.0_dbg/sql/sql_manager.cc:103
|
#8 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#9 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 14 (Thread 0x146ab23f1640 (LWP 1922518)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab23f0bc0, op=393, expected=0, futex_word=0x55b15ab6be68 <COND_checkpoint+40>) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab23f0bc0, clockid=2072, expected=0, futex_word=0x55b15ab6be68 <COND_checkpoint+40>) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15ab6be68 <COND_checkpoint+40>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x146ab23f0bc0, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5af1b in __pthread_cond_wait_common (abstime=0x146ab23f0bc0, clockid=0, mutex=0x55b15ab6bea8 <LOCK_checkpoint+40>, cond=0x55b15ab6be40 <COND_checkpoint>) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_timedwait64 (cond=cond@entry=0x55b15ab6be40 <COND_checkpoint>, mutex=mutex@entry=0x55b15ab6bea8 <LOCK_checkpoint+40>, abstime=abstime@entry=0x146ab23f0bc0) at ./nptl/pthread_cond_wait.c:652
|
#5 0x000055b1597b1e9b in safe_cond_timedwait (cond=0x55b15ab6be40 <COND_checkpoint>, mp=0x55b15ab6be80 <LOCK_checkpoint>, abstime=abstime@entry=0x146ab23f0bc0, file=file@entry=0x55b15993d128 "/test/11.0_dbg/include/mysql/psi/mysql_thread.h", line=line@entry=1088) at /test/11.0_dbg/mysys/thr_mutex.c:548
|
#6 0x000055b159350c47 in inline_mysql_cond_timedwait (src_line=115, src_file=0x55b159b539f8 "/test/11.0_dbg/storage/maria/ma_servicethread.c", abstime=0x146ab23f0bc0, mutex=<optimized out>, that=<optimized out>) at /test/11.0_dbg/include/mysql/psi/mysql_thread.h:1088
|
#7 my_service_thread_sleep (control=control@entry=0x55b15a2462c0 <checkpoint_control>, sleep_time=sleep_time@entry=29000000000) at /test/11.0_dbg/storage/maria/ma_servicethread.c:115
|
#8 0x000055b1593491c9 in ma_checkpoint_background (arg=0x1e) at /test/11.0_dbg/storage/maria/ma_checkpoint.c:725
|
#9 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#10 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 13 (Thread 0x146ab2a5a640 (LWP 1922515)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab2a59b50, op=137, expected=0, futex_word=0x55b15af8e19c) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab2a59b50, clockid=0, expected=0, futex_word=0x55b15af8e19c) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8e19c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab2a59b50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab2a59b50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e170) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab2a59b50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e170) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8e170, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab2a59b50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8e170) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e170) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e170) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8e170) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8e170) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8e170, t=t@entry=0x146ab2a59bf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8e170) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 12 (Thread 0x146ab2859640 (LWP 1922516)):
|
#0 __futex_abstimed_wait_common64 (private=-672, cancel=true, abstime=0x146ab2858b50, op=137, expected=0, futex_word=0x55b15af8e218) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=-672, abstime=0x146ab2858b50, clockid=0, expected=0, futex_word=0x55b15af8e218) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8e218, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab2858b50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab2858b50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e1f0) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab2858b50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e1f0) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8e1f0, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab2858b50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8e1f0) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e1f0) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e1f0) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8e1f0) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8e1f0) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8e1f0, t=t@entry=0x146ab2858bf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8e1f0) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 11 (Thread 0x146ab21a5640 (LWP 1922521)):
|
#0 0x0000146ab9c0a21a in __GI___sigtimedwait (set=0x146ab21a4b10, info=0x146ab21a4b90, timeout=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61
|
#1 0x000055b158d35be4 in my_sigwait (code=<synthetic pointer>, sig=0x146ab21a4b0c, set=0x146ab21a4b10) at /test/11.0_dbg/include/my_pthread.h:195
|
#2 signal_hand (arg=<optimized out>) at /test/11.0_dbg/sql/mysqld.cc:3261
|
#3 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#4 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 10 (Thread 0x146ab2c5b640 (LWP 1922514)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab2c5ab50, op=137, expected=0, futex_word=0x55b15af8e11c) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab2c5ab50, clockid=0, expected=0, futex_word=0x55b15af8e11c) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8e11c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab2c5ab50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab2c5ab50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e0f0) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab2c5ab50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e0f0) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8e0f0, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab2c5ab50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8e0f0) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e0f0) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e0f0) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8e0f0) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8e0f0) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8e0f0, t=t@entry=0x146ab2c5abf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8e0f0) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 9 (Thread 0x146ab2e5c640 (LWP 1922513)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab2e5bb50, op=137, expected=0, futex_word=0x55b15af8e098) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab2e5bb50, clockid=0, expected=0, futex_word=0x55b15af8e098) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8e098, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab2e5bb50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab2e5bb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e070) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab2e5bb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8e070) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8e070, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab2e5bb50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8e070) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e070) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8e070) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8e070) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8e070) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8e070, t=t@entry=0x146ab2e5bbf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8e070) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 8 (Thread 0x146ab305d640 (LWP 1922512)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab305cb50, op=137, expected=0, futex_word=0x55b15af8e01c) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab305cb50, clockid=0, expected=0, futex_word=0x55b15af8e01c) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8e01c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab305cb50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab305cb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8dff0) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab305cb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8dff0) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8dff0, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab305cb50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8dff0) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8dff0) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8dff0) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8dff0) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8dff0) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8dff0, t=t@entry=0x146ab305cbf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8dff0) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 7 (Thread 0x146ab3bfd640 (LWP 1922510)):
|
#0 __futex_abstimed_wait_common64 (private=-672, cancel=true, abstime=0x146ab3bfcb50, op=137, expected=0, futex_word=0x55b15af8df18) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=-672, abstime=0x146ab3bfcb50, clockid=0, expected=0, futex_word=0x55b15af8df18) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8df18, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab3bfcb50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab3bfcb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8def0) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab3bfcb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8def0) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8def0, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab3bfcb50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8def0) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8def0) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8def0) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8def0) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8def0) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8def0, t=t@entry=0x146ab3bfcbf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8def0) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 6 (Thread 0x146ab86a1640 (LWP 1922479)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab86a0be0, op=393, expected=0, futex_word=0x55b15a25bcb0 <buf_pool+17584>) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab86a0be0, clockid=2072, expected=0, futex_word=0x55b15a25bcb0 <buf_pool+17584>) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15a25bcb0 <buf_pool+17584>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x146ab86a0be0, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5af1b in __pthread_cond_wait_common (abstime=0x146ab86a0be0, clockid=0, mutex=0x55b15a25bba8 <buf_pool+17320>, cond=0x55b15a25bc88 <buf_pool+17544>) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_timedwait64 (cond=cond@entry=0x55b15a25bc88 <buf_pool+17544>, mutex=mutex@entry=0x55b15a25bba8 <buf_pool+17320>, abstime=abstime@entry=0x146ab86a0be0) at ./nptl/pthread_cond_wait.c:652
|
#5 0x000055b1597b1e9b in safe_cond_timedwait (cond=0x55b15a25bc88 <buf_pool+17544>, mp=0x55b15a25bb80 <buf_pool+17280>, abstime=0x146ab86a0be0, file=0x55b159bcf110 "/test/11.0_dbg/storage/innobase/buf/buf0flu.cc", line=2328) at /test/11.0_dbg/mysys/thr_mutex.c:548
|
#6 0x000055b15966fa88 in buf_flush_page_cleaner () at /test/11.0_dbg/storage/innobase/buf/buf0flu.cc:2328
|
#7 0x000055b1596710a7 in std::__invoke_impl<void, void (*)()> (__f=<optimized out>) at /usr/include/c++/11/bits/invoke.h:60
|
#8 std::__invoke<void (*)()> (__fn=<optimized out>) at /usr/include/c++/11/bits/invoke.h:96
|
#9 std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul> (this=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:253
|
#10 std::thread::_Invoker<std::tuple<void (*)()> >::operator() (this=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:260
|
#11 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run (this=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:211
|
#12 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#13 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#14 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 5 (Thread 0x146ab3fff640 (LWP 1922506)):
|
#0 __futex_abstimed_wait_common64 (private=1679967130, cancel=true, abstime=0x146ab3ffeb50, op=137, expected=0, futex_word=0x55b15af8de1c) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=1679967130, abstime=0x146ab3ffeb50, clockid=0, expected=0, futex_word=0x55b15af8de1c) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8de1c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab3ffeb50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab3ffeb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8ddf0) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab3ffeb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8ddf0) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8ddf0, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab3ffeb50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8ddf0) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8ddf0) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8ddf0) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8ddf0) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8ddf0) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8ddf0, t=t@entry=0x146ab3ffebf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8ddf0) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 4 (Thread 0x146ab325e640 (LWP 1922511)):
|
#0 __futex_abstimed_wait_common64 (private=-672, cancel=true, abstime=0x146ab325db50, op=137, expected=0, futex_word=0x55b15af8df9c) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=-672, abstime=0x146ab325db50, clockid=0, expected=0, futex_word=0x55b15af8df9c) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8df9c, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab325db50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab325db50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8df70) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab325db50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8df70) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8df70, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab325db50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8df70) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8df70) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8df70) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8df70) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8df70) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8df70, t=t@entry=0x146ab325dbf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8df70) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 3 (Thread 0x146ab9818640 (LWP 1922475)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab9817c10, op=393, expected=0, futex_word=0x55b15abb248c <COND_timer+44>) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab9817c10, clockid=0, expected=0, futex_word=0x55b15abb248c <COND_timer+44>) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15abb248c <COND_timer+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x146ab9817c10, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5af1b in __pthread_cond_wait_common (abstime=0x146ab9817c10, clockid=0, mutex=0x55b15abb24c8 <LOCK_timer+40>, cond=0x55b15abb2460 <COND_timer>) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_timedwait64 (cond=cond@entry=0x55b15abb2460 <COND_timer>, mutex=mutex@entry=0x55b15abb24c8 <LOCK_timer+40>, abstime=abstime@entry=0x146ab9817c10) at ./nptl/pthread_cond_wait.c:652
|
#5 0x000055b1597b1e9b in safe_cond_timedwait (cond=cond@entry=0x55b15abb2460 <COND_timer>, mp=mp@entry=0x55b15abb24a0 <LOCK_timer>, abstime=abstime@entry=0x146ab9817c10, file=file@entry=0x55b15993d128 "/test/11.0_dbg/include/mysql/psi/mysql_thread.h", line=line@entry=1088) at /test/11.0_dbg/mysys/thr_mutex.c:548
|
#6 0x000055b1597b244d in inline_mysql_cond_timedwait (src_line=321, src_file=0x55b159bf9030 "/test/11.0_dbg/mysys/thr_timer.c", abstime=0x146ab9817c10, mutex=0x55b15abb24a0 <LOCK_timer>, that=0x55b15abb2460 <COND_timer>) at /test/11.0_dbg/include/mysql/psi/mysql_thread.h:1088
|
#7 timer_handler (arg=<optimized out>) at /test/11.0_dbg/mysys/thr_timer.c:321
|
#8 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#9 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 2 (Thread 0x146ab3dfe640 (LWP 1922507)):
|
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x146ab3dfdb50, op=137, expected=0, futex_word=0x55b15af8de98) at ./nptl/futex-internal.c:57
|
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x146ab3dfdb50, clockid=0, expected=0, futex_word=0x55b15af8de98) at ./nptl/futex-internal.c:87
|
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b15af8de98, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x146ab3dfdb50, private=private@entry=0) at ./nptl/futex-internal.c:139
|
#3 0x0000146ab9c5b35d in __pthread_cond_wait_common (abstime=0x146ab3dfdb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8de70) at ./nptl/pthread_cond_wait.c:503
|
#4 ___pthread_cond_clockwait64 (abstime=0x146ab3dfdb50, clockid=1, mutex=0x55b15af8dbd8, cond=0x55b15af8de70) at ./nptl/pthread_cond_wait.c:691
|
#5 ___pthread_cond_clockwait64 (cond=0x55b15af8de70, mutex=0x55b15af8dbd8, clockid=1, abstime=0x146ab3dfdb50) at ./nptl/pthread_cond_wait.c:679
|
#6 0x000055b15974cf4c in std::__condvar::wait_until (__abs_time=..., __clock=1, __m=..., this=0x55b15af8de70) at /usr/include/c++/11/bits/std_mutex.h:169
|
#7 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8de70) at /usr/include/c++/11/condition_variable:201
|
#8 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=..., this=0x55b15af8de70) at /usr/include/c++/11/condition_variable:111
|
#9 std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (__rtime=..., __lock=..., this=0x55b15af8de70) at /usr/include/c++/11/condition_variable:163
|
#10 tpool::thread_pool_generic::wait_for_tasks (this=this@entry=0x55b15af8dac0, lk=..., thread_data=thread_data@entry=0x55b15af8de70) at /test/11.0_dbg/tpool/tpool_generic.cc:480
|
#11 0x000055b15974d9af in tpool::thread_pool_generic::get_task (this=this@entry=0x55b15af8dac0, thread_var=thread_var@entry=0x55b15af8de70, t=t@entry=0x146ab3dfdbf8) at /test/11.0_dbg/tpool/tpool_generic.cc:533
|
#12 0x000055b15974dacc in tpool::thread_pool_generic::worker_main (this=0x55b15af8dac0, thread_var=0x55b15af8de70) at /test/11.0_dbg/tpool/tpool_generic.cc:578
|
#13 0x000055b15974ee3a 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++/11/bits/invoke.h:74
|
#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++/11/bits/invoke.h:96
|
#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++/11/bits/std_thread.h:253
|
#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++/11/bits/std_thread.h:260
|
#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++/11/bits/std_thread.h:211
|
#18 0x0000146ab9fb42b3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
#19 0x0000146ab9c5bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#20 0x0000146ab9ceda00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
Thread 1 (Thread 0x146ab9917940 (LWP 1922463)):
|
#0 0x0000000000000121 in ?? ()
|
#1 0x000055b1592dff70 in Event_queue::empty_queue (this=this@entry=0x55b15b28f1f0) at /test/11.0_dbg/sql/event_queue.cc:529
|
#2 0x000055b1592e0116 in Event_queue::deinit_queue (this=this@entry=0x55b15b28f1f0) at /test/11.0_dbg/sql/event_queue.cc:174
|
#3 0x000055b1592e014d in Event_queue::~Event_queue (this=this@entry=0x55b15b28f1f0, __in_chrg=<optimized out>) at /test/11.0_dbg/sql/event_queue.cc:113
|
#4 0x000055b158f953bb in Events::deinit () at /test/11.0_dbg/sql/events.cc:1004
|
#5 0x000055b158d3861d in close_connections () at /test/11.0_dbg/sql/mysqld.cc:1786
|
#6 0x000055b158d40d9d in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /test/11.0_dbg/sql/mysqld.cc:6045
|
#7 0x000055b158d34c66 in main (argc=<optimized out>, argv=<optimized out>) at /test/11.0_dbg/sql/main.cc:34
|
|
- saving '/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/mysql-test/var/log/main.test-innodb/' to '/test/MD180223-mariadb-11.0.1-linux-x86_64-dbg/mysql-test/var/log/main.test-innodb/'
|
--------------------------------------------------------------------------
|
The servers were restarted 0 times
|
Spent 0.000 of 9 seconds executing testcases
|
|
Failure: Failed 1/1 tests, 0.00% were successful.
|
|
Failing test(s): main.test
|
|
The log files in var/log may give you some hint of what went wrong.
|
|
If you want to report this error, please read first the documentation
|
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
|
|
mysql-test-run: *** ERROR: there were failing test cases
|
Fresh 10.8 ASAN debug capture with this testcase:
10.8.3 e2e4aa29db0561b4a62faf4f381f9382c7a76903 (Debug, UBASAN)
2022-04-21 21:13:05 0 [Note] /test/UBASAN_MD090422-mariadb-10.8.3-linux-x86_64-dbg/bin/mysqld: ready for connections.
Version: '10.8.3-MariaDB-debug' socket: '/test/UBASAN_MD090422-mariadb-10.8.3-linux-x86_64-dbg/socket.sock' port: 12680 MariaDB Server
2022-04-21 21:15:52 5 [Note] Event Scheduler: scheduler thread started with id 5
=================================================================
==1070693==ERROR: AddressSanitizer: heap-use-after-free on address 0x61100004a780 at pc 0x5588777a1d67 bp 0x145599ec5890 sp 0x145599ec5880
READ of size 8 at 0x61100004a780 thread T13
#0 0x5588777a1d66 in event_queue_element_compare_q /test/10.8_dbg_san/sql/event_queue.cc:75
#1 0x55887943c509 in insert_at /test/10.8_dbg_san/mysys/queues.c:191
#2 0x55887943d54c in queue_insert /test/10.8_dbg_san/mysys/queues.c:219
#3 0x55887943d723 in queue_insert_safe /test/10.8_dbg_san/mysys/queues.c:248
#4 0x5588777a5b3d in Event_queue::update_event(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Event_queue_element*) /test/10.8_dbg_san/sql/event_queue.cc:271
#5 0x55887567c3ad in Events::update_event(THD*, Event_parse_data*, st_mysql_const_lex_string*, st_mysql_const_lex_string*) /test/10.8_dbg_san/sql/events.cc:550
#6 0x558874ce24ae in mysql_execute_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:5271
#7 0x558874c2a85c in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.8_dbg_san/sql/sql_parse.cc:8043
#8 0x558874ca08ae in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1910
#9 0x558874cb7409 in do_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1407
#10 0x558875783d7d in do_handle_one_connection(CONNECT*, bool) /test/10.8_dbg_san/sql/sql_connect.cc:1418
#11 0x558875786c17 in handle_one_connection /test/10.8_dbg_san/sql/sql_connect.cc:1312
#12 0x558877cd2668 in pfs_spawn_thread /test/10.8_dbg_san/storage/perfschema/pfs.cc:2201
#13 0x1455bced3608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
#14 0x1455bc148162 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f162)
0x61100004a780 is located 0 bytes inside of 208-byte region [0x61100004a780,0x61100004a850)
freed by thread T13 here:
#0 0x55887423ef5f in operator delete(void*) (/test/UBASAN_MD090422-mariadb-10.8.3-linux-x86_64-dbg/bin/mariadbd+0x8487f5f)
#1 0x55887565d4ca in Event_queue_element::~Event_queue_element() /test/10.8_dbg_san/sql/event_data_objects.cc:332
#2 0x5588777a30cb in Event_queue::find_n_remove_event(st_mysql_const_lex_string const*, st_mysql_const_lex_string const*) /test/10.8_dbg_san/sql/event_queue.cc:430
#3 0x5588777a5ad2 in Event_queue::update_event(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Event_queue_element*) /test/10.8_dbg_san/sql/event_queue.cc:265
#4 0x55887567c3ad in Events::update_event(THD*, Event_parse_data*, st_mysql_const_lex_string*, st_mysql_const_lex_string*) /test/10.8_dbg_san/sql/events.cc:550
#5 0x558874ce24ae in mysql_execute_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:5271
#6 0x558874c2a85c in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.8_dbg_san/sql/sql_parse.cc:8043
#7 0x558874ca08ae in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1910
#8 0x558874cb7409 in do_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1407
#9 0x558875783d7d in do_handle_one_connection(CONNECT*, bool) /test/10.8_dbg_san/sql/sql_connect.cc:1418
#10 0x558875786c17 in handle_one_connection /test/10.8_dbg_san/sql/sql_connect.cc:1312
#11 0x558877cd2668 in pfs_spawn_thread /test/10.8_dbg_san/storage/perfschema/pfs.cc:2201
#12 0x1455bced3608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
previously allocated by thread T13 here:
#0 0x55887423dfc7 in operator new(unsigned long) (/test/UBASAN_MD090422-mariadb-10.8.3-linux-x86_64-dbg/bin/mariadbd+0x8486fc7)
#1 0x55887567a319 in Events::create_event(THD*, Event_parse_data*) /test/10.8_dbg_san/sql/events.cc:372
#2 0x558874ce2583 in mysql_execute_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:5267
#3 0x558874c2a85c in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.8_dbg_san/sql/sql_parse.cc:8043
#4 0x558874ca08ae in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1910
#5 0x558874cb7409 in do_command(THD*, bool) /test/10.8_dbg_san/sql/sql_parse.cc:1407
#6 0x558875783d7d in do_handle_one_connection(CONNECT*, bool) /test/10.8_dbg_san/sql/sql_connect.cc:1418
#7 0x558875786c17 in handle_one_connection /test/10.8_dbg_san/sql/sql_connect.cc:1312
#8 0x558877cd2668 in pfs_spawn_thread /test/10.8_dbg_san/storage/perfschema/pfs.cc:2201
#9 0x1455bced3608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
Thread T13 created by T0 here:
#0 0x558874169285 in __interceptor_pthread_create (/test/UBASAN_MD090422-mariadb-10.8.3-linux-x86_64-dbg/bin/mariadbd+0x83b2285)
#1 0x558877ce1b92 in my_thread_create /test/10.8_dbg_san/storage/perfschema/my_thread.h:52
#2 0x558877ce1b92 in pfs_spawn_thread_v1 /test/10.8_dbg_san/storage/perfschema/pfs.cc:2252
#3 0x5588742958ac in inline_mysql_thread_create /test/10.8_dbg_san/include/mysql/psi/mysql_thread.h:1139
#4 0x5588742958ac in create_thread_to_handle_connection(CONNECT*) /test/10.8_dbg_san/sql/mysqld.cc:5980
#5 0x5588742aad86 in create_new_thread(CONNECT*) /test/10.8_dbg_san/sql/mysqld.cc:6039
#6 0x5588742ab561 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /test/10.8_dbg_san/sql/mysqld.cc:6101
#7 0x5588742ad146 in handle_connections_sockets() /test/10.8_dbg_san/sql/mysqld.cc:6225
#8 0x5588742b329c in mysqld_main(int, char**) /test/10.8_dbg_san/sql/mysqld.cc:5875
#9 0x55887427d80a in main /test/10.8_dbg_san/sql/main.cc:34
#10 0x1455bc04d0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x240b2)
SUMMARY: AddressSanitizer: heap-use-after-free /test/10.8_dbg_san/sql/event_queue.cc:75 in event_queue_element_compare_q
Shadow bytes around the buggy address:
0x0c22800014a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c22800014b0: 00 00 00 00 00 00 00 00 04 fa fa fa fa fa fa fa
0x0c22800014c0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
0x0c22800014d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c22800014e0: 04 fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c22800014f0:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2280001500: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa
0x0c2280001510: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
0x0c2280001520: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2280001530: fd fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c2280001540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==1070693==ABORTING