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

Assertion `flags() == 0' failed in int wsrep::transaction::start_transaction(const wsrep::transaction_id&)

    XMLWordPrintable

Details

    Description

      10.5.11 1de258ea44357787b4cdf3dcbc59c1c7d2c1bf5f

      mysqld: /test/mtest/10.5_dbg/wsrep-lib/src/transaction.cpp:124: int wsrep::transaction::start_transaction(const wsrep::transaction_id&): Assertion `flags() == 0' failed.
      

      10.5.11 1de258ea44357787b4cdf3dcbc59c1c7d2c1bf5f

      Core was generated by `/test/mtest/GAL_MD170621-mariadb-10.5.11-linux-x86_64-dbg/bin/mysqld --defaults'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000000070000002 in ?? ()
      [Current thread is 1 (Thread 0x152ceeb66700 (LWP 2774265))]
      (gdb) bt
      #0  0x0000000070000002 in ?? ()
      #1  0x000078ea5f7fe766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
      #2  0x000078ea5f7fa04e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
      #3  0x000078ea5f7fd4d1 in syscall_hook_internal (call=0x152ceeb1bfa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
      #4  syscall_hook (call=0x152ceeb1bfa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
      #5  0x000078ea5f7f9e50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
      #6  0x000078ea5f7f9eaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
      #7  0x000078ea5f7f9f08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
      #8  0x0000152cf3dd7f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #9  0x0000558f5e0b02d2 in my_write_core (sig=sig@entry=6) at /test/mtest/10.5_dbg/mysys/stacktrace.c:424
      #10 0x0000558f5d7f6622 in handle_fatal_signal (sig=6) at /test/mtest/10.5_dbg/sql/signal_handler.cc:343
      #11 <signal handler called>
      #12 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #13 0x000069192cd0a859 in __GI_abort () at abort.c:79
      #14 0x000069192cd0a729 in __assert_fail_base (fmt=0x69192cea0588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x558f5e7ae151 "flags() == 0", file=0x558f5e7aea18 "/test/mtest/10.5_dbg/wsrep-lib/src/transaction.cpp", line=124, function=<optimized out>) at assert.c:92
      #15 0x000069192cd1bf36 in __GI___assert_fail (assertion=assertion@entry=0x558f5e7ae151 "flags() == 0", file=file@entry=0x558f5e7aea18 "/test/mtest/10.5_dbg/wsrep-lib/src/transaction.cpp", line=line@entry=124, function=function@entry=0x558f5e7aebf0 "int wsrep::transaction::start_transaction(const wsrep::transaction_id&)") at assert.c:101
      #16 0x0000558f5e1db048 in wsrep::transaction::start_transaction (this=this@entry=0x330858015dc8, id=@0x152ceeb649d8: {id_ = 18446744073709551615}) at /test/mtest/10.5_dbg/wsrep-lib/src/transaction.cpp:135
      #17 0x0000558f5dbcccb5 in wsrep::client_state::start_transaction (id=@0x152ceeb649d8: {id_ = 18446744073709551615}, this=0x330858015d60) at /test/mtest/10.5_dbg/wsrep-lib/include/wsrep/client_state.hpp:321
      #18 wsrep_start_transaction (trx_id=<optimized out>, thd=0x33085800f8c8) at /test/mtest/10.5_dbg/sql/wsrep_trans_observer.h:141
      #19 wsrep_bf_abort (bf_thd=bf_thd@entry=0x1eb618000db8, victim_thd=victim_thd@entry=0x33085800f8c8) at /test/mtest/10.5_dbg/sql/wsrep_thd.cc:358
      #20 0x0000558f5dbd55b0 in wsrep_thd_bf_abort (bf_thd=bf_thd@entry=0x1eb618000db8, victim_thd=victim_thd@entry=0x33085800f8c8, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=5) at /test/mtest/10.5_dbg/sql/service_wsrep.cc:230
      #21 0x0000558f5dc127ba in wsrep_abort_transaction (bf_thd=0x1eb618000db8, victim_thd=0x33085800f8c8, signal=1 '\001', kill_signal=5) at /test/mtest/10.5_dbg/storage/innobase/handler/ha_innodb.cc:18844
      #22 0x0000558f5d80bfb8 in ha_abort_transaction (bf_thd=bf_thd@entry=0x1eb618000db8, victim_thd=victim_thd@entry=0x33085800f8c8, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=5) at /test/mtest/10.5_dbg/sql/handler.cc:7526
      #23 0x0000558f5dbcc49f in wsrep_abort_thd (bf_thd_ptr=bf_thd_ptr@entry=0x1eb618000db8, victim_thd_ptr=victim_thd_ptr@entry=0x33085800f8c8, signal=signal@entry=1 '\001', kill_signal=kill_signal@entry=5) at /test/mtest/10.5_dbg/sql/wsrep_thd.cc:330
      #24 0x0000558f5d51c49c in kill_one_thread (thd=thd@entry=0x1eb618000db8, id=id@entry=48, kill_signal=kill_signal@entry=KILL_QUERY_HARD, type=type@entry=KILL_TYPE_ID) at /test/mtest/10.5_dbg/sql/sql_parse.cc:9341
      #25 0x0000558f5d51ca83 in sql_kill (thd=thd@entry=0x1eb618000db8, id=48, state=state@entry=KILL_QUERY_HARD, type=type@entry=KILL_TYPE_ID) at /test/mtest/10.5_dbg/sql/sql_parse.cc:9472
      #26 0x0000558f5d5321e4 in mysql_execute_command (thd=thd@entry=0x1eb618000db8) at /test/mtest/10.5_dbg/sql/sql_parse.cc:5587
      #27 0x0000558f5d518fbc in mysql_parse (thd=thd@entry=0x1eb618000db8, rawbuf=rawbuf@entry=0x1eb618013da0 "KILL QUERY @conid", length=length@entry=17, parser_state=parser_state@entry=0x152ceeb653d0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.5_dbg/sql/sql_parse.cc:8096
      #28 0x0000558f5d5188e7 in wsrep_mysql_parse (thd=thd@entry=0x1eb618000db8, rawbuf=0x1eb618013da0 "KILL QUERY @conid", length=17, parser_state=parser_state@entry=0x152ceeb653d0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.5_dbg/sql/sql_parse.cc:7899
      #29 0x0000558f5d528563 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1eb618000db8, packet=packet@entry=0x1eb61800b4b9 "KILL QUERY @conid;", packet_length=packet_length@entry=18, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.5_dbg/sql/sql_class.h:1271
      #30 0x0000558f5d52bdd5 in do_command (thd=0x1eb618000db8) at /test/mtest/10.5_dbg/sql/sql_parse.cc:1370
      #31 0x0000558f5d689a28 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x3d6e43b0e7f8, put_in_cache=put_in_cache@entry=true) at /test/mtest/10.5_dbg/sql/sql_connect.cc:1423
      #32 0x0000558f5d68a12f in handle_one_connection (arg=arg@entry=0x3d6e43b0e7f8) at /test/mtest/10.5_dbg/sql/sql_connect.cc:1325
      #33 0x0000558f5db46871 in pfs_spawn_thread (arg=0x3d6e43b0e8d8) at /test/mtest/10.5_dbg/storage/perfschema/pfs.cc:2201
      #34 0x0000152cf3dcf609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #35 0x000069192ce07293 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.