Details
Description
XA START 'a';
|
XA END 'a';
|
CACHE INDEX t1,t2 in default;
|
XA PREPARE 'a';
|
Leads to:
10.6.0-0 c35523d547e51f4a138d44d1caecd3a3f816fb48 (Debug) |
mysqld: /test/mtest/10.6_dbg/wsrep-lib/src/transaction.cpp:277: int wsrep::transaction::before_prepare(wsrep::unique_lock<wsrep::mutex>&): Assertion `state() == s_executing || state() == s_must_abort || state() == s_replaying' failed.
|
10.6.0-0 c35523d547e51f4a138d44d1caecd3a3f816fb48 (Debug) |
Core was generated by `/test/mtest/GAL_EMD010421-mariadb-10.6.0-0-linux-x86_64-dbg/bin/mysqld --defaul'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
[Current thread is 1 (Thread 0x1508cd967700 (LWP 116197))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x000055b4fc1e3e9d in my_write_core (sig=sig@entry=6) at /test/mtest/10.6_dbg/mysys/stacktrace.c:424
|
#2 0x000055b4fb92f159 in handle_fatal_signal (sig=6) at /test/mtest/10.6_dbg/sql/signal_handler.cc:330
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x000015090e08b859 in __GI_abort () at abort.c:79
|
#6 0x000015090e08b729 in __assert_fail_base (fmt=0x15090e221588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55b4fc8d7790 "state() == s_executing || state() == s_must_abort || state() == s_replaying", file=0x55b4fc8d6998 "/test/mtest/10.6_dbg/wsrep-lib/src/transaction.cpp", line=277, function=<optimized out>) at assert.c:92
|
#7 0x000015090e09cf36 in __GI___assert_fail (assertion=assertion@entry=0x55b4fc8d7790 "state() == s_executing || state() == s_must_abort || state() == s_replaying", file=file@entry=0x55b4fc8d6998 "/test/mtest/10.6_dbg/wsrep-lib/src/transaction.cpp", line=line@entry=277, function=function@entry=0x55b4fc8d7740 "int wsrep::transaction::before_prepare(wsrep::unique_lock<wsrep::mutex>&)") at assert.c:101
|
#8 0x000055b4fc30c3af in wsrep::transaction::before_prepare (this=this@entry=0x1508900072a8, lock=@0x1508cd965a20: {_M_device = 0x150890007208, _M_owns = true}) at /test/mtest/10.6_dbg/wsrep-lib/src/transaction.cpp:384
|
#9 0x000055b4fb94a8ac in wsrep::client_state::before_prepare (this=0x150890007240) at /test/mtest/10.6_dbg/wsrep-lib/include/wsrep/client_state.hpp:488
|
#10 wsrep_before_prepare (all=true, thd=0x150890000db8) at /test/mtest/10.6_dbg/sql/wsrep_trans_observer.h:304
|
#11 ha_prepare (thd=thd@entry=0x150890000db8) at /test/mtest/10.6_dbg/sql/handler.cc:1423
|
#12 0x000055b4fb894877 in trans_xa_prepare (thd=thd@entry=0x150890000db8) at /test/mtest/10.6_dbg/include/mysql/psi/mysql_transaction.h:206
|
#13 0x000055b4fb66a3b7 in mysql_execute_command (thd=thd@entry=0x150890000db8) at /test/mtest/10.6_dbg/sql/sql_parse.cc:5726
|
#14 0x000055b4fb651282 in mysql_parse (thd=thd@entry=0x150890000db8, rawbuf=rawbuf@entry=0x1508900126d0 "XA PREPARE 'a'", length=length@entry=14, parser_state=parser_state@entry=0x1508cd9663d0) at /test/mtest/10.6_dbg/sql/sql_parse.cc:7918
|
#15 0x000055b4fb650b34 in wsrep_mysql_parse (thd=thd@entry=0x150890000db8, rawbuf=0x1508900126d0 "XA PREPARE 'a'", length=14, parser_state=parser_state@entry=0x1508cd9663d0) at /test/mtest/10.6_dbg/sql/sql_parse.cc:7732
|
#16 0x000055b4fb65f499 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x150890000db8, packet=packet@entry=0x150890008d49 "XA PREPARE 'a'", packet_length=packet_length@entry=14) at /test/mtest/10.6_dbg/sql/sql_class.h:1254
|
#17 0x000055b4fb662a8b in do_command (thd=0x150890000db8) at /test/mtest/10.6_dbg/sql/sql_parse.cc:1355
|
#18 0x000055b4fb7bf5aa in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55b4fff98468, put_in_cache=put_in_cache@entry=true) at /test/mtest/10.6_dbg/sql/sql_connect.cc:1410
|
#19 0x000055b4fb7bfcb1 in handle_one_connection (arg=arg@entry=0x55b4fff98468) at /test/mtest/10.6_dbg/sql/sql_connect.cc:1312
|
#20 0x000055b4fbc7ce61 in pfs_spawn_thread (arg=0x55b4fffa28d8) at /test/mtest/10.6_dbg/storage/perfschema/pfs.cc:2201
|
#21 0x000015090e597609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#22 0x000015090e188293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.6.0-0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.37-11 (dbg), 10.3.28-11 (dbg), 10.4.18-11 (dbg), 10.5.9-6 (dbg)
Attachments
Issue Links
- is blocked by
-
MDEV-24981 LOAD INDEX may cause rollback of prepared XA transaction
-
- Closed
-