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

Server crashes when starting server with empty wsrep_provider and setting wsrep variables

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.11
    • 10.4, 10.5, 10.6, 10.11
    • None
    • None

    Description

      Server crashes when starting standalone mariadb server with empty wsrep_provider and setting wsrep variables. SET wsrep variable statements goes to hang mode on 11.0+ builds.

      # mysqld options required for replay:  --wsrep-provider=
      SET GLOBAL wsrep_cluster_address='localhost';
      SET GLOBAL wsrep_slave_threads=1;
      
      

      Leads to:

      10.6.18 567c0973591eb66797bb0f982f312b516f8fe82c (Optimized)

      Core was generated by `/test/MD060324-mariadb-10.6.18-linux-x86_64-opt/bin/mariadbd --no-defaults --ma'.
      Program terminated with signal SIGABRT, Aborted.
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      [Current thread is 1 (Thread 0x14f838c0b700 (LWP 2665740))]
      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x000014f843123859 in __GI_abort () at abort.c:79
      #2  0x000014f8434e2911 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #3  0x000014f8434ee38c in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #4  0x000014f8434ee3f7 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #5  0x000014f8434ee6a9 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #6  0x000055be34435b0b in wsrep::server_state::provider (this=<optimized out>) at /test/server_opt/wsrep-lib/include/wsrep/server_state.hpp:322
      #7  Wsrep_server_state::get_provider () at /test/server_opt/sql/wsrep_server_state.h:51
      #8  wsrep_replication_process (thd=0x14f7fc000c58, arg=<optimized out>) at /test/server_opt/sql/wsrep_thd.cc:57
      #9  0x000055be34b07658 in start_wsrep_THD (arg=arg@entry=0x14f7f8017a50) at /test/server_opt/sql/wsrep_mysqld.h:534
      #10 0x000055be34a8b81c in pfs_spawn_thread (arg=0x55be385b1658) at /test/server_opt/storage/perfschema/pfs.cc:2201
      #11 0x000014f843634609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #12 0x000014f843220133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Bug confirmed present in:
      MariaDB: 10.4.33 (dbg), 10.4.33 (opt), 10.5.25 (dbg), 10.5.25 (opt), 10.6.18 (dbg), 10.6.18 (opt), 10.11.7 (dbg), 10.11.7 (opt),

      Bug (or feature/syntax) confirmed not present in:
      MariaDB: 11.0.6 (dbg), 11.0.6 (opt), 11.1.4 (dbg), 11.1.4 (opt), 11.2.4 (dbg), 11.2.4 (opt), 11.3.2 (dbg), 11.3.2 (opt), 11.4.2 (dbg), 11.4.2 (opt), 11.5.0 (opt), 11.5.0 (dbg)

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            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.