Details
Description
--source include/galera_cluster.inc
|
--source include/have_innodb.inc
|
 |
SET GLOBAL slow_query_log=ON; |
SET @@enforce_storage_engine=innodb; |
SET @@sql_mode=no_auto_create_user; |
ALTER TABLE mysql.slow_log ENGINE = MyISAM; |
SET SESSION wsrep_trx_fragment_size=1; |
SET long_query_time = 0.001; |
SET @@session.slow_query_log= ON; |
SET GLOBAL log_output = 'TABLE,FILE'; |
create table t (f INT); |
Leads to
11.4.0 be6d48fd53892e6a54d6cbf4dce29be914e78a9d (Debug) |
mysqld: /test/11.4_dbg/wsrep-lib/src/client_state.cpp:333: int wsrep::client_state::after_row(): Assertion `state_ == s_exec' failed.
|
11.4.0 be6d48fd53892e6a54d6cbf4dce29be914e78a9d (Debug) |
Core was generated by `/test/GAL_MD150124-mariadb-11.4.0-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 0x1548400a3700 (LWP 4106794))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x0000564ceb05074e in my_write_core (sig=sig@entry=6) at /test/11.4_dbg/mysys/stacktrace.c:424
|
#2 0x0000564cea93b168 in handle_fatal_signal (sig=6) at /test/11.4_dbg/sql/signal_handler.cc:357
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x0000154852726859 in __GI_abort () at abort.c:79
|
#6 0x0000154852726729 in __assert_fail_base (fmt=0x1548528bc588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x564ceb833164 "state_ == s_exec", file=0x564ceb8319c8 "/test/11.4_dbg/wsrep-lib/src/client_state.cpp", line=333, function=<optimized out>) at assert.c:92
|
#7 0x0000154852737fd6 in __GI___assert_fail (assertion=assertion@entry=0x564ceb833164 "state_ == s_exec", file=file@entry=0x564ceb8319c8 "/test/11.4_dbg/wsrep-lib/src/client_state.cpp", line=line@entry=333, function=function@entry=0x564ceb831c38 "int wsrep::client_state::after_row()") at assert.c:101
|
#8 0x0000564ceb1c7ac5 in wsrep::client_state::after_row (this=this@entry=0x1547e8007568) at /test/11.4_dbg/wsrep-lib/include/wsrep/streaming_context.hpp:76
|
#9 0x0000564cea93d6bc in wsrep_after_row_internal (thd=0x1547e8000d48) at /test/11.4_dbg/sql/sql_class.h:5643
|
#10 wsrep_after_row (thd=0x1547e8000d48) at /test/11.4_dbg/sql/handler.cc:7467
|
#11 0x0000564cea94f34d in handler::ha_write_row (this=0x1547e8037e70, buf=0x1547e80386c0 "e\246", <incomplete sequence \331>) at /test/11.4_dbg/sql/sql_analyze_stmt.h:82
|
#12 0x0000564ceaaa1498 in Log_to_csv_event_handler::log_slow (this=<optimized out>, thd=0x1547e8000d48, current_time=<optimized out>, user_host=0x1548400a1f80 "root[root] @ localhost []", user_host_len=25, query_utime=<optimized out>, lock_utime=3732, is_command=false, sql_text=0x1547e80132f0 "CREATE TABLE t (f INT)", sql_text_len=22) at /test/11.4_dbg/sql/log.cc:924
|
#13 0x0000564ceaa9a359 in LOGGER::slow_log_print (this=this@entry=0x564cebc5c1e0 <logger>, thd=thd@entry=0x1547e8000d48, query=0x1547e80132f0 "CREATE TABLE t (f INT)", query_length=22, current_utime=<optimized out>) at /test/11.4_dbg/sql/log.cc:1291
|
#14 0x0000564ceaaa2f4e in slow_log_print (thd=thd@entry=0x1547e8000d48, query=<optimized out>, query_length=<optimized out>, current_utime=<optimized out>) at /test/11.4_dbg/sql/log.cc:7052
|
#15 0x0000564cea623ed3 in log_slow_statement (thd=thd@entry=0x1547e8000d48) at /test/11.4_dbg/sql/sql_class.h:1552
|
#16 0x0000564cea62d14a in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1547e8000d48, packet=<optimized out>, packet@entry=0x1547e800afb9 "", packet_length=packet_length@entry=22, blocking=blocking@entry=true) at /test/11.4_dbg/sql/sql_parse.cc:2427
|
#17 0x0000564cea62d5c0 in do_command (thd=0x1547e8000d48, blocking=blocking@entry=true) at /test/11.4_dbg/sql/sql_parse.cc:1406
|
#18 0x0000564cea79eac4 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x564cece7b378, put_in_cache=put_in_cache@entry=true) at /test/11.4_dbg/sql/sql_connect.cc:1417
|
#19 0x0000564cea79ef96 in handle_one_connection (arg=0x564cece7b378) at /test/11.4_dbg/sql/sql_connect.cc:1319
|
#20 0x0000154852c37609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#21 0x0000154852823133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.4.33 (dbg), 10.5.24 (dbg), 10.6.17 (dbg), 10.11.7 (dbg), 11.0.5 (dbg), 11.1.4 (dbg), 11.2.3 (dbg), 11.3.2 (dbg), 11.4.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.33 (opt), 10.5.24 (opt), 10.6.17 (opt), 10.11.7 (opt), 11.0.5 (opt), 11.1.4 (opt), 11.2.3 (opt), 11.3.2 (opt), 11.4.0 (opt)