Details
Description
--source include/galera_cluster.inc
|
--source include/have_innodb.inc
|
 |
SET binlog_format=mixed; |
SET GLOBAL gtid_slave_pos='0-0-0'; |
Leads to
11.4.0 be6d48fd53892e6a54d6cbf4dce29be914e78a9d (Debug) |
mysqld: /test/11.4_dbg/sql/log.cc:6094: bool THD::binlog_write_table_maps(): Assertion `is_current_stmt_binlog_format_row()' 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 0x14bcfc0fb700 (LWP 2495670))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x000055fd3635774e in my_write_core (sig=sig@entry=6) at /test/11.4_dbg/mysys/stacktrace.c:424
|
#2 0x000055fd35c42168 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 0x000014bd0016b859 in __GI_abort () at abort.c:79
|
#6 0x000014bd0016b729 in __assert_fail_base (fmt=0x14bd00301588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55fd36527848 "is_current_stmt_binlog_format_row()", file=0x55fd366dde30 "/test/11.4_dbg/sql/log.cc", line=6094, function=<optimized out>) at assert.c:92
|
#7 0x000014bd0017cfd6 in __GI___assert_fail (assertion=assertion@entry=0x55fd36527848 "is_current_stmt_binlog_format_row()", file=file@entry=0x55fd366dde30 "/test/11.4_dbg/sql/log.cc", line=line@entry=6094, function=function@entry=0x55fd366e3f48 "bool THD::binlog_write_table_maps()") at assert.c:101
|
#8 0x000055fd35dbf26c in THD::binlog_write_table_maps (this=this@entry=0x14bc94000d48) at /test/11.4_dbg/sql/sql_class.h:3197
|
#9 0x000055fd35c54481 in binlog_log_row_to_binlog (has_trans=165, log_func=0x55fd35c5a18f <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, Event_log*, binlog_cache_data*, bool, unsigned long, unsigned char const*, unsigned char const*)>, after_record=0x14bc9402d540 "\377", before_record=0x0, table=0x14bc9401f698) at /test/11.4_dbg/sql/handler.cc:7283
|
#10 handler::binlog_log_row (this=this@entry=0x14bc9402a690, before_record=before_record@entry=0x0, after_record=after_record@entry=0x14bc9402d540 "\377", log_func=log_func@entry=0x55fd35c5a18f <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, Event_log*, binlog_cache_data*, bool, unsigned long, unsigned char const*, unsigned char const*)>) at /test/11.4_dbg/sql/handler.cc:7316
|
#11 0x000055fd35c56178 in handler::ha_write_row (this=0x14bc9402a690, buf=0x14bc9402d540 "\377") at /test/11.4_dbg/sql/handler.cc:7880
|
#12 0x000055fd35b361d6 in rpl_slave_state::record_gtid (this=this@entry=0x55fd37c2ab10, thd=thd@entry=0x14bc94000d48, gtid=gtid@entry=0x14bcfc0f9a20, sub_id=sub_id@entry=1, in_transaction=in_transaction@entry=false, in_statement=in_statement@entry=true, out_hton=0x14bcfc0f9a18) at /test/11.4_dbg/sql/rpl_gtid.cc:751
|
#13 0x000055fd35b37ccd in rpl_slave_state::load (this=0x55fd37c2ab10, thd=thd@entry=0x14bc94000d48, state_from_master=<optimized out>, len=<optimized out>, reset=reset@entry=true, in_statement=in_statement@entry=true) at /test/11.4_dbg/sql/rpl_gtid.cc:1444
|
#14 0x000055fd3597011f in rpl_gtid_pos_update (thd=thd@entry=0x14bc94000d48, str=<optimized out>, len=<optimized out>) at /test/11.4_dbg/sql/sql_repl.cc:4879
|
#15 0x000055fd35abc92e in Sys_var_gtid_slave_pos::global_update (this=<optimized out>, thd=0x14bc94000d48, var=0x14bc94013460) at /test/11.4_dbg/sql/sys_vars.cc:2051
|
#16 0x000055fd358529ec in sys_var::update (this=0x55fd36f56bc0 <Sys_gtid_slave_pos>, thd=0x14bc94000d48, var=0x14bc94013460) at /test/11.4_dbg/sql/set_var.cc:207
|
#17 0x000055fd35852f29 in set_var::update (this=<optimized out>, thd=<optimized out>) at /test/11.4_dbg/sql/set_var.cc:851
|
#18 0x000055fd3585419c in sql_set_variables (thd=thd@entry=0x14bc94000d48, var_list=var_list@entry=0x14bc94005f68, free=free@entry=true) at /test/11.4_dbg/sql/set_var.cc:733
|
#19 0x000055fd35938cf3 in mysql_execute_command (thd=thd@entry=0x14bc94000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/11.4_dbg/sql/sql_parse.cc:4788
|
#20 0x000055fd359247bf in mysql_parse (thd=thd@entry=0x14bc94000d48, rawbuf=rawbuf@entry=0x14bc940132f0 "SET GLOBAL gtid_slave_pos='0-0-0'", length=length@entry=33, parser_state=parser_state@entry=0x14bcfc0fa2c0) at /test/11.4_dbg/sql/sql_parse.cc:7798
|
#21 0x000055fd359240c5 in wsrep_mysql_parse (thd=thd@entry=0x14bc94000d48, rawbuf=0x14bc940132f0 "SET GLOBAL gtid_slave_pos='0-0-0'", length=33, parser_state=parser_state@entry=0x14bcfc0fa2c0) at /test/11.4_dbg/sql/sql_parse.cc:7608
|
#22 0x000055fd359320f6 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14bc94000d48, packet=packet@entry=0x14bc9400afb9 "SET GLOBAL gtid_slave_pos='0-0-0'", packet_length=packet_length@entry=33, blocking=blocking@entry=true) at /test/11.4_dbg/sql/sql_class.h:1552
|
#23 0x000055fd359345c0 in do_command (thd=0x14bc94000d48, blocking=blocking@entry=true) at /test/11.4_dbg/sql/sql_parse.cc:1406
|
#24 0x000055fd35aa5ac4 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55fd38471d68, put_in_cache=put_in_cache@entry=true) at /test/11.4_dbg/sql/sql_connect.cc:1417
|
#25 0x000055fd35aa5f96 in handle_one_connection (arg=0x55fd38471d68) at /test/11.4_dbg/sql/sql_connect.cc:1319
|
#26 0x000014bd0067c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#27 0x000014bd00268133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 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.4.33 (dbg), 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)