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

Assertion `state_ == s_exec' failed in int wsrep::client_state::start_transaction(const wsrep::transaction_id&)

    XMLWordPrintable

Details

    Description

      10.4.20 97bec6760744e8193c12c5ba2f3e36db32b91ae8

      mysqld: /test/mtest/10.4_dbg/wsrep-lib/include/wsrep/client_state.hpp:320: int wsrep::client_state::start_transaction(const wsrep::transaction_id&): Assertion `state_ == s_exec' failed.
      

      10.4.20 97bec6760744e8193c12c5ba2f3e36db32b91ae8

      Core was generated by `/test/mtest/GAL_MD170621-mariadb-10.4.20-linux-x86_64-dbg/bin/mysqld --defaults'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000000070000002 in ?? ()
      [Current thread is 1 (Thread 0x53fa21854700 (LWP 2595208))]
      (gdb) bt
      #0  0x0000000070000002 in ?? ()
      #1  0x00002d41108d9766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
      #2  0x00002d41108d504e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
      #3  0x00002d41108d84d1 in syscall_hook_internal (call=0x14c374d1efa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
      #4  syscall_hook (call=0x14c374d1efa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
      #5  0x00002d41108d4e50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
      #6  0x00002d41108d4eaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
      #7  0x00002d41108d4f08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
      #8  0x000030ef1a920f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #9  0x00005601e436f46d in my_write_core (sig=sig@entry=6) at /test/mtest/10.4_dbg/mysys/stacktrace.c:386
      #10 0x00005601e3a67ed8 in handle_fatal_signal (sig=6) at /test/mtest/10.4_dbg/sql/signal_handler.cc:356
      #11 <signal handler called>
      #12 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #13 0x00000d1c26b7d859 in __GI_abort () at abort.c:79
      #14 0x00000d1c26b7d729 in __assert_fail_base (fmt=0xd1c26d13588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5601e444585d "state_ == s_exec", file=0x5601e443c598 "/test/mtest/10.4_dbg/wsrep-lib/include/wsrep/client_state.hpp", line=320, function=<optimized out>) at assert.c:92
      #15 0x00000d1c26b8ef36 in __GI___assert_fail (assertion=assertion@entry=0x5601e444585d "state_ == s_exec", file=file@entry=0x5601e443c598 "/test/mtest/10.4_dbg/wsrep-lib/include/wsrep/client_state.hpp", line=line@entry=320, function=function@entry=0x5601e44464f8 "int wsrep::client_state::start_transaction(const wsrep::transaction_id&)") at assert.c:101
      #16 0x00005601e39b6f1c in wsrep::client_state::start_transaction (id=@0x53fa21851708: {id_ = 132}, this=0x6b97c006f78) at /test/mtest/10.4_dbg/sql/wsrep_thd.cc:354
      #17 wsrep_start_transaction (trx_id=<optimized out>, thd=0x6b97c000d90) at /test/mtest/10.4_dbg/sql/wsrep_trans_observer.h:138
      #18 wsrep_bf_abort (bf_thd=bf_thd@entry=0x47171c000d90, victim_thd=victim_thd@entry=0x6b97c000d90) at /test/mtest/10.4_dbg/sql/wsrep_thd.cc:358
      #19 0x00005601e39bf9a6 in wsrep_thd_bf_abort (bf_thd=bf_thd@entry=0x47171c000d90, victim_thd=victim_thd@entry=0x6b97c000d90, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=13) at /test/mtest/10.4_dbg/sql/service_wsrep.cc:231
      #20 0x00005601e3ceaff7 in wsrep_abort_transaction (bf_thd=0x47171c000d90, victim_thd=0x6b97c000d90, signal=1 '\001', kill_signal=13) at /test/mtest/10.4_dbg/storage/innobase/handler/ha_innodb.cc:18829
      #21 0x00005601e3a7bd25 in ha_abort_transaction (bf_thd=bf_thd@entry=0x47171c000d90, victim_thd=victim_thd@entry=0x6b97c000d90, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=13) at /test/mtest/10.4_dbg/sql/handler.cc:7115
      #22 0x00005601e39b6646 in wsrep_abort_thd (bf_thd_ptr=bf_thd_ptr@entry=0x47171c000d90, victim_thd_ptr=victim_thd_ptr@entry=0x6b97c000d90, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=13) at /test/mtest/10.4_dbg/sql/wsrep_thd.cc:330
      #23 0x00005601e3787f14 in kill_one_thread (thd=thd@entry=0x47171c000d90, id=id@entry=32, kill_signal=kill_signal@entry=KILL_CONNECTION_HARD, type=type@entry=KILL_TYPE_ID) at /test/mtest/10.4_dbg/sql/sql_parse.cc:9238
      #24 0x00005601e3788023 in sql_kill (thd=thd@entry=0x47171c000d90, id=32, state=state@entry=KILL_CONNECTION_HARD, type=type@entry=KILL_TYPE_ID) at /test/mtest/10.4_dbg/sql/sql_parse.cc:9368
      #25 0x00005601e379169a in mysql_execute_command (thd=thd@entry=0x47171c000d90) at /test/mtest/10.4_dbg/sql/sql_parse.cc:5614
      #26 0x00005601e3795eab in mysql_parse (thd=thd@entry=0x47171c000d90, rawbuf=rawbuf@entry=0x47171c0132e8 "KILL CONNECTION @conid", length=length@entry=22, parser_state=parser_state@entry=0x53fa21853490, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.4_dbg/sql/sql_parse.cc:7992
      #27 0x00005601e3796f60 in wsrep_mysql_parse (thd=thd@entry=0x47171c000d90, rawbuf=0x47171c0132e8 "KILL CONNECTION @conid", length=22, parser_state=parser_state@entry=0x53fa21853490, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.4_dbg/sql/sql_parse.cc:7796
      #28 0x00005601e37988c9 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x47171c000d90, packet=packet@entry=0x47171c00ab01 "KILL CONNECTION @conid;", packet_length=packet_length@entry=23, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.4_dbg/sql/sql_class.h:1184
      #29 0x00005601e379c159 in do_command (thd=0x47171c000d90) at /test/mtest/10.4_dbg/sql/sql_parse.cc:1373
      #30 0x00005601e38dac71 in do_handle_one_connection (connect=connect@entry=0x5601e6b54e00) at /test/mtest/10.4_dbg/sql/sql_connect.cc:1425
      #31 0x00005601e38dad90 in handle_one_connection (arg=0x5601e6b54e00) at /test/mtest/10.4_dbg/sql/sql_connect.cc:1329
      #32 0x000030ef1a918609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #33 0x00000d1c26c7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Activity

          People

            seppo Seppo Jaakola
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.