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

Galera node crashes when restarting the node with --innodb-force-recovery=6

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.3, 10.4, 10.5, 10.6
    • N/A
    • Galera

    Description

      Galera node crashes when restarting the node with --innodb-force-recovery=6

      10.6.3 82fe83a34c26b88338f7dae638566f6f3a6e84ac (Optimized)

      Core was generated by `/test/GAL_MD240621-mariadb-10.6.3-linux-x86_64-opt/bin/mysqld --defaults-file=/'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=11)
          at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      [Current thread is 1 (Thread 0x14fddafb1700 (LWP 75713))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x0000556c64c40aaf in my_write_core (sig=sig@entry=11) at /test/10.6_opt/mysys/stacktrace.c:424
      #2  0x0000556c646bf9f0 in handle_fatal_signal (sig=11) at /test/10.6_opt/sql/signal_handler.cc:344
      #3  <signal handler called>
      #4  0x0000556c64add2f3 in trx_rseg_update_wsrep_checkpoint (xid=0x14fddafaf630, mtr=0x14fddafaf000) at /test/10.6_opt/storage/innobase/trx/trx0rseg.cc:135
      #5  0x0000556c64addd8d in trx_rseg_update_wsrep_checkpoint (xid=xid@entry=0x14fddafaf630) at /test/10.6_opt/storage/innobase/trx/trx0rseg.cc:176
      #6  0x0000556c649d3b58 in innobase_wsrep_set_checkpoint (hton=<optimized out>, xid=0x14fddafaf630) at /test/10.6_opt/storage/innobase/handler/ha_innodb.cc:18447
      #7  innobase_wsrep_set_checkpoint (hton=<optimized out>, xid=0x14fddafaf630) at /test/10.6_opt/storage/innobase/handler/ha_innodb.cc:18438
      #8  0x0000556c649a2b6a in set_SE_checkpoint (unused=<optimized out>, plugin=<optimized out>, arg=0x14fddafaf630) at /test/10.6_opt/sql/wsrep_xid.cc:127
      #9  0x0000556c644ae656 in plugin_foreach_with_mask (thd=thd@entry=0x0, func=func@entry=0x556c649a2af0 <set_SE_checkpoint(THD*, plugin_ref, void*)>, type=type@entry=1, state_mask=state_mask@entry=8, arg=arg@entry=0x14fddafaf630) at /test/10.6_opt/sql/sql_plugin.cc:2510
      #10 0x0000556c649a2cbf in wsrep_set_SE_checkpoint (xid=@0x14fddafaf630: {formatID = 1, gtrid_length = 48, bqual_length = 0, data = "WSREPXif", '\000' <repeats 16 times>, "\377\377\377\377\377\377\377\377", '\000' <repeats 95 times>}) at /test/10.6_opt/sql/wsrep_xid.cc:134
      #11 0x0000556c649a2cfd in wsrep_set_SE_checkpoint (wsgtid=@0x556c65eb3aa0: {static undefined_ = {static undefined_ = <same as static member of an already seen type>, id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, data_ = {buf = '\000' <repeats 15 times>}}, data_ = {buf = '\000' <repeats 15 times>}}, seqno_ = {seqno_ = -1}}, id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, data_ = {buf = '\000' <repeats 15 times>}}, data_ = {buf = '\000' <repeats 15 times>}}, seqno_ = {seqno_ = -1}}, gtid=<optimized out>) at /test/10.6_opt/sql/wsrep_xid.cc:142
      #12 0x0000556c649c1d66 in Wsrep_server_service::bootstrap (this=<optimized out>) at /test/10.6_opt/wsrep-lib/include/wsrep/gtid.hpp:56
      #13 0x0000556c64d8d35f in wsrep::server_state::on_primary_view (this=0x556c66f93cd0, view=<optimized out>, high_priority_service=0x14fddafb0d00) at /test/10.6_opt/wsrep-lib/src/server_state.cpp:973
      #14 0x0000556c64d8eb7a in wsrep::server_state::on_view (this=this@entry=0x556c66f93cd0, view=@0x14fddafafb40: {state_id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, data_ = {buf = '\000' <repeats 15 times>}}, data_ = {buf = '\000' <repeats 15 times>}}, seqno_ = {seqno_ = -1}}, id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, data_ = {buf = '\000' <repeats 15 times>}}, data_ = {buf = "[\314ܗ\332\064\021떇\227Q\300Vgz"}}, seqno_ = {seqno_ = 5}}, view_seqno_ = {seqno_ = 1}, status_ = wsrep::view::primary, capabilities_ = 184703, own_index_ = 0, protocol_version_ = 4, members_ = std::vector of length 1, capacity 1 = {{id_ = {static undefined_ = {static undefined_ = <same as static member of an already seen type>, data_ = {buf = '\000' <repeats 15 times>}}, data_ = {buf = "\240\350O+\332\064\021닚\002\033f\335", <incomplete sequence \347>}}, name_ = "ramesh", incoming_ = "127.0.0.1"}}}, high_priority_service=high_priority_service@entry=0x14fddafb0d00) at /test/10.6_opt/wsrep-lib/src/server_state.cpp:1056
      #15 0x0000556c64d9d742 in (anonymous namespace)::view_cb (app_ctx=0x556c66f93cd0, recv_ctx=0x14fddafb0d00, view_info=<optimized out>) at /test/10.6_opt/wsrep-lib/src/wsrep_provider_v26.cpp:401
      #16 0x000014fde936e16d in galera::ReplicatorSMM::submit_view_info (this=<optimized out>, recv_ctx=<optimized out>, view_info=<optimized out>) at /test/10.6_galera_opt/galera/src/replicator_smm.cpp:2426
      #17 0x000014fde936e1ad in galera::ReplicatorSMM::submit_ordered_view_info (this=0x556c66fc9e80, recv_ctx=<optimized out>, view_info=<optimized out>) at /test/10.6_galera_opt/galera/src/replicator_smm.cpp:2817
      #18 0x000014fde937c959 in galera::ReplicatorSMM::process_prim_conf_change (this=0x556c66fc9e80, recv_ctx=0x14fddafb0d00, conf=<optimized out>, my_index=<optimized out>, cc_buf=<optimized out>) at /test/10.6_galera_opt/galera/src/replicator_smm.cpp:3008
      #19 0x000014fde937cba4 in galera::ReplicatorSMM::process_conf_change (this=0x556c66fc9e80, recv_ctx=0x14fddafb0d00, cc=@0x14fddafb0720: {seqno_g = 0, seqno_l = 1, buf = 0x14fddbfff9c0, size = 128, type = GCS_ACT_CCHANGE}) at /test/10.6_galera_opt/galera/src/replicator_smm.cpp:2456
      #20 0x000014fde93acbb8 in galera::GcsActionSource::dispatch (this=<optimized out>, recv_ctx=<optimized out>, act=@0x14fddafb0720: {seqno_g = 0, seqno_l = 1, buf = 0x14fddbfff9c0, size = 128, type = GCS_ACT_CCHANGE}, exit_loop=<optimized out>) at /test/10.6_galera_opt/galera/src/gcs_action_source.cpp:125
      #21 0x000014fde93acd52 in galera::GcsActionSource::process (this=0x556c66fd4ba0, recv_ctx=0x14fddafb0d00, exit_loop=@0x14fddafb092f: false) at /test/10.6_galera_opt/galera/src/gcs_action_source.cpp:183
      #22 0x000014fde9378d10 in galera::ReplicatorSMM::async_recv (this=0x556c66fc9e80, recv_ctx=0x14fddafb0d00) at /test/10.6_galera_opt/galera/src/replicator_smm.cpp:390
      #23 0x000014fde9350251 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/10.6_galera_opt/galera/src/wsrep_provider.cpp:236
      #24 0x0000556c64d9b6c2 in wsrep::wsrep_provider_v26::run_applier (this=<optimized out>, applier_ctx=<optimized out>) at /test/10.6_opt/wsrep-lib/src/wsrep_provider_v26.cpp:796
      #25 0x0000556c649b9c57 in wsrep_replication_process (thd=0x14fdc4000c58, arg=<optimized out>) at /test/10.6_opt/wsrep-lib/include/wsrep/server_state.hpp:308
      #26 0x0000556c649aa3f3 in start_wsrep_THD (arg=arg@entry=0x556c6701a7c0) at /test/10.6_opt/sql/wsrep_mysqld.h:579
      #27 0x0000556c6493a1ad in pfs_spawn_thread (arg=0x556c66fef5c8) at /test/10.6_opt/storage/perfschema/pfs.cc:2201
      #28 0x000014fde9dd8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #29 0x000014fde99c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Activity

          People

            janlindstrom Jan Lindström
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.