Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28052

test main.implicit_commit crashed on sparc64

    XMLWordPrintable

Details

    Description

      After upload of mariadb-10.6 1:10.6.7-3 I noticed that sparc64 builds at https://buildd.debian.org/status/package.php?p=mariadb-10.6 were failing:

      main.implicit_commit 'innodb'            w9 [ fail ]
              Test ended at 2022-03-11 18:18:39
       
      CURRENT_TEST: main.implicit_commit
      mysqltest: In included file "./include/implicit_commit_helper.inc": 
      included from /<<PKGBUILDDIR>>/mysql-test/main/implicit_commit.test at line 361:
      At line 3: query '$statement' failed: <Unknown> (2013): Lost connection to server during query
       
      The result from queries just before the failure was:
      < snip >
      # SQLCOM_ALTER_VIEW
      #
      INSERT INTO db1.trans (a) VALUES (1);
      alter view v1 as select 2;
      CALL db1.test_if_commit();
      IMPLICIT COMMIT
      YES
      #
      # SQLCOM_DROP_VIEW
      #
      INSERT INTO db1.trans (a) VALUES (1);
      drop view v1;
      CALL db1.test_if_commit();
      IMPLICIT COMMIT
      YES
      #
      # SQLCOM_CREATE_INDEX
      #
      INSERT INTO db1.trans (a) VALUES (1);
      create index idx1 on t1(a);
       
      More results from queries before failure can be found in /<<PKGBUILDDIR>>/builddir/mysql-test/var/9/log/implicit_commit.log
       
       
      Server [mysqld.1 - pid: 3925230, winpid: 3925230, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      2022-03-11 18:18:36 0 [ERROR] [FATAL] InnoDB: innodb_fatal_semaphore_wait_threshold was exceeded for dict_sys.latch. Please refer to https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/
      220311 18:18:36 [ERROR] mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.6.7-MariaDB-3-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=153
      thread_count=1
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63733 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x0 thread_stack 0x49000
      /<<PKGBUILDDIR>>/builddir/sql/mariadbd(my_print_stacktrace+0x14)[0x10000e98a1c]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /<<PKGBUILDDIR>>/builddir/mysql-test/var/9/mysqld.1/data
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            8388608              unlimited            bytes     
      Max core file size        unlimited            unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max open files            1024                 1024                 files     
      Max processes             128960               128960               processes 
      Max locked memory         4229464064           4229464064           bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       128960               128960               signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      Core pattern: core
       
      ----------SERVER LOG END-------------
       
       
       - found 'core' (0/5)
       
      Trying 'dbx' to get a backtrace
       
      Trying 'gdb' to get a backtrace from coredump /<<PKGBUILDDIR>>/builddir/mysql-test/var/9/log/main.implicit_commit-innodb/mysqld.1/data/core
      Core generated by '/<<PKGBUILDDIR>>/builddir/sql/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).
      --------------------------
       
      warning: Can't open file anon_inode:[io_uring] which was expanded to anon_inode:[io_uring] during file-backed mapping note processing
       
      warning: Can't open file anon_inode:[io_uring] which was expanded to anon_inode:[io_uring] during file-backed mapping note processing
      [New LWP 3925507]
      [New LWP 3925276]
      [New LWP 3925285]
      [New LWP 3925529]
      [New LWP 3925288]
      [New LWP 3925286]
      [New LWP 3927142]
      [New LWP 3925517]
      [New LWP 3925519]
      [New LWP 3926892]
      [New LWP 3927203]
      [New LWP 3925515]
      [New LWP 3925522]
      [New LWP 3925508]
      [New LWP 3925231]
      [New LWP 3925531]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
      Core was generated by `/<<PKGBUILDDIR>>/builddir/sql/mariadbd --defaults'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0xffff8001010ebfcc in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      [Current thread is 1 (Thread 0xffff800112611870 (LWP 3925507))]
      #0  0xffff8001010ebfcc in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x000001000098d94c in handle_fatal_signal (sig=<optimized out>) at ./sql/signal_handler.cc:345
      Backtrace stopped: Cannot access memory at address 0xf0
       
      Thread 16 (Thread 0xffff800107f0c870 (LWP 3925531)):
      #0  0xffff8001010f1890 in __futex_abstimed_wait_common64 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0xffff8001010ea52c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #2  0x0000010000db2134 in buf_LRU_get_free_block (have_mutex=<optimized out>) at ./storage/innobase/buf/buf0lru.cc:447
      #3  0x0000010000db2de0 in buf_page_init_for_read (unzip=false, zip_size=0, page_id=..., mode=132) at ./storage/innobase/buf/buf0rea.cc:108
      #4  buf_read_page_low (err=0xffff800107f06e0c, space=0x1000237fa08, sync=true, mode=132, page_id=..., zip_size=0, unzip=false) at ./storage/innobase/buf/buf0rea.cc:302
      #5  0x0000010000db41f4 in buf_read_page (page_id=..., zip_size=0) at ./storage/innobase/buf/buf0rea.cc:470
      #6  0x0000010000da1468 in buf_page_get_low (page_id=..., zip_size=0, rw_latch=2, guess=0x0, mode=10, mtr=0xffff800107f079e8, err=<optimized out>, allow_ibuf_merge=<optimized out>) at ./storage/innobase/buf/buf0buf.cc:2596
      #7  0x0000010000d47d3c in trx_rsegf_get (space=<optimized out>, space=<optimized out>, mtr=0xffff800107f079e8, page_no=<optimized out>) at ./storage/innobase/include/trx0rseg.inl:43
      #8  trx_purge_add_undo_to_history (trx=0xffff800107808230, undo=@0xffff8001078091e0: 0xffff8001501fc3b8, mtr=0xffff800107f079e8) at ./storage/innobase/trx/trx0purge.cc:234
      #9  0x0000010000d60ff8 in trx_write_serialisation_history (trx=0xffff800107808230, mtr=0xffff800107f079e8) at ./storage/innobase/trx/trx0trx.cc:1049
      #10 0x0000010000d612a0 in trx_t::commit_low (this=0xffff800107808230, mtr=0xffff800107f079e8) at ./storage/innobase/trx/trx0trx.cc:1424
      #11 0x0000010000d61388 in trx_t::commit_persist (this=0xffff800107808230) at ./storage/innobase/trx/trx0trx.cc:1462
      #12 0x0000010000de128c in trx_t::commit (this=0xffff800107808230, deleted=std::vector of length 0, capacity 0) at ./storage/innobase/dict/drop.cc:233
      #13 0x0000010000c80aa0 in ha_innobase::commit_inplace_alter_table (this=<optimized out>, altered_table=0xffff800107f08458, ha_alter_info=0xffff800107f08398, commit=<optimized out>) at ./storage/innobase/handler/handler0alter.cc:11147
      #14 0x0000010000997ba8 in handler::ha_commit_inplace_alter_table (this=0xffff800150b36f40, altered_table=0xffff800107f08458, ha_alter_info=0xffff800107f08398, commit=<optimized out>) at ./sql/handler.cc:5197
      #15 0x0000010000814204 in mysql_inplace_alter_table (target_mdl_request=0xffff800107f08d10, alter_ctx=0xffff800107f09e58, trigger_param=0xffff800107f08828, ddl_log_state=0xffff800107f08340, ha_alter_info=0xffff800107f08398, altered_table=0xffff800107f08458, table=0xffff800150036c38, table_list=0xffff800150010a20, thd=0xffff800150000c58) at ./sql/sql_table.cc:7469
      #16 mysql_alter_table (thd=0xffff800150000c58, new_db=<optimized out>, new_name=<optimized out>, create_info=<optimized out>, table_list=<optimized out>, alter_info=<optimized out>, order_num=<optimized out>, order=<optimized out>, ignore=<optimized out>, if_exists=<optimized out>) at ./sql/sql_table.cc:10266
      #17 0x0000010000774afc in mysql_execute_command (thd=0xffff800150000c58, is_called_from_prepared_stmt=<optimized out>) at ./sql/sql_parse.cc:4210
      #18 0x0000010000778990 in mysql_parse (thd=0xffff800150000c58, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at ./sql/sql_parse.cc:8029
      #19 0x000001000077b0fc in dispatch_command (command=<optimized out>, thd=0xffff800150000c58, packet=0xffff8001500084b9 "create index idx1 on t1(a)", packet_length=<optimized out>, blocking=<optimized out>) at ./sql/sql_parse.cc:1896
      #20 0x000001000077c494 in do_command (thd=0xffff800150000c58, blocking=<optimized out>) at ./sql/sql_parse.cc:1404
      #21 0x0000010000871408 in do_handle_one_connection (connect=<optimized out>, put_in_cache=<optimized out>) at ./sql/sql_connect.cc:1418
      #22 0x0000010000871860 in handle_one_connection (arg=<optimized out>) at ./sql/sql_connect.cc:1312
      #23 0x0000010000bb66b8 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201
      #24 0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #25 0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 15 (Thread 0xffff800100037780 (LWP 3925231)):
      #0  0xffff8001018d8398 in poll () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0x00000100006b3bb4 in poll (__timeout=-1, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/sparc64-linux-gnu/bits/poll2.h:47
      #2  handle_connections_sockets () at ./sql/mysqld.cc:6118
      #3  0x00000100006b4c0c in mysqld_main (argc=<optimized out>, argv=<optimized out>) at ./sql/mysqld.cc:5823
      #4  0xffff800101817cfc in __libc_start_main () from /lib/sparc64-linux-gnu/libc.so.6
      #5  0x00000100006a79b0 in _start () at ./sql/sql_list.h:159
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 14 (Thread 0xffff800112e13870 (LWP 3925508)):
      #0  0xffff8001018deac0 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0x0000010000d43efc in srw_mutex_impl<false>::wait (lk=<optimized out>, this=0x10001728448 <dict_sys+72>) at ./storage/innobase/sync/srw_lock.cc:362
      #2  srw_mutex_impl<false>::wait_and_lock (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/sync/srw_lock.cc:476
      #3  0x0000010000d446dc in srw_mutex_impl<false>::wr_lock (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/include/srw_lock.h:80
      #4  ssux_lock_impl<false>::rd_wait (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/sync/srw_lock.cc:538
      #5  0x0000010000d44830 in ssux_lock_impl<false>::rd_lock (this=<optimized out>) at ./storage/innobase/include/srw_lock.h:216
      #6  srw_lock_impl<false>::psi_rd_lock (this=0x10001728440 <dict_sys+64>, file=0x1000110ba00 "./storage/innobase/dict/dict0dict.cc", line=<optimized out>) at ./storage/innobase/sync/srw_lock.cc:596
      #7  0x0000010000dc4448 in dict_table_open_on_id (table_id=51, dict_locked=<optimized out>, table_op=<optimized out>, thd=0xffff80011c009578, mdl=0xffff800112e12848) at ./storage/innobase/dict/dict0dict.cc:834
      #8  0x0000010000ddf190 in dict_stats_process_entry_from_recalc_pool (thd=0xffff80011c009578) at ./storage/innobase/dict/dict0stats_bg.cc:310
      #9  dict_stats_func () at ./storage/innobase/dict/dict0stats_bg.cc:401
      #10 0x0000010000e38a94 in tpool::thread_pool_generic::timer_generic::run (this=0x100023cc140) at ./tpool/tpool_generic.cc:313
      #11 tpool::thread_pool_generic::timer_generic::execute (arg=0x100023cc140) at ./tpool/tpool_generic.cc:332
      #12 0x0000010000e39ae0 in tpool::task::execute (this=0x100023cc180) at ./tpool/task.cc:37
      #13 tpool::task::execute (this=0x100023cc180) at ./tpool/task.cc:27
      #14 0x0000010000e38818 in tpool::thread_pool_generic::worker_main (this=0x10002281330, thread_var=0x10002290f50) at ./tpool/tpool_generic.cc:549
      #15 0x0000010000e388c4 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=@0xffff800108000c50: 0x10002281330, __f=@0xffff800108000c58: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:71
      #16 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0xffff800108000c58: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:96
      #17 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=0xffff800108000c48) at /usr/include/c++/11/bits/std_thread.h:253
      #18 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0xffff800108000c48) at /usr/include/c++/11/bits/std_thread.h:260
      #19 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=0xffff800108000c40) at /usr/include/c++/11/bits/std_thread.h:211
      #20 0xffff8001013db110 in ?? () from /usr/lib/sparc64-linux-gnu/libstdc++.so.6
      #21 0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #22 0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 13 (Thread 0xffff80012d003870 (LWP 3925522)):
      #0  0xffff8001018deac0 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0x0000010000d43efc in srw_mutex_impl<false>::wait (lk=<optimized out>, this=0x10001728448 <dict_sys+72>) at ./storage/innobase/sync/srw_lock.cc:362
      #2  srw_mutex_impl<false>::wait_and_lock (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/sync/srw_lock.cc:476
      #3  0x0000010000d44ce8 in srw_mutex_impl<false>::wr_lock (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/include/srw_lock.h:80
      #4  ssux_lock_impl<false>::wr_lock (this=0x10001728448 <dict_sys+72>) at ./storage/innobase/include/srw_lock.h:226
      #5  srw_lock_impl<false>::psi_wr_lock (this=0x10001728440 <dict_sys+64>, file=0x1000110ba00 "./storage/innobase/dict/dict0dict.cc", line=<optimized out>) at ./storage/innobase/sync/srw_lock.cc:613
      #6  0x0000010000dc0ef4 in srw_lock_impl<false>::wr_lock (line=1300, file=0x1000110ba00 "./storage/innobase/dict/dict0dict.cc", this=0x10001728440 <dict_sys+64>) at ./storage/innobase/include/srw_lock.h:496
      #7  dict_sys_t::lock_wait (this=0x10001728400 <dict_sys>, file=0x1000110ba00 "./storage/innobase/dict/dict0dict.cc", line=<optimized out>) at ./storage/innobase/dict/dict0dict.cc:961
      #8  0x0000010000dc67b0 in dict_sys_t::lock (line=1300, file=0x1000110ba00 "./storage/innobase/dict/dict0dict.cc", this=0x10001728400 <dict_sys>) at ./storage/innobase/include/dict0dict.h:1571
      #9  dict_sys_t::evict_table_LRU (this=0x10001728400 <dict_sys>, half=<optimized out>) at ./storage/innobase/dict/dict0dict.cc:1300
      #10 0x0000010000d40928 in srv_master_do_idle_tasks (counter_time=4482683420270) at ./storage/innobase/srv/srv0srv.cc:1603
      #11 srv_master_callback () at ./storage/innobase/srv/srv0srv.cc:1661
      #12 0x0000010000e38a94 in tpool::thread_pool_generic::timer_generic::run (this=0x100023cd480) at ./tpool/tpool_generic.cc:313
      #13 tpool::thread_pool_generic::timer_generic::execute (arg=0x100023cd480) at ./tpool/tpool_generic.cc:332
      #14 0x0000010000e39ae0 in tpool::task::execute (this=0x100023cd4c0) at ./tpool/task.cc:37
      #15 tpool::task::execute (this=0x100023cd4c0) at ./tpool/task.cc:27
      #16 0x0000010000e38818 in tpool::thread_pool_generic::worker_main (this=0x10002281330, thread_var=0x10002290d50) at ./tpool/tpool_generic.cc:549
      #17 0x0000010000e388c4 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=@0xffff800120000e90: 0x10002281330, __f=@0xffff800120000e98: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:71
      #18 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0xffff800120000e98: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:96
      #19 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=0xffff800120000e88) at /usr/include/c++/11/bits/std_thread.h:253
      #20 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0xffff800120000e88) at /usr/include/c++/11/bits/std_thread.h:260
      #21 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=0xffff800120000e80) at /usr/include/c++/11/bits/std_thread.h:211
      #22 0xffff8001013db110 in ?? () from /usr/lib/sparc64-linux-gnu/libstdc++.so.6
      #23 0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #24 0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 12 (Thread 0xffff80012c801870 (LWP 3925515)):
      #0  0xffff8001018deac0 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0x0000010000d43e68 in srw_mutex_impl<true>::wait (lk=<optimized out>, this=0x10001722008 <trx_sys+30216>) at ./storage/innobase/sync/srw_lock.cc:362
      #2  srw_mutex_impl<true>::wait_and_lock (this=0x10001722008 <trx_sys+30216>) at ./storage/innobase/sync/srw_lock.cc:445
      #3  0x0000010000d445fc in srw_mutex_impl<true>::wr_lock (this=0x10001722008 <trx_sys+30216>) at ./storage/innobase/include/srw_lock.h:80
      #4  ssux_lock_impl<true>::rd_wait (this=0x10001722008 <trx_sys+30216>) at ./storage/innobase/sync/srw_lock.cc:538
      #5  0x0000010000d5bc90 in ssux_lock_impl<true>::rd_lock (this=0x10001722008 <trx_sys+30216>) at ./storage/innobase/include/srw_lock.h:216
      #6  trx_sys_t::history_size (this=0x1000171aa00 <trx_sys>) at ./storage/innobase/trx/trx0sys.cc:215
      #7  0x0000010000d419d0 in purge_coordinator_state::do_purge (this=0x10002031f80 <purge_state>) at ./storage/innobase/srv/srv0srv.cc:1759
      #8  0x0000010000d4155c in purge_coordinator_callback () at ./storage/innobase/srv/srv0srv.cc:1966
      #9  0x0000010000e3992c in tpool::task_group::execute (this=0x10002031d98 <purge_coordinator_task_group>, t=0x10002031d10 <purge_coordinator_task>) at ./tpool/task_group.cc:55
      #10 0x0000010000e38818 in tpool::thread_pool_generic::worker_main (this=0x10002281330, thread_var=0x10002290dd0) at ./tpool/tpool_generic.cc:549
      #11 0x0000010000e388c4 in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=@0x1000237fc00: 0x10002281330, __f=@0x1000237fc08: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:71
      #12 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=@0x1000237fc08: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x10000e387b0 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>) at /usr/include/c++/11/bits/invoke.h:96
      #13 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=0x1000237fbf8) at /usr/include/c++/11/bits/std_thread.h:253
      #14 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=0x1000237fbf8) at /usr/include/c++/11/bits/std_thread.h:260
      #15 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=0x1000237fbf0) at /usr/include/c++/11/bits/std_thread.h:211
      #16 0xffff8001013db110 in ?? () from /usr/lib/sparc64-linux-gnu/libstdc++.so.6
      #17 0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #18 0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 11 (LWP 3927203):
      #0  0x0000000000000000 in ?? ()
       
      Thread 10 (LWP 3926892):
      #0  0x0000000000000000 in ?? ()
       
      Thread 9 (Thread 0xffff800107e70870 (LWP 3925519)):
      #0  0xffff80010182fc40 in sigtimedwait () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0x00000100006aa680 in my_sigwait (code=<synthetic pointer>, sig=0xffff800107e6fa28, set=0xffff800107e6fa30) at ./include/my_pthread.h:195
      #2  signal_hand (arg=<optimized out>) at ./sql/mysqld.cc:3116
      #3  0x0000010000bb66b8 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201
      #4  0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 8 (LWP 3925517):
      #0  0x0000000000000000 in ?? ()
       
      Thread 7 (LWP 3927142):
      #0  0x0000000000000000 in ?? ()
       
      Thread 6 (Thread 0xffff800110801870 (LWP 3925286)):
      #0  0xffff8001018deac0 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff80010047626c in ?? () from /usr/lib/sparc64-linux-gnu/liburing.so.2
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 5 (Thread 0xffff800111a03870 (LWP 3925288)):
      #0  0xffff8001010f1890 in __futex_abstimed_wait_common64 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0xffff8001010ea52c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #2  0x0000010000dad974 in buf_flush_page_cleaner () at ./storage/innobase/buf/buf0flu.cc:2188
      #3  0x0000010000daefc0 in std::__invoke_impl<void, void (*)()> (__f=@0x1000237f878: 0x10000dad4d4 <buf_flush_page_cleaner()>) at /usr/include/c++/11/bits/invoke.h:60
      #4  std::__invoke<void (*)()> (__fn=@0x1000237f878: 0x10000dad4d4 <buf_flush_page_cleaner()>) at /usr/include/c++/11/bits/invoke.h:96
      #5  std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul> (this=0x1000237f878) at /usr/include/c++/11/bits/std_thread.h:253
      #6  std::thread::_Invoker<std::tuple<void (*)()> >::operator() (this=0x1000237f878) at /usr/include/c++/11/bits/std_thread.h:260
      #7  std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run (this=0x1000237f870) at /usr/include/c++/11/bits/std_thread.h:211
      #8  0xffff8001013db110 in ?? () from /usr/lib/sparc64-linux-gnu/libstdc++.so.6
      #9  0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #10 0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 4 (Thread 0xffff800107ebe870 (LWP 3925529)):
      #0  0xffff8001010f1890 in __futex_abstimed_wait_common64 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0xffff8001010ea52c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #2  0x00000100006758e4 in psi_cond_wait (that=0x100017aa9b8 <COND_manager>, mutex=0x100017aa9f0 <LOCK_manager>, file=0x10000f4d3c0 "./sql/sql_manager.cc", line=<optimized out>) at ./mysys/my_thr_init.c:596
      #3  0x00000100007689d4 in inline_mysql_cond_wait (that=<optimized out>, mutex=<optimized out>, src_file=<optimized out>, src_line=<optimized out>) at ./include/mysql/psi/mysql_thread.h:1070
      #4  handle_manager (arg=<optimized out>) at ./sql/sql_manager.cc:103
      #5  0x0000010000bb66b8 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201
      #6  0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #7  0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 3 (Thread 0xffff800107805870 (LWP 3925285)):
      #0  0xffff8001010f1890 in __futex_abstimed_wait_common64 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0xffff8001010ea8a0 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #2  0x000001000067595c in psi_cond_timedwait (that=0x10001fdb4f8 <COND_checkpoint>, mutex=0x10001fdb530 <LOCK_checkpoint>, abstime=0xffff800107804a60, file=0x100010a11b8 "./storage/maria/ma_servicethread.c", line=<optimized out>) at ./mysys/my_thr_init.c:609
      #3  0x0000010000b541fc in inline_mysql_cond_timedwait (src_file=0x100010a11b8 "./storage/maria/ma_servicethread.c", src_line=115, abstime=0xffff800107804a60, mutex=<optimized out>, that=<optimized out>) at ./include/mysql/psi/mysql_thread.h:1086
      #4  my_service_thread_sleep (control=0x1000170ea98 <checkpoint_control>, sleep_time=<optimized out>) at ./storage/maria/ma_servicethread.c:115
      #5  0x0000010000b4bd14 in ma_checkpoint_background (arg=0x1e) at ./storage/maria/ma_checkpoint.c:725
      #6  0x0000010000bb66b8 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201
      #7  0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #8  0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 2 (Thread 0xffff8001001c5870 (LWP 3925276)):
      #0  0xffff8001010f1890 in __futex_abstimed_wait_common64 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0xffff8001010ea8a0 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #2  0x000001000067595c in psi_cond_timedwait (that=0x10002079e40 <COND_timer>, mutex=0x10002079e78 <LOCK_timer>, abstime=0xffff8001001c4b40, file=0x1000111c550 "./mysys/thr_timer.c", line=<optimized out>) at ./mysys/my_thr_init.c:609
      #3  0x0000010000e9c768 in inline_mysql_cond_timedwait (that=0x10002079e40 <COND_timer>, mutex=0x10002079e78 <LOCK_timer>, src_file=0x1000111c550 "./mysys/thr_timer.c", src_line=321, abstime=0xffff8001001c4b40) at ./include/mysql/psi/mysql_thread.h:1086
      #4  timer_handler (arg=<optimized out>) at ./mysys/thr_timer.c:321
      #5  0x0000010000bb66b8 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201
      #6  0xffff8001010e3494 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #7  0xffff8001018e2adc in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 1 (Thread 0xffff800112611870 (LWP 3925507)):
      #0  0xffff8001010ebfcc in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x000001000098d94c in handle_fatal_signal (sig=<optimized out>) at ./sql/signal_handler.cc:345
      Backtrace stopped: Cannot access memory at address 0xf0
       
      Compressed file /<<PKGBUILDDIR>>/builddir/mysql-test/var/9/log/main.implicit_commit-innodb/mysqld.1/data/core
       - saving '/<<PKGBUILDDIR>>/builddir/mysql-test/var/9/log/main.implicit_commit-innodb/' to '/<<PKGBUILDDIR>>/builddir/mysql-test/var/log/main.implicit_commit-innodb/'
      

      Full log at https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=sparc64&ver=1%3A10.6.7-3&stamp=1647029566&raw=0

      This might be related to:

      • uring on sparc64? log has warning about anon_inode:[io_uring]
      • slow builder? value might be to small for innodb_fatal_semaphore_wait_threshold
      • something else in sparc64, e.g. MDEV-27954

      Filed in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007219

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              otto Otto Kekäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.