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

Assertion `error.len > 0' failed in wsrep_status_t galera::ReplicatorSMM::handle_apply_error(galera::TrxHandleSlave&, const wsrep_buf_t&, const string&)

    XMLWordPrintable

Details

    Description

      This issue is split of MDEV-24916

      SET GLOBAL wsrep_ignore_apply_errors=0;
      SET SESSION AUTOCOMMIT=0;
      SET SESSION max_error_count=0;
      CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE;
      

      Leads to:

      10.6.0 208233be5af55072d7ef80c37ddbc664bc51f342 (Debug)

      mysqld: /test/10.6_galera_dbg/galera/src/replicator_smm.cpp:1363: wsrep_status_t galera::ReplicatorSMM::handle_apply_error(galera::TrxHandleSlave&, const wsrep_buf_t&, const string&): Assertion `error.len > 0' failed.
      

      10.6.0 208233be5af55072d7ef80c37ddbc664bc51f342 (Debug)

      Core was generated by `/test/GAL_MD230221-mariadb-10.6.0-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 0x1480988a4700 (LWP 2879946))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x00005626320424db in my_write_core (sig=sig@entry=6) at /test/10.6_dbg/mysys/stacktrace.c:424
      #2  0x00005626317d22df in handle_fatal_signal (sig=6) at /test/10.6_dbg/sql/signal_handler.cc:330
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x00001480ac2b2859 in __GI_abort () at abort.c:79
      #6  0x00001480ac2b2729 in __assert_fail_base (fmt=0x1480ac448588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x1480abdbe93d "error.len > 0", file=0x1480abdbd070 "/test/10.6_galera_dbg/galera/src/replicator_smm.cpp", line=1363, function=<optimized out>) at assert.c:92
      #7  0x00001480ac2c3f36 in __GI___assert_fail (assertion=0x1480abdbe93d "error.len > 0", file=0x1480abdbd070 "/test/10.6_galera_dbg/galera/src/replicator_smm.cpp", line=1363, function=0x1480abdbe8c8 "wsrep_status_t galera::ReplicatorSMM::handle_apply_error(galera::TrxHandleSlave&, const wsrep_buf_t&, const string&)") at assert.c:101
      #8  0x00001480aba3e8da in galera::ReplicatorSMM::handle_apply_error (this=0x562633a73320, ts=Python Exception <class 'gdb.error'> No type named std::__detail::_Hash_node<struct std::pair<galera::TrxHandle::Transition const, galera::FSM<galera::TrxHandle::State, galera::TrxHandle::Transition>::TransAttr>, true>.:
      @0x148038020120: {<galera::TrxHandle> = {_vptr.TrxHandle = 0x1480abf600a8 <vtable for galera::TrxHandleSlave+16>, static TRXHANDLE_FLAGS_MASK = 33791, static EXPLICIT_ROLLBACK_FLAGS = 10, static FLAGS_MATCH_API_FLAGS = true, static num_states_ = 12, state_ = {delete_ = false, trans_map_ = 0x1480abf71640 <galera::TrxHandleSlave::trans_map_>, state_ = {
                  first = galera::TrxHandle::S_COMMITTING,
                  second = 1759
                }, state_hist_ = std::vector of length 3, capacity 4 = {{
                    first = galera::TrxHandle::S_REPLICATING,
                    second = 0
                  }, {
                    first = galera::TrxHandle::S_CERTIFYING,
                    second = 3232
                  }, {
                    first = galera::TrxHandle::S_APPLYING,
                    second = 1757
                  }}}, source_id_ = {data = "\300\307\024J\200\272\021\353\225(z\273߄\337", <incomplete sequence \334>, alignment = 16938524733678602176}, conn_id_ = 11, trx_id_ = 18446744073709551615, timestamp_ = 2839071231281388, version_ = 5, write_set_flags_ = 69, local_ = true, master_ = false}, static trans_map_ = {impl_ = std::unordered_map with 4 elements}, local_seqno_ = 4, global_seqno_ = 3, last_seen_seqno_ = 2, depends_seqno_ = 2, ends_nbo_ = -1, mem_pool_ = @0x562633a73be0, write_set_ = {header_ = {static MAGIC_BYTE = 71 'G', static V3_CHECKSUM_SIZE = 8, static V3_ANNOT_FLAG = 1 '\001', static V3_UNORD_FLAG = 2 '\002', static V3_MAGIC_OFF = 0, static V3_HEADER_VERS_OFF = 1, static V3_HEADER_SIZE_OFF = 2, static V3_SETS_OFF = 3, static V3_FLAGS_OFF = 4, static V3_PA_RANGE_OFF = 6, static V3_LAST_SEEN_OFF = 8, static V3_SEQNO_OFF = 8, static V3_TIMESTAMP_OFF = 16, static V3_SOURCE_ID_OFF = 24, static V3_CONN_ID_OFF = 40, static V3_TRX_ID_OFF = 48, static V3_CRC_OFF = 56, static V3_SIZE = 64, static V3 = {header_ver_ = 1, header_size_ = 2, sets_ = 3, flags_ = 4, pa_range_ = 6, last_seen_ = 8, seqno_ = 8, timestamp_ = 16, source_id_ = 24, conn_id_ = 40, trx_id_ = 48, crc_ = 56}, static MAX_HEADER_SIZE = 64, local_ = '\000' <repeats 63 times>, ptr_ = 0x14809bfff7a0 <error: Cannot access memory at address 0x14809bfff7a0>, ver_ = galera::WriteSetNG::VER5, size_ = 64 '@', chksm_ = {<No data fields>}}, size_ = 512, keys_ = {<gu::RecordSetIn<galera::KeySet::KeyPart>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 40, count_ = 2, version_ = 2 '\002', check_type_ = 3 '\003', alignment_ = 8 '\b'}, head_ = 0x14809bfff7e0 <error: Cannot access memory at address 0x14809bfff7e0>, next_ = 40, begin_ = 24}, <No data fields>}, version_ = galera::KeySet::FLAT8}, data_ = {<gu::RecordSetIn<galera::DataSet::RecordIn>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 406, count_ = 1, version_ = 2 '\002', check_type_ = 3 '\003', alignment_ = 8 '\b'}, head_ = 0x14809bfff808 <error: Cannot access memory at address 0x14809bfff808>, next_ = 24, begin_ = 24}, <No data fields>}, version_ = galera::DataSet::VER1}, unrd_ = {<gu::RecordSetIn<galera::DataSet::RecordIn>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 0, count_ = 0, version_ = 0 '\000', check_type_ = 0 '\000', alignment_ = 0 '\000'}, head_ = 0x0, next_ = 0, begin_ = 0}, <No data fields>}, version_ = galera::DataSet::EMPTY}, annt_ = 0x0, check_thr_id_ = 0, check_thr_ = false, check_ = true, static SIZE_THRESHOLD = 4194304}, buf_ = 0x148038020120, action_ = {
              first = 0x14809bfff7a0,
              second = 512
            }, certified_ = true, committed_ = false, exit_loop_ = false, cert_bypass_ = false, queued_ = false, explicit_rollback_ = false}, error=@0x1480988a2c50: {ptr = 0x148038020c70, len = 0}, custom_msg="Failed to execute TOI action ") at /test/10.6_galera_dbg/galera/src/replicator_smm.cpp:1363
      #9  0x00001480aba4195f in galera::ReplicatorSMM::to_isolation_end (this=0x562633a73320, trx=Python Exception <class 'gdb.error'> No type named std::__detail::_Hash_node<struct std::pair<galera::TrxHandle::Transition const, galera::FSM<galera::TrxHandle::State, galera::TrxHandle::Transition>::TransAttr>, true>.:
      @0x14803801cdc0: {<galera::TrxHandle> = {_vptr.TrxHandle = 0x1480abf5f7b0 <vtable for galera::TrxHandleMaster+16>, static TRXHANDLE_FLAGS_MASK = 33791, static EXPLICIT_ROLLBACK_FLAGS = 10, static FLAGS_MATCH_API_FLAGS = true, static num_states_ = 12, state_ = {delete_ = false, trans_map_ = 0x1480abf71600 <galera::TrxHandleMaster::trans_map_>, state_ = {
                  first = galera::TrxHandle::S_COMMITTING,
                  second = 1758
                }, state_hist_ = std::vector of length 4, capacity 4 = {{
                    first = galera::TrxHandle::S_EXECUTING,
                    second = 0
                  }, {
                    first = galera::TrxHandle::S_REPLICATING,
                    second = 661
                  }, {
                    first = galera::TrxHandle::S_CERTIFYING,
                    second = 3216
                  }, {
                    first = galera::TrxHandle::S_APPLYING,
                    second = 1756
                  }}}, source_id_ = {data = "\300\307\024J\200\272\021\353\225(z\273߄\337", <incomplete sequence \334>, alignment = 16938524733678602176}, conn_id_ = 11, trx_id_ = 18446744073709551615, timestamp_ = 1615282648864534767, version_ = 5, write_set_flags_ = 69, local_ = true, master_ = true}, static Defaults = {working_dir_ = ".", version_ = -1, key_format_ = galera::KeySet::FLAT16A, record_set_ver_ = gu::RecordSet::VER2, max_write_set_size_ = 0}, mutex_ = {value_ = pthread_mutex_t = {
                Type = Normal,
                Status = Acquired, possibly with no waiters,
                Owner ID = 2879946,
                Robust = No,
                Shared = No,
                Protocol = None
              }, owned_ = 22542547568384, locked_ = true}, mem_pool_ = @0x562633a73e48, static trans_map_ = {impl_ = std::unordered_map with 22 elements}, params_ = {working_dir_ = "/test/GAL_MD230221-mariadb-10.6.0-linux-x86_64-dbg/node1/", version_ = 5, key_format_ = galera::KeySet::FLAT8, record_set_ver_ = gu::RecordSet::VER2, max_write_set_size_ = 2147483647}, ts_ = {px = 0x148038020120, pn = {pi_ = 0x1480380083d0}}, wso_buf_size_ = 7920, gcs_handle_ = -1, wso_ = true, last_ts_seqno_ = 3, deferred_abort_ = false}, err=0x1480988a2c50) at /test/10.6_galera_dbg/galera/src/replicator_smm.cpp:1813
      #10 0x00001480aba15c36 in galera_to_execute_end (gh=0x562633a3a120, conn_id=11, err=0x1480988a2c50) at /test/10.6_galera_dbg/galera/src/wsrep_provider.cpp:1285
      #11 0x00005626321790df in wsrep::wsrep_provider_v26::leave_toi (this=<optimized out>, client_id=<optimized out>, err=<optimized out>) at /test/10.6_dbg/wsrep-lib/include/wsrep/client_id.hpp:39
      #12 0x000056263215c96d in wsrep::client_state::leave_toi_local (this=this@entry=0x148038007348, err=@0x1480988a2ca0: {buffer_ = std::vector of length 0, capacity 2048}) at /test/10.6_dbg/wsrep-lib/src/client_state.cpp:500
      #13 0x0000562631b92fb5 in wsrep_TOI_end (thd=0x148038000db8) at /test/10.6_dbg/sql/wsrep_mysqld.cc:2578
      #14 wsrep_to_isolation_end (thd=thd@entry=0x148038000db8) at /test/10.6_dbg/sql/wsrep_mysqld.cc:2710
      #15 0x00005626315125d2 in mysql_execute_command (thd=thd@entry=0x148038000db8) at /test/10.6_dbg/sql/sql_parse.cc:6077
      #16 0x00005626314f8360 in mysql_parse (thd=thd@entry=0x148038000db8, rawbuf=rawbuf@entry=0x148038013b60 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", length=length@entry=63, parser_state=parser_state@entry=0x1480988a33d0) at /test/10.6_dbg/sql/sql_parse.cc:7972
      #17 0x00005626314f7cbc in wsrep_mysql_parse (thd=thd@entry=0x148038000db8, rawbuf=0x148038013b60 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", length=63, parser_state=parser_state@entry=0x1480988a33d0) at /test/10.6_dbg/sql/sql_parse.cc:7786
      #18 0x00005626315062a0 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x148038000db8, packet=packet@entry=0x14803800b319 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", packet_length=packet_length@entry=63, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1295
      #19 0x000056263150970c in do_command (thd=0x148038000db8, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1397
      #20 0x0000562631666bf5 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5626340217a8, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1410
      #21 0x00005626316672fb in handle_one_connection (arg=arg@entry=0x5626340217a8) at /test/10.6_dbg/sql/sql_connect.cc:1312
      #22 0x0000562631b1e5cd in pfs_spawn_thread (arg=0x5626340990b8) at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
      #23 0x00001480ac7c0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #24 0x00001480ac3af293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      10.5.10 85bec9d691bb69ed20beb565b03d5585b94624fe (Debug)

      mysqld: /test/10.5_galera_dbg/galera/src/replicator_smm.cpp:1363: wsrep_status_t galera::ReplicatorSMM::handle_apply_error(galera::TrxHandleSlave&, const wsrep_buf_t&, const string&): Assertion `error.len > 0' failed.
      

      10.5.10 85bec9d691bb69ed20beb565b03d5585b94624fe (Debug)

      Core was generated by `/test/GAL_MD230221-mariadb-10.5.10-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 0x1469201f4700 (LWP 2880992))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x00005575ad67f89b in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:424
      #2  0x00005575acdcd6f5 in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:330
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x00001469544d5859 in __GI_abort () at abort.c:79
      #6  0x00001469544d5729 in __assert_fail_base (fmt=0x14695466b588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x14694fe4293d "error.len > 0", file=0x14694fe41070 "/test/10.5_galera_dbg/galera/src/replicator_smm.cpp", line=1363, function=<optimized out>) at assert.c:92
      #7  0x00001469544e6f36 in __GI___assert_fail (assertion=0x14694fe4293d "error.len > 0", file=0x14694fe41070 "/test/10.5_galera_dbg/galera/src/replicator_smm.cpp", line=1363, function=0x14694fe428c8 "wsrep_status_t galera::ReplicatorSMM::handle_apply_error(galera::TrxHandleSlave&, const wsrep_buf_t&, const string&)") at assert.c:101
      #8  0x000014694fac28da in galera::ReplicatorSMM::handle_apply_error (this=0x5575b0231210, ts=Python Exception <class 'gdb.error'> No type named std::__detail::_Hash_node<struct std::pair<galera::TrxHandle::Transition const, galera::FSM<galera::TrxHandle::State, galera::TrxHandle::Transition>::TransAttr>, true>.:
      @0x1468e8020280: {<galera::TrxHandle> = {_vptr.TrxHandle = 0x14694ffe40a8 <vtable for galera::TrxHandleSlave+16>, static TRXHANDLE_FLAGS_MASK = 33791, static EXPLICIT_ROLLBACK_FLAGS = 10, static FLAGS_MATCH_API_FLAGS = true, static num_states_ = 12, state_ = {delete_ = false, trans_map_ = 0x14694fff5640 <galera::TrxHandleSlave::trans_map_>, state_ = {
                  first = galera::TrxHandle::S_COMMITTING,
                  second = 1759
                }, state_hist_ = std::vector of length 3, capacity 4 = {{
                    first = galera::TrxHandle::S_REPLICATING,
                    second = 0
                  }, {
                    first = galera::TrxHandle::S_CERTIFYING,
                    second = 3232
                  }, {
                    first = galera::TrxHandle::S_APPLYING,
                    second = 1757
                  }}}, source_id_ = {data = "\302\001\207ɀ\272\021\353\226\377\026\254`\255\376&", alignment = 16938524735816794562}, conn_id_ = 11, trx_id_ = 18446744073709551615, timestamp_ = 2839071863228072, version_ = 5, write_set_flags_ = 69, local_ = true, master_ = false}, static trans_map_ = {impl_ = std::unordered_map with 4 elements}, local_seqno_ = 4, global_seqno_ = 3, last_seen_seqno_ = 2, depends_seqno_ = 2, ends_nbo_ = -1, mem_pool_ = @0x5575b0231ad0, write_set_ = {header_ = {static MAGIC_BYTE = 71 'G', static V3_CHECKSUM_SIZE = 8, static V3_ANNOT_FLAG = 1 '\001', static V3_UNORD_FLAG = 2 '\002', static V3_MAGIC_OFF = 0, static V3_HEADER_VERS_OFF = 1, static V3_HEADER_SIZE_OFF = 2, static V3_SETS_OFF = 3, static V3_FLAGS_OFF = 4, static V3_PA_RANGE_OFF = 6, static V3_LAST_SEEN_OFF = 8, static V3_SEQNO_OFF = 8, static V3_TIMESTAMP_OFF = 16, static V3_SOURCE_ID_OFF = 24, static V3_CONN_ID_OFF = 40, static V3_TRX_ID_OFF = 48, static V3_CRC_OFF = 56, static V3_SIZE = 64, static V3 = {header_ver_ = 1, header_size_ = 2, sets_ = 3, flags_ = 4, pa_range_ = 6, last_seen_ = 8, seqno_ = 8, timestamp_ = 16, source_id_ = 24, conn_id_ = 40, trx_id_ = 48, crc_ = 56}, static MAX_HEADER_SIZE = 64, local_ = '\000' <repeats 63 times>, ptr_ = 0x14694776e7a0 <error: Cannot access memory at address 0x14694776e7a0>, ver_ = galera::WriteSetNG::VER5, size_ = 64 '@', chksm_ = {<No data fields>}}, size_ = 512, keys_ = {<gu::RecordSetIn<galera::KeySet::KeyPart>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 40, count_ = 2, version_ = 2 '\002', check_type_ = 3 '\003', alignment_ = 8 '\b'}, head_ = 0x14694776e7e0 <error: Cannot access memory at address 0x14694776e7e0>, next_ = 40, begin_ = 24}, <No data fields>}, version_ = galera::KeySet::FLAT8}, data_ = {<gu::RecordSetIn<galera::DataSet::RecordIn>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 406, count_ = 1, version_ = 2 '\002', check_type_ = 3 '\003', alignment_ = 8 '\b'}, head_ = 0x14694776e808 <error: Cannot access memory at address 0x14694776e808>, next_ = 24, begin_ = 24}, <No data fields>}, version_ = galera::DataSet::VER1}, unrd_ = {<gu::RecordSetIn<galera::DataSet::RecordIn>> = {<gu::RecordSetInBase> = {<gu::RecordSet> = {static MAX_VERSION = gu::RecordSet::VER2, static VER2_ALIGNMENT = 8, size_ = 0, count_ = 0, version_ = 0 '\000', check_type_ = 0 '\000', alignment_ = 0 '\000'}, head_ = 0x0, next_ = 0, begin_ = 0}, <No data fields>}, version_ = galera::DataSet::EMPTY}, annt_ = 0x0, check_thr_id_ = 0, check_thr_ = false, check_ = true, static SIZE_THRESHOLD = 4194304}, buf_ = 0x1468e8020280, action_ = {
              first = 0x14694776e7a0,
              second = 512
            }, certified_ = true, committed_ = false, exit_loop_ = false, cert_bypass_ = false, queued_ = false, explicit_rollback_ = false}, error=@0x1469201f2c20: {ptr = 0x1468e8020e10, len = 0}, custom_msg="Failed to execute TOI action ") at /test/10.5_galera_dbg/galera/src/replicator_smm.cpp:1363
      #9  0x000014694fac595f in galera::ReplicatorSMM::to_isolation_end (this=0x5575b0231210, trx=Python Exception <class 'gdb.error'> No type named std::__detail::_Hash_node<struct std::pair<galera::TrxHandle::Transition const, galera::FSM<galera::TrxHandle::State, galera::TrxHandle::Transition>::TransAttr>, true>.:
      @0x1468e801cf20: {<galera::TrxHandle> = {_vptr.TrxHandle = 0x14694ffe37b0 <vtable for galera::TrxHandleMaster+16>, static TRXHANDLE_FLAGS_MASK = 33791, static EXPLICIT_ROLLBACK_FLAGS = 10, static FLAGS_MATCH_API_FLAGS = true, static num_states_ = 12, state_ = {delete_ = false, trans_map_ = 0x14694fff5600 <galera::TrxHandleMaster::trans_map_>, state_ = {
                  first = galera::TrxHandle::S_COMMITTING,
                  second = 1758
                }, state_hist_ = std::vector of length 4, capacity 4 = {{
                    first = galera::TrxHandle::S_EXECUTING,
                    second = 0
                  }, {
                    first = galera::TrxHandle::S_REPLICATING,
                    second = 661
                  }, {
                    first = galera::TrxHandle::S_CERTIFYING,
                    second = 3216
                  }, {
                    first = galera::TrxHandle::S_APPLYING,
                    second = 1756
                  }}}, source_id_ = {data = "\302\001\207ɀ\272\021\353\226\377\026\254`\255\376&", alignment = 16938524735816794562}, conn_id_ = 11, trx_id_ = 18446744073709551615, timestamp_ = 1615282649496491884, version_ = 5, write_set_flags_ = 69, local_ = true, master_ = true}, static Defaults = {working_dir_ = ".", version_ = -1, key_format_ = galera::KeySet::FLAT16A, record_set_ver_ = gu::RecordSet::VER2, max_write_set_size_ = 0}, mutex_ = {value_ = pthread_mutex_t = {
                Type = Normal,
                Status = Acquired, possibly with no waiters,
                Owner ID = 2880992,
                Robust = No,
                Shared = No,
                Protocol = None
              }, owned_ = 22441743042304, locked_ = true}, mem_pool_ = @0x5575b0231d38, static trans_map_ = {impl_ = std::unordered_map with 22 elements}, params_ = {working_dir_ = "/test/GAL_MD230221-mariadb-10.5.10-linux-x86_64-dbg/node1/", version_ = 5, key_format_ = galera::KeySet::FLAT8, record_set_ver_ = gu::RecordSet::VER2, max_write_set_size_ = 2147483647}, ts_ = {px = 0x1468e8020280, pn = {pi_ = 0x1468e8020430}}, wso_buf_size_ = 7920, gcs_handle_ = -1, wso_ = true, last_ts_seqno_ = 3, deferred_abort_ = false}, err=0x1469201f2c20) at /test/10.5_galera_dbg/galera/src/replicator_smm.cpp:1813
      #10 0x000014694fa99c36 in galera_to_execute_end (gh=0x5575b01f83c0, conn_id=11, err=0x1469201f2c20) at /test/10.5_galera_dbg/galera/src/wsrep_provider.cpp:1285
      #11 0x00005575ad7b679f in wsrep::wsrep_provider_v26::leave_toi (this=<optimized out>, client_id=<optimized out>, err=<optimized out>) at /test/10.5_dbg/wsrep-lib/include/wsrep/client_id.hpp:39
      #12 0x00005575ad79a02d in wsrep::client_state::leave_toi_local (this=this@entry=0x1468e8007210, err=@0x1469201f2c70: {buffer_ = std::vector of length 0, capacity 2048}) at /test/10.5_dbg/wsrep-lib/src/client_state.cpp:500
      #13 0x00005575ad18f1dc in wsrep_TOI_end (thd=0x1468e8000db8) at /test/10.5_dbg/sql/wsrep_mysqld.cc:2276
      #14 wsrep_to_isolation_end (thd=thd@entry=0x1468e8000db8) at /test/10.5_dbg/sql/wsrep_mysqld.cc:2408
      #15 0x00005575acb0de4c in mysql_execute_command (thd=thd@entry=0x1468e8000db8) at /test/10.5_dbg/sql/sql_parse.cc:6155
      #16 0x00005575acaf3685 in mysql_parse (thd=thd@entry=0x1468e8000db8, rawbuf=rawbuf@entry=0x1468e8013cc0 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", length=length@entry=63, parser_state=parser_state@entry=0x1469201f33d0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:8063
      #17 0x00005575acaf2fb0 in wsrep_mysql_parse (thd=thd@entry=0x1468e8000db8, rawbuf=0x1468e8013cc0 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", length=63, parser_state=parser_state@entry=0x1469201f33d0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:7866
      #18 0x00005575acb0185e in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1468e8000db8, packet=packet@entry=0x1468e800b479 "CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE", packet_length=packet_length@entry=63, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_class.h:1257
      #19 0x00005575acb04fa6 in do_command (thd=0x1468e8000db8) at /test/10.5_dbg/sql/sql_parse.cc:1370
      #20 0x00005575acc6202e in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5575b0dc8268, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1410
      #21 0x00005575acc62735 in handle_one_connection (arg=arg@entry=0x5575b0dc8268) at /test/10.5_dbg/sql/sql_connect.cc:1312
      #22 0x00005575ad11ac39 in pfs_spawn_thread (arg=0x5575b0e440f8) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
      #23 0x00001469549e3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #24 0x00001469545d2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Bug confirmed present in:
      MariaDB: 10.5.10 (dbg), 10.6.0 (dbg)

      Bug (or feature/syntax) confirmed not present in:
      MariaDB: 10.2.38 (dbg), 10.3.29 (dbg), 10.4.19 (dbg)

      Attachments

        Issue Links

          Activity

            People

              sysprg Julius Goryavsky
              ramesh Ramesh Sivaraman
              Votes:
              1 Vote for this issue
              Watchers:
              5 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.