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

Galera assertion failure "thd->transaction.stmt.is_empty() at transaction.cc:69

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4
    • 10.4.16, 10.5.7
    • Galera
    • None

    Description

      # 2020-08-26T12:33:13 [2907173] #6  0x00007fc18bfb1729 in __assert_fail_base (fmt=0x7fc18c147588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55764c1e7b18 "thd->transaction.stmt.is_empty()", file=0x55764c1e7ae0 "/home/jan/mysql/10.4/sql/transaction.cc", line=69, function=<optimized out>) at assert.c:92
      # 2020-08-26T12:33:13 [2907173] #7  0x00007fc18bfc2f36 in __GI___assert_fail (assertion=0x55764c1e7b18 "thd->transaction.stmt.is_empty()", file=0x55764c1e7ae0 "/home/jan/mysql/10.4/sql/transaction.cc", line=69, function=0x55764c1e7b39 "bool trans_check(THD*)") at assert.c:101
      # 2020-08-26T12:33:13 [2907173] #8  0x000055764b651d56 in trans_check (thd=0x7fc164000d90) at /home/jan/mysql/10.4/sql/transaction.cc:69
      # 2020-08-26T12:33:13 [2907173] #9  0x000055764b652403 in trans_commit (thd=0x7fc164000d90) at /home/jan/mysql/10.4/sql/transaction.cc:230
      # 2020-08-26T12:33:13 [2907173] #10 0x000055764b715125 in Wsrep_high_priority_service::commit (this=0x7fc188068d90, ws_handle=..., ws_meta=...) at /home/jan/mysql/10.4/sql/wsrep_high_priority_service.cc:306
      # 2020-08-26T12:33:13 [2907173] #11 0x000055764c14390f in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /home/jan/mysql/10.4/wsrep-lib/src/server_state.cpp:332
      # 2020-08-26T12:33:13 [2907173] #12 0x000055764c147830 in wsrep::server_state::on_apply (this=0x55764ecf9270, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /home/jan/mysql/10.4/wsrep-lib/src/server_state.cpp:1136
      # 2020-08-26T12:33:13 [2907173] #13 0x000055764c16089d in wsrep::high_priority_service::apply (this=0x7fc188068d90, ws_handle=..., ws_meta=..., data=...) at /home/jan/mysql/10.4/wsrep-lib/include/wsrep/high_priority_service.hpp:47
      # 2020-08-26T12:33:13 [2907173] #14 0x000055764c15d8a1 in (anonymous namespace)::apply_cb (ctx=0x7fc188068d90, wsh=0x7fc188067e00, flags=65, buf=0x7fc188067e10, meta=0x7fc1880680c0, exit_loop=0x7fc18806807f) at /home/jan/mysql/10.4/wsrep-lib/src/wsrep_provider_v26.cpp:502
      # 2020-08-26T12:33:13 [2907173] #15 0x00007fc18b3b5bf5 in galera::TrxHandleSlave::apply (this=this@entry=0x7fc0a0045ff0, recv_ctx=recv_ctx@entry=0x7fc188068d90, apply_cb=0x55764c15d66e <(anonymous namespace)::apply_cb(void*, wsrep_ws_handle_t const*, uint32_t, wsrep_buf_t const*, wsrep_trx_meta_t const*, wsrep_bool_t*)>, meta=..., exit_loop=exit_loop@entry=@0x7fc18806807f: false) at galera/src/trx_handle.cpp:391
      # 2020-08-26T12:33:13 [2907173] #16 0x00007fc18b3fabf2 in galera::ReplicatorSMM::apply_trx (this=0x55764ed2d2c0, recv_ctx=0x7fc188068d90, ts=...) at galera/src/replicator_smm.cpp:504
      # 2020-08-26T12:33:13 [2907173] #17 0x00007fc18b402be8 in galera::ReplicatorSMM::process_trx (this=0x55764ed2d2c0, recv_ctx=0x7fc188068d90, ts_ptr=...) at galera/src/replicator_smm.cpp:2127
      # 2020-08-26T12:33:13 [2907173] #18 0x00007fc18b3d4c43 in galera::GcsActionSource::process_writeset (this=0x55764ed5ec90, recv_ctx=0x7fc188068d90, act=..., exit_loop=@0x7fc18806896f: false) at galera/src/gcs_action_source.cpp:62
      # 2020-08-26T12:33:13 [2907173] #19 0x00007fc18b3d560b in galera::GcsActionSource::dispatch (this=<optimized out>, recv_ctx=<optimized out>, act=..., exit_loop=<optimized out>) at galera/src/gcs_action_source.cpp:110
      # 2020-08-26T12:33:13 [2907173] #20 0x00007fc18b3d5812 in galera::GcsActionSource::process (this=0x55764ed5ec90, recv_ctx=0x7fc188068d90, exit_loop=@0x7fc18806896f: false) at galera/src/gcs_action_source.cpp:183
      # 2020-08-26T12:33:13 [2907173] #21 0x00007fc18b3ffc40 in galera::ReplicatorSMM::async_recv (this=0x55764ed2d2c0, recv_ctx=0x7fc188068d90) at galera/src/replicator_smm.cpp:390
      # 2020-08-26T12:33:13 [2907173] #22 0x00007fc18b41c1d1 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at galera/src/wsrep_provider.cpp:236
      # 2020-08-26T12:33:13 [2907173] #23 0x000055764c15e950 in wsrep::wsrep_provider_v26::run_applier (this=0x55764ecd5e70, applier_ctx=0x7fc188068d90) at /home/jan/mysql/10.4/wsrep-lib/src/wsrep_provider_v26.cpp:740
      # 2020-08-26T12:33:13 [2907173] #24 0x000055764b733d28 in wsrep_replication_process (thd=0x7fc164000d90, arg=0x55764ed666e0) at /home/jan/mysql/10.4/sql/wsrep_thd.cc:58
      # 2020-08-26T12:33:13 [2907173] #25 0x000055764b725b2a in start_wsrep_THD (arg=0x55764ed666e0) at /home/jan/mysql/10.4/sql/wsrep_mysqld.cc:2789
      # 2020-08-26T12:33:13 [2907173] #26 0x00007fc18c8f0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      # 2020-08-26T12:33:13 [2907173] #27 0x00007fc18c0ae103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      # 2020-08-26T12:33:13 [2907173] #5  0x00007fc18bfb1859 in __GI_abort () at abort.c:79
      

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            jplindst Jan Lindström (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.