UniqueID: SIGSEGV|TC_LOG::run_prepare_ordered|MYSQL_BIN_LOG::queue_for_group_commit|MYSQL_BIN_LOG::write_transaction_to_binlog_events|MYSQL_BIN_LOG::write_transaction_to_binlog Branch Revision: 16ec27c23c614ebea8f58a38adf601ea70e7c549 Full Stack: Core was generated by `/test/PATCH4_MD281123-mariadb-10.6.17-linux-x86_64-opt/bin/mariadbd --no-defaul'. Program terminated with signal SIGSEGV, Segmentation fault. #0 TC_LOG::run_prepare_ordered ( this=this@entry=0x55a97fdb0fa0 , thd=0x1547ac000c68, all=true) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:9367 [Current thread is 1 (Thread 0x1547f4ccf640 (LWP 269713))] (gdb) bt #0 TC_LOG::run_prepare_ordered (this=this@entry=0x55a97fdb0fa0 , thd=0x1547ac000c68, all=true) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:9367 #1 0x000055a97eee9c6c in MYSQL_BIN_LOG::queue_for_group_commit (this=0x55a97fdb0fa0 , orig_entry=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:8022 #2 0x000055a97eef188e in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=0x55a97fdb0fa0 , entry=0x1547f4ccd150) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:8159 #3 0x000055a97eef1e32 in MYSQL_BIN_LOG::write_transaction_to_binlog (this=0x55a97fdb0fa0 , thd=0x1547ac000c68, cache_mngr=0x1547ac0cd3c8, end_ev=, all=, using_stmt_cache=, using_trx_cache=true, is_ro_1pc=false) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:7791 #4 0x000055a97eef2c25 in binlog_flush_cache (is_ro_1pc=false, using_trx=true, using_stmt=false, all=true, end_ev=0x1547f4ccd3d0, cache_mngr=0x1547ac0cd3c8, thd=0x1547ac000c68) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:1771 #5 binlog_rollback_flush_trx_cache (thd=0x1547ac000c68, all=, cache_mngr=0x1547ac0cd3c8) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:1907 #6 0x000055a97eef39c0 in binlog_rollback (hton=, thd=0x1547ac000c68, all=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/log.cc:2326 #7 0x000055a97eddf771 in ha_rollback_to_savepoint (thd=thd@entry=0x1547ac000c68, sv=sv@entry=0x1547ac2763a0) at /test/bb-10.6-MDEV-32830-qa_opt/sql/handler.cc:2980 #8 0x000055a97ecbfecb in trans_rollback_to_savepoint (thd=thd@entry=0x1547ac000c68, name=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/transaction.cc:670 #9 0x000055a97eb93f10 in mysql_execute_command (thd=0x1547ac000c68, is_called_from_prepared_stmt=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_parse.cc:5723 #10 0x000055a97eb97046 in mysql_parse (thd=0x1547ac000c68, rawbuf=, length=, parser_state=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_parse.cc:8051 #11 0x000055a97eb997e5 in dispatch_command (command=COM_QUERY, thd=0x1547ac000c68, packet=, packet_length=, blocking=) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_parse.cc:1995 #12 0x000055a97eb9b540 in do_command (thd=0x1547ac000c68, blocking=blocking@entry=true) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_parse.cc:1409 #13 0x000055a97ecaecdf in do_handle_one_connection (connect=, put_in_cache=true) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_connect.cc:1416 #14 0x000055a97ecaf02d in handle_one_connection (arg=arg@entry=0x55a9811b1998) at /test/bb-10.6-MDEV-32830-qa_opt/sql/sql_connect.cc:1318 #15 0x000055a97f061571 in pfs_spawn_thread (arg=0x55a9811662b8) at /test/bb-10.6-MDEV-32830-qa_opt/storage/perfschema/pfs.cc:2201 #16 0x000015480c094ac3 in start_thread (arg=) at ./nptl/pthread_create.c:442 #17 0x000015480c126a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Query: rollback to savepoint a;