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

SIGABRT in wsrep::server_state::state when setting wsrep_cluster_address to DEFAULT

    XMLWordPrintable

    Details

      Description

      source in.sql # in.sql is attached 
      

      Leads to:

      10.8.1 307b2991d61ff6734d858bdb211a88d1c8607a36 (Debug)

      mysqld: /test/10.8_dbg/wsrep-lib/src/server_state.cpp:1347: void wsrep::server_state::state(wsrep::unique_lock<wsrep::mutex>&, wsrep::server_state::state): Assertion `0' failed.
      

      10.8.1 307b2991d61ff6734d858bdb211a88d1c8607a36 (Debug)

      Core was generated by `/test/GAL_MD070222-mariadb-10.8.1-linux-x86_64-dbg/bin/mysqld --defaults-file=/'.
      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 0x147da4f74700 (LWP 305342))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x0000560b015725ed in my_write_core (sig=sig@entry=6) at /test/10.8_dbg/mysys/stacktrace.c:424
      #2  0x0000560b00d58ce3 in handle_fatal_signal (sig=6) at /test/10.8_dbg/sql/signal_handler.cc:345
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x0000147da6829859 in __GI_abort () at abort.c:79
      #6  0x0000147da6829729 in __assert_fail_base (fmt=0x147da69bf588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x560b018e71e7 "0", file=0x560b01cc4800 "/test/10.8_dbg/wsrep-lib/src/server_state.cpp", line=1347, function=<optimized out>) at assert.c:92
      #7  0x0000147da683af36 in __GI___assert_fail (assertion=assertion@entry=0x560b018e71e7 "0", file=file@entry=0x560b01cc4800 "/test/10.8_dbg/wsrep-lib/src/server_state.cpp", line=line@entry=1347, function=function@entry=0x560b01cc4f78 "void wsrep::server_state::state(wsrep::unique_lock<wsrep::mutex>&, wsrep::server_state::state)") at assert.c:101
      #8  0x0000560b016d35bb in wsrep::server_state::state (this=this@entry=0x560b02bdf380, lock=@0x147da4f730e0: {_M_device = 0x560b02bdf668, _M_owns = true}, state=state@entry=wsrep::server_state::s_synced) at /test/10.8_dbg/wsrep-lib/src/server_state.cpp:1347
      #9  0x0000560b016d6fe3 in wsrep::server_state::on_sync (this=0x560b02bdf380) at /test/10.8_dbg/wsrep-lib/src/server_state.cpp:1081
      #10 0x0000560b016e78df in (anonymous namespace)::synced_cb (app_ctx=<optimized out>) at /test/10.8_dbg/wsrep-lib/src/wsrep_provider_v26.cpp:530
      #11 0x0000147da62a4cfb in galera::ReplicatorSMM::process_sync (this=0x560b02c151f0, seqno_l=<optimized out>) at /test/10.4_galera/galera/src/replicator_smm.cpp:3064
      #12 0x0000147da62d8a42 in galera::GcsActionSource::dispatch (this=0x560b02c22600, recv_ctx=0x147da4f73d10, act=@0x147da4f73710: {seqno_g = 0, seqno_l = 11, buf = 0x147d8c002430, size = 8, type = GCS_ACT_SYNC}, exit_loop=<optimized out>) at /test/10.4_galera/galera/src/gcs_action_source.cpp:143
      #13 0x0000147da62d8e62 in galera::GcsActionSource::process (this=0x560b02c22600, recv_ctx=0x147da4f73d10, exit_loop=@0x147da4f7391f: false) at /test/10.4_galera/galera/src/gcs_action_source.cpp:186
      #14 0x0000147da62a37f0 in galera::ReplicatorSMM::async_recv (this=0x560b02c151f0, recv_ctx=0x147da4f73d10) at /test/10.4_galera/galera/src/replicator_smm.cpp:402
      #15 0x0000147da6277e91 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/10.4_galera/galera/src/wsrep_provider.cpp:263
      #16 0x0000560b016ea67a in wsrep::wsrep_provider_v26::run_applier (this=<optimized out>, applier_ctx=<optimized out>) at /test/10.8_dbg/wsrep-lib/src/wsrep_provider_v26.cpp:858
      #17 0x0000560b010d83c3 in wsrep_replication_process (thd=0x147d84000ff8, arg=<optimized out>) at /test/10.8_dbg/sql/wsrep_server_state.h:51
      #18 0x0000560b010c571d in start_wsrep_THD (arg=arg@entry=0x560b02c65ec0) at /test/10.8_dbg/sql/wsrep_mysqld.h:573
      #19 0x0000560b010565dd in pfs_spawn_thread (arg=0x560b02c3eb78) at /test/10.8_dbg/storage/perfschema/pfs.cc:2201
      #20 0x0000147da6d38609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #21 0x0000147da6926293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Bug confirmed present in:
      MariaDB: 10.4.23 (dbg), 10.5.14 (dbg), 10.6.6 (dbg), 10.7.2 (dbg), 10.8.1 (dbg)

      Bug (or feature/syntax) confirmed not present in:
      MariaDB: 10.2.42 (dbg), 10.2.42 (opt), 10.3.33 (dbg), 10.3.33 (opt), 10.4.23 (opt), 10.5.14 (opt), 10.6.6 (opt), 10.7.2 (opt)

        Attachments

          Activity

            People

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