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

Signal 11 on TABLE_LIST::placeholder()

    XMLWordPrintable

    Details

      Description

      • How to repeat: ./mtr --suite=wsrep,galera,galera_sr,galera_3nodes,sys_vars --force --parallel=8 --big-test
      • Test case failing mostly: galera_kill_ddl

        Thread 1 (Thread 0x7f6a6036f640 (LWP 1489249)):
        #0  __pthread_kill (threadid=<optimized out>, signo=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:54
        #1  0x0000558300cf461c in my_write_core (sig=11) at /home/jan/mysql/10.4/mysys/stacktrace.c:386
        #2  0x000055830043e49c in handle_fatal_signal (sig=11) at /home/jan/mysql/10.4/sql/signal_handler.cc:344
        #3  <signal handler called>
        #4  0x0000558300041066 in TABLE_LIST::placeholder (this=0x8f8f8f8f8f8f8f8f) at /home/jan/mysql/10.4/sql/table.h:2627
        #5  0x0000558300035dbf in mark_real_tables_as_free_for_reuse (table_list=0x8f8f8f8f8f8f8f8f) at /home/jan/mysql/10.4/sql/sql_base.cc:5460
        #6  0x00005583000365a0 in lock_tables (thd=0x7f6a48000d90, tables=0x7f6a6036ca10, count=1, flags=2059) at /home/jan/mysql/10.4/sql/sql_base.cc:5625
        #7  0x000055830003592a in open_and_lock_tables (thd=0x7f6a48000d90, options=..., tables=0x7f6a6036ca10, derived=false, flags=2059, prelocking_strategy=0x7f6a6036c988) at /home/jan/mysql/10.4/sql/sql_base.cc:5322
        #8  0x0000558300029ff3 in open_and_lock_tables (thd=0x7f6a48000d90, tables=0x7f6a6036ca10, derived=false, flags=2059, prelocking_strategy=0x7f6a6036c988) at /home/jan/mysql/10.4/sql/sql_base.h:270
        #9  0x0000558300035124 in open_n_lock_single_table (thd=0x7f6a48000d90, table_l=0x7f6a6036ca10, lock_type=TL_READ, flags=2059, prelocking_strategy=0x7f6a6036c988) at /home/jan/mysql/10.4/sql/sql_base.cc:5156
        #10 0x00005583001ddbc6 in open_n_lock_single_table (thd=0x7f6a48000d90, table_l=0x7f6a6036ca10, lock_type=TL_READ, flags=2059) at /home/jan/mysql/10.4/sql/sql_base.h:482
        #11 0x000055830035db80 in Wsrep_schema_impl::open_table (thd=0x7f6a48000d90, schema_name=0x7f6a6036d120, table_name=0x7f6a6036d130, lock_type=TL_READ, table=0x7f6a6036d190) at /home/jan/mysql/10.4/sql/wsrep_schema.cc:234
        #12 0x000055830035e74d in Wsrep_schema_impl::open_for_read (thd=0x7f6a48000d90, table_name=0x5583018818b0 <cluster_table_str+16> "wsrep_cluster", table=0x7f6a6036d190) at /home/jan/mysql/10.4/sql/wsrep_schema.cc:409
        #13 0x000055830035fc82 in Wsrep_schema::restore_view (this=0x558303b7a6a0, thd=0x7f6a48000d90, own_id=...) at /home/jan/mysql/10.4/sql/wsrep_schema.cc:783
        #14 0x0000558300670cac in Wsrep_server_service::log_view (this=0x558303721220, high_priority_service=0x7f6a6036eca0, view=...) at /home/jan/mysql/10.4/sql/wsrep_server_service.cc:214
        #15 0x0000558300d7662e in wsrep::server_state::on_view (this=0x558303720f50, view=..., high_priority_service=0x7f6a6036eca0) at /home/jan/mysql/10.4/wsrep-lib/src/server_state.cpp:1071
        #16 0x0000558300d8e26b in (anonymous namespace)::view_cb (app_ctx=0x558303720f50, recv_ctx=0x7f6a6036eca0, view_info=0x7f6a48036f10) at /home/jan/mysql/10.4/wsrep-lib/src/wsrep_provider_v26.cpp:399
        #17 0x00007f6a605691fd in galera::ReplicatorSMM::submit_view_info (this=<optimized out>, recv_ctx=<optimized out>, view_info=<optimized out>) at /home/jan/mysql/mariadb-galeralib/galera/src/replicator_smm.cpp:2426
        #18 0x00007f6a6056923d in galera::ReplicatorSMM::submit_ordered_view_info (this=0x558303754a70, recv_ctx=<optimized out>, view_info=<optimized out>) at /home/jan/mysql/mariadb-galeralib/galera/src/replicator_smm.cpp:2817
        #19 0x00007f6a60577ad9 in galera::ReplicatorSMM::process_prim_conf_change (this=0x558303754a70, recv_ctx=0x7f6a6036eca0, conf=..., my_index=<optimized out>, cc_buf=<optimized out>) at /home/jan/mysql/mariadb-galeralib/galera/src/replicator_smm.cpp:3008
        #20 0x00007f6a60577d24 in galera::ReplicatorSMM::process_conf_change (this=0x558303754a70, recv_ctx=0x7f6a6036eca0, cc=...) at /home/jan/mysql/mariadb-galeralib/galera/src/replicator_smm.cpp:2456
        #21 0x00007f6a605a8188 in galera::GcsActionSource::dispatch (this=<optimized out>, recv_ctx=<optimized out>, act=..., exit_loop=<optimized out>) at /home/jan/mysql/mariadb-galeralib/galera/src/gcs_action_source.cpp:125
        #22 0x00007f6a605a8322 in galera::GcsActionSource::process (this=0x558303786940, recv_ctx=0x7f6a6036eca0, exit_loop=@0x7f6a6036e87f: false) at /home/jan/mysql/mariadb-galeralib/galera/src/gcs_action_source.cpp:183
        #23 0x00007f6a60573df0 in galera::ReplicatorSMM::async_recv (this=0x558303754a70, recv_ctx=0x7f6a6036eca0) at /home/jan/mysql/mariadb-galeralib/galera/src/replicator_smm.cpp:390
        #24 0x00007f6a6054a5a1 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /home/jan/mysql/mariadb-galeralib/galera/src/wsrep_provider.cpp:236
        #25 0x0000558300d8f930 in wsrep::wsrep_provider_v26::run_applier (this=0x5583035f36e0, applier_ctx=0x7f6a6036eca0) at /home/jan/mysql/10.4/wsrep-lib/src/wsrep_provider_v26.cpp:743
        #26 0x0000558300359c7c in wsrep_replication_process (thd=0x7f6a48000d90, arg=0x55830379b300) at /home/jan/mysql/10.4/sql/wsrep_thd.cc:58
        #27 0x000055830034b7c8 in start_wsrep_THD (arg=0x55830379b300) at /home/jan/mysql/10.4/sql/wsrep_mysqld.cc:2863
        #28 0x0000558300c80240 in pfs_spawn_thread (arg=0x558303778780) at /home/jan/mysql/10.4/storage/perfschema/pfs.cc:1869
        #29 0x00007f6a65f35590 in start_thread (arg=0x7f6a6036f640) at pthread_create.c:463
        #30 0x00007f6a656e3223 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              jplindst Jan Lindström
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration