Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.2, 10.3
-
None
Description
LOCK TABLES performance_schema.setup_instruments WRITE;
|
CREATE TEMPORARY TABLE t1 (i INT) ENGINE=InnoDB;
|
CREATE TEMPORARY TABLE tmp1 ENGINE=InnoDB SELECT * FROM t1;
|
Leads to:
10.3.29 eb7c5530eccb7d6782077e5562f5a471d2ccbc01 (Debug) |
mysqld: /test/10.3_dbg/storage/innobase/handler/ha_innodb.cc:17100: int innobase_xa_prepare(handlerton*, THD*, bool): Assertion `trx_is_registered_for_2pc(trx)' failed.
|
10.3.29 eb7c5530eccb7d6782077e5562f5a471d2ccbc01 (Debug) |
Core was generated by `/test/GAL_MD150321-mariadb-10.3.29-linux-x86_64-dbg/bin/mysqld --defaults-file='.
|
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 0x14574c0d7700 (LWP 1405438))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x000055ac39f6f1ee in my_write_core (sig=sig@entry=6) at /test/10.3_dbg/mysys/stacktrace.c:386
|
#2 0x000055ac3972498c in handle_fatal_signal (sig=6) at /test/10.3_dbg/sql/signal_handler.cc:343
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x000014577e8c8859 in __GI_abort () at abort.c:79
|
#6 0x000014577e8c8729 in __assert_fail_base (fmt=0x14577ea5e588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55ac3a1b2fb8 "trx_is_registered_for_2pc(trx)", file=0x55ac3a1b0fd8 "/test/10.3_dbg/storage/innobase/handler/ha_innodb.cc", line=17100, function=<optimized out>) at assert.c:92
|
#7 0x000014577e8d9f36 in __GI___assert_fail (assertion=assertion@entry=0x55ac3a1b2fb8 "trx_is_registered_for_2pc(trx)", file=file@entry=0x55ac3a1b0fd8 "/test/10.3_dbg/storage/innobase/handler/ha_innodb.cc", line=line@entry=17100, function=function@entry=0x55ac3a1b2fd8 "int innobase_xa_prepare(handlerton*, THD*, bool)") at assert.c:101
|
#8 0x000055ac3994793f in innobase_xa_prepare (hton=0x55ac3b641760, thd=0x1456f0000d90, prepare_trx=<optimized out>) at /test/10.3_dbg/storage/innobase/handler/ha_innodb.cc:17100
|
#9 0x000055ac397250c1 in prepare_or_error (ht=ht@entry=0x55ac3b641760, thd=thd@entry=0x1456f0000d90, all=all@entry=false) at /test/10.3_dbg/sql/handler.cc:1194
|
#10 0x000055ac39729395 in ha_commit_trans (thd=thd@entry=0x1456f0000d90, all=all@entry=false) at /test/10.3_dbg/sql/handler.cc:1508
|
#11 0x000055ac395ddde8 in trans_commit_stmt (thd=thd@entry=0x1456f0000d90) at /test/10.3_dbg/sql/transaction.cc:505
|
#12 0x000055ac3949e6cc in mysql_execute_command (thd=thd@entry=0x1456f0000d90) at /test/10.3_dbg/sql/sql_parse.cc:6155
|
#13 0x000055ac3949fbb9 in mysql_parse (thd=thd@entry=0x1456f0000d90, rawbuf=rawbuf@entry=0x1456f0011578 "CREATE TEMPORARY TABLE tmp1 ENGINE=InnoDB SELECT * FROM t1", length=length@entry=58, parser_state=parser_state@entry=0x14574c0d6540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_parse.cc:7867
|
#14 0x000055ac394a1278 in wsrep_mysql_parse (thd=thd@entry=0x1456f0000d90, rawbuf=0x1456f0011578 "CREATE TEMPORARY TABLE tmp1 ENGINE=InnoDB SELECT * FROM t1", length=58, parser_state=parser_state@entry=0x14574c0d6540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_parse.cc:7659
|
#15 0x000055ac394a2393 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1456f0000d90, packet=packet@entry=0x1456f00198f1 "CREATE TEMPORARY TABLE tmp1 ENGINE=InnoDB SELECT * FROM t1", packet_length=packet_length@entry=58, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.3_dbg/sql/sql_class.h:1139
|
#16 0x000055ac394a551e in do_command (thd=0x1456f0000d90) at /test/10.3_dbg/sql/sql_parse.cc:1398
|
#17 0x000055ac395ccc46 in do_handle_one_connection (connect=connect@entry=0x55ac3c0d6950) at /test/10.3_dbg/sql/sql_connect.cc:1403
|
#18 0x000055ac395cce7d in handle_one_connection (arg=0x55ac3c0d6950) at /test/10.3_dbg/sql/sql_connect.cc:1308
|
#19 0x000014577edce609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#20 0x000014577e9c5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.2.38 (dbg), 10.3.29 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.38 (opt), 10.3.29 (opt), 10.4.19, 10.5.10, 10.6.0