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

SIGABRT in galera::Monitor<galera::ReplicatorSMM::ApplyOrder>::~Monitor

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6
    • 10.6
    • Galera
    • None

    Description

      The crash is from galera multi-thread pquery run.

      10.6.12-7 fa3ad2467b53a06c50b0329fbaf2e59d28085370 (Debug)

      Core was generated by `/test/GAL_EMD140223-mariadb-10.6.12-7-linux-x86_64-opt/bin/mysqld --defaults-fi'.
      Program terminated with signal SIGABRT, Aborted.
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
          at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      [Current thread is 1 (Thread 0x14da0a103700 (LWP 69216))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x00005612548864af in my_write_core (sig=sig@entry=6) at /test/10.6_opt/mysys/stacktrace.c:424
      #2  0x00005612543c8f80 in handle_fatal_signal (sig=6) at /test/10.6_opt/sql/signal_handler.cc:357
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x000014da92e9f859 in __GI_abort () at abort.c:79
      #6  0x000014da9325c911 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #7  0x000014da9326838c in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #8  0x000014da932683f7 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #9  0x000014da911ba221 in gu::Mutex::~Mutex (this=<optimized out>, __in_chrg=<optimized out>) at /test/galera_4x/galerautils/src/gu_throw.hpp:26
      #10 0x000014da911dcf56 in galera::Monitor<galera::ReplicatorSMM::ApplyOrder>::~Monitor (this=0x56125752d9d8, __in_chrg=<optimized out>) at /test/galera_4x/galerautils/src/gu_logger.hpp:96
      #11 galera::ReplicatorSMM::~ReplicatorSMM (this=0x56125752c730, __in_chrg=<optimized out>) at /test/galera_4x/galera/src/replicator_smm.cpp:290
      #12 0x000014da911dda3d in galera::ReplicatorSMM::~ReplicatorSMM (this=0x56125752c730, __in_chrg=<optimized out>) at /test/galera_4x/galera/src/replicator_smm.cpp:290
      #13 0x000014da911abf1a in galera_tear_down (gh=0x561257516bc0) at /test/galera_4x/galera/src/wsrep_provider.cpp:99
      #14 0x0000561254a1387b in wsrep::wsrep_provider_v26::~wsrep_provider_v26 (this=0x5612575147f0, __in_chrg=<optimized out>) at /test/10.6_opt/wsrep-lib/src/wsrep_provider_v26.cpp:799
      #15 0x0000561254a138b6 in wsrep::wsrep_provider_v26::~wsrep_provider_v26 (this=0x5612575147f0, __in_chrg=<optimized out>) at /test/10.6_opt/wsrep-lib/src/wsrep_provider_v26.cpp:797
      #16 0x00005612549fba82 in wsrep::server_state::unload_provider (this=0x56125750a1a0) at /test/10.6_opt/wsrep-lib/src/server_state.cpp:514
      #17 0x000056125462489c in wsrep_deinit (free_options=free_options@entry=true) at /test/10.6_opt/sql/wsrep_server_state.h:44
      #18 0x00005612540b67a5 in unireg_abort (exit_code=exit_code@entry=1) at /test/10.6_opt/sql/mysqld.cc:1901
      #19 0x000056125461e8ab in Wsrep_replayer_service::~Wsrep_replayer_service (this=0x14da0a101d70, __in_chrg=<optimized out>) at /test/10.6_opt/sql/wsrep_high_priority_service.cc:962
      #20 0x000056125461c00c in Wsrep_client_service::replay (this=0x14d998006f58) at /test/10.6_opt/sql/wsrep_high_priority_service.h:206
      #21 0x0000561254a0cf7a in wsrep::transaction::replay (this=0x14d998006fd8, lock=@0x14da0a102240: {_M_device = 0x14d998006f38, _M_owns = false}) at /test/10.6_opt/wsrep-lib/src/transaction.cpp:2004
      #22 0x0000561254a102e6 in wsrep::transaction::after_statement (this=this@entry=0x14d998006fd8) at /test/10.6_opt/wsrep-lib/src/transaction.cpp:865
      #23 0x00005612549f7102 in wsrep::client_state::after_statement (this=this@entry=0x14d998006f70) at /test/10.6_opt/wsrep-lib/src/client_state.cpp:281
      #24 0x0000561254183fb8 in wsrep_after_statement (thd=0x14d998000c58) at /test/10.6_opt/sql/sql_class.h:5464
      #25 wsrep_after_statement (thd=0x14d998000c58) at /test/10.6_opt/sql/wsrep_trans_observer.h:523
      #26 wsrep_mysql_parse (thd=0x14d998000c58, rawbuf=0x14d998010720 "create table t10(a int not null, b int, primary key(a)) select * from t2 for update", length=83, parser_state=0x14da0a1023f0) at /test/10.6_opt/sql/sql_parse.cc:7890
      #27 0x0000561254191ced in dispatch_command (command=COM_QUERY, thd=0x14d998000c58, packet=<optimized out>, packet_length=<optimized out>, blocking=<optimized out>) at /test/10.6_opt/sql/sql_parse.cc:1986
      #28 0x0000561254192aa8 in do_command (thd=0x14d998000c58, blocking=blocking@entry=true) at /test/10.6_opt/sql/sql_parse.cc:1416
      #29 0x00005612542aa367 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x561257583f58, put_in_cache=put_in_cache@entry=true) at /test/10.6_opt/sql/sql_connect.cc:1416
      #30 0x00005612542aa64d in handle_one_connection (arg=0x561257583f58) at /test/10.6_opt/sql/sql_connect.cc:1318
      #31 0x000014da933b0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #32 0x000014da92f9c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Activity

          People

            teemu.ollakka Teemu Ollakka
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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