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

Assertion `thd->wsrep_trx().is_streaming()' failed in virtual int Wsrep_replayer_service::apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&, wsrep::mutable_buffer&)

    XMLWordPrintable

Details

    Description

      10.6.4 07674e6a741a82d2e30f9798f699209a6c34dfef (Debug)

      mysqld: /test/10.6_dbg/sql/wsrep_high_priority_service.cc:714: virtual int Wsrep_replayer_service::apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&, wsrep::mutable_buffer&): Assertion `thd->wsrep_trx().is_streaming()' failed.
      

      10.6.4 07674e6a741a82d2e30f9798f699209a6c34dfef (Debug)

      Core was generated by `/test/GAL_MD020821-mariadb-10.6.4-linux-x86_64-dbg/bin/mysqld --defaults-file=/'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000000070000002 in ?? ()
      [Current thread is 1 (Thread 0x64b313fff700 (LWP 2315471))]
      (gdb) bt
      #0  0x0000000070000002 in ?? ()
      #1  0x0000562213cc3766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
      #2  0x0000562213cbf04e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
      #3  0x0000562213cc24d1 in syscall_hook_internal (call=0x1455773b4fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
      #4  syscall_hook (call=0x1455773b4fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
      #5  0x0000562213cbee50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
      #6  0x0000562213cbeeaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
      #7  0x0000562213cbef08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
      #8  0x00003ed17789cf0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #9  0x00005622129121f7 in my_write_core (sig=sig@entry=6) at /test/10.6_dbg/mysys/stacktrace.c:424
      #10 0x00005622120c692c in handle_fatal_signal (sig=6) at /test/10.6_dbg/sql/signal_handler.cc:344
      #11 <signal handler called>
      #12 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #13 0x0000562115fdf859 in __GI_abort () at abort.c:79
      #14 0x0000562115fdf729 in __assert_fail_base (fmt=0x562116175588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x562212ccd030 "thd->wsrep_trx().is_streaming()", 
          file=0x562212cccd38 "/test/10.6_dbg/sql/wsrep_high_priority_service.cc", line=714, function=<optimized out>) at assert.c:92
      #15 0x0000562115ff0f36 in __GI___assert_fail (assertion=assertion@entry=0x562212ccd030 "thd->wsrep_trx().is_streaming()", file=file@entry=0x562212cccd38 "/test/10.6_dbg/sql/wsrep_high_priority_service.cc", 
          line=line@entry=714, function=function@entry=0x562212cccf70 "virtual int Wsrep_replayer_service::apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&, wsrep::mutable_buffer&)") at assert.c:101
      #16 0x0000562212460511 in Wsrep_replayer_service::apply_write_set (this=0x64b313ffdd30, ws_meta=..., data=..., err=...) at /test/10.6_dbg/wsrep-lib/include/wsrep/streaming_context.hpp:111
      #17 0x0000562212a45f12 in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /usr/include/c++/9/ext/new_allocator.h:89
      #18 0x0000562212a469b9 in wsrep::server_state::on_apply (this=<optimized out>, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/10.6_dbg/wsrep-lib/src/server_state.cpp:1137
      #19 0x0000562212a546e3 in wsrep::high_priority_service::apply (data=..., ws_meta=..., ws_handle=..., this=0x64b313ffdd30) at /test/10.6_dbg/wsrep-lib/include/wsrep/high_priority_service.hpp:47
      #20 (anonymous namespace)::apply_cb (ctx=ctx@entry=0x64b313ffdd30, wsh=wsh@entry=0x64b313ffd570, flags=flags@entry=9, buf=buf@entry=0x64b313ffd580, meta=meta@entry=0x64b313ffd840, exit_loop=0x64b313ffd800)
          at /test/10.6_dbg/wsrep-lib/src/wsrep_provider_v26.cpp:504
      #21 0x00001ca85c1537ed in galera::TrxHandleSlave::apply (this=this@entry=0x18f1010e530, recv_ctx=recv_ctx@entry=0x64b313ffdd30, 
          apply_cb=0x562212a54560 <(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=@0x64b313ffd800: false)
          at /test/10.6_galera_dbg/galera/src/trx_handle.cpp:399
      #22 0x00001ca85c16aa01 in galera::ReplicatorSMM::replay_trx (this=0x665a556db7e0, trx=..., lock=..., trx_ctx=0x64b313ffdd30) at /test/10.6_galera_dbg/galera/src/replicator_smm.cpp:1104
      #23 0x00001ca85c140251 in galera_replay_trx (gh=<optimized out>, trx_handle=<optimized out>, recv_ctx=0x64b313ffdd30) at /test/10.6_galera_dbg/galera/src/wsrep_provider.cpp:311
      #24 0x0000562212a54f9e in wsrep::wsrep_provider_v26::replay (this=<optimized out>, ws_handle=..., reply_service=<optimized out>) at /test/10.6_dbg/wsrep-lib/src/wsrep_provider_v26.cpp:206
      #25 0x000056221245fa71 in Wsrep_client_service::replay (this=0x18f100087c0) at /test/10.6_dbg/wsrep-lib/include/wsrep/transaction.hpp:223
      #26 0x0000562212a4c9af in wsrep::transaction::replay (this=this@entry=0x18f10008840, lock=...) at /test/10.6_dbg/wsrep-lib/src/transaction.cpp:1889
      #27 0x0000562212a4fb8e in wsrep::transaction::after_statement (this=this@entry=0x18f10008840) at /test/10.6_dbg/wsrep-lib/src/transaction.cpp:855
      #28 0x0000562212a36806 in wsrep::client_state::after_statement (this=this@entry=0x18f100087d8) at /test/10.6_dbg/wsrep-lib/src/client_state.cpp:276
      #29 0x0000562211dcd028 in wsrep_after_statement (thd=0x18f10002078) at /test/10.6_dbg/sql/sql_class.h:5357
      #30 wsrep_mysql_parse (thd=thd@entry=0x18f10002078, rawbuf=0x18f10015310 "create table t0 as select * from t1", length=35, parser_state=parser_state@entry=0x64b313ffe400) at /test/10.6_dbg/sql/sql_parse.cc:7870
      #31 0x0000562211ddc3ad in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x18f10002078, packet=packet@entry=0x18f1000ca29 "create table t0 as select * from t1;", 
          packet_length=packet_length@entry=36, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1340
      #32 0x0000562211ddf7b7 in do_command (thd=0x18f10002078, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1404
      #33 0x0000562211f45497 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x586369504b18, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1410
      #34 0x0000562211f45a9f in handle_one_connection (arg=arg@entry=0x586369504b18) at /test/10.6_dbg/sql/sql_connect.cc:1312
      #35 0x00005622123f7569 in pfs_spawn_thread (arg=0x665a55702958) at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
      #36 0x00003ed177894609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #37 0x00005621160dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Activity

          People

            sciascid Daniele Sciascia
            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.