UniqueID: is_started()|SIGABRT|Ha_trx_info::ht|TC_LOG::run_prepare_ordered|MYSQL_BIN_LOG::queue_for_group_commit|MYSQL_BIN_LOG::write_transaction_to_binlog_events Branch Revision: 16ec27c23c614ebea8f58a38adf601ea70e7c549 Error log: mariadbd: /test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.h:2037: handlerton* Ha_trx_info::ht() const: Assertion `is_started()' failed. Full Stack: Core was generated by `/test/PATCH4_MD281123-mariadb-10.6.17-linux-x86_64-dbg/bin/mariadbd --no-defaul'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=22933449688640) at ./nptl/pthread_kill.c:44 [Current thread is 1 (Thread 0x14db9c1f4640 (LWP 1176024))] (gdb) bt #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=22933449688640) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=6, threadid=22933449688640) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=22933449688640, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #3 0x000014dbb1a42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x000014dbb1a287f3 in __GI_abort () at ./stdlib/abort.c:79 #5 0x000014dbb1a2871b in __assert_fail_base (fmt=0x14dbb1bdd150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x563349904d59 "is_started()", file=0x5633498acef8 "/test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.h", line=2037, function=) at ./assert/assert.c:92 #6 0x000014dbb1a39e96 in __GI___assert_fail (assertion=0x563349904d59 "is_started()", file=0x5633498acef8 "/test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.h", line=2037, function=0x563349904218 "handlerton* Ha_trx_info::ht() const") at ./assert/assert.c:101 #7 0x00005633490e35be in Ha_trx_info::ht (this=0x14db5c003840) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.h:2037 #8 TC_LOG::run_prepare_ordered (this=this@entry=0x56334a23b960 , thd=0x14db5c000d58, all=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:9366 #9 0x00005633490e3ac9 in MYSQL_BIN_LOG::queue_for_group_commit (this=this@entry=0x56334a23b960 , orig_entry=orig_entry@entry=0x14db9c1f2750) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:8022 #10 0x00005633490edf3c in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=this@entry=0x56334a23b960 , entry=entry@entry=0x14db9c1f2750) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:8159 #11 0x00005633490ee73b in MYSQL_BIN_LOG::write_transaction_to_binlog (this=this@entry=0x56334a23b960 , thd=thd@entry=0x14db5c000d58, cache_mngr=cache_mngr@entry=0x14db5c07ebe8, end_ev=end_ev@entry=0x14db9c1f2a30, all=all@entry=true, using_stmt_cache=using_stmt_cache@entry=false, using_trx_cache=true, is_ro_1pc=false) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:7791 #12 0x00005633490ee924 in binlog_flush_cache (thd=thd@entry=0x14db5c000d58, cache_mngr=cache_mngr@entry=0x14db5c07ebe8, end_ev=end_ev@entry=0x14db9c1f2a30, all=all@entry=true, using_stmt=using_stmt@entry=false, using_trx=using_trx@entry=true, is_ro_1pc=false) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:1771 #13 0x00005633490eed8f in binlog_rollback_flush_trx_cache (thd=thd@entry=0x14db5c000d58, all=all@entry=true, cache_mngr=cache_mngr@entry=0x14db5c07ebe8) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:1907 #14 0x00005633490ef2ef in binlog_rollback (hton=, thd=0x14db5c000d58, all=) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/log.cc:2326 #15 0x0000563348fa1f12 in ha_rollback_to_savepoint (thd=thd@entry=0x14db5c000d58, sv=sv@entry=0x14db5c019440) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.cc:2980 #16 0x0000563348e46ef8 in trans_rollback_to_savepoint (thd=thd@entry=0x14db5c000d58, name=) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/transaction.cc:670 #17 0x0000563348ce6071 in mysql_execute_command (thd=thd@entry=0x14db5c000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:5723 #18 0x0000563348ce8933 in mysql_parse (thd=thd@entry=0x14db5c000d58, rawbuf=, length=, parser_state=parser_state@entry=0x14db9c1f31f0) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:8051 #19 0x0000563348ceaca9 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14db5c000d58, packet=packet@entry=0x14db5c10dab9 "ROLLBACK WORK TO SAVEPOINT A;", packet_length=packet_length@entry=29, blocking=blocking@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_class.h:241 #20 0x0000563348cecdc3 in do_command (thd=0x14db5c000d58, blocking=blocking@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:1409 #21 0x0000563348e31195 in do_handle_one_connection (connect=, connect@entry=0x56334c9faa28, put_in_cache=put_in_cache@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_connect.cc:1416 #22 0x0000563348e3148a in handle_one_connection (arg=arg@entry=0x56334c9faa28) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_connect.cc:1318 #23 0x000056334927f6fa in pfs_spawn_thread (arg=0x56334c984f18) at /test/bb-10.6-MDEV-32830-qa_dbg/storage/perfschema/pfs.cc:2201 #24 0x000014dbb1a94ac3 in start_thread (arg=) at ./nptl/pthread_create.c:442 #25 0x000014dbb1b26a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Query: ROLLBACK WORK TO SAVEPOINT A;