Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.4, 11.5(EOL), 11.6(EOL)
Description
Note: --log-bin option is not required.
USE test;
|
BINLOG 'AMqaOw8BAAAAdAAAAHgAAAAAAAQANS42LjM0LTc5LjEtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAYVx w2w=';
|
CREATE TABLE t1 (c INT);
|
BINLOG 'wlZOTxMBAAAAKgAAADwCAAAAACkAAAAAAAEABHRlc3QAAnQxAAIDAwAC wlZOTxcBAAAAJgAAAGICAAAAACkAAAAAAAEAAv/8AgAAAAgAAAA=';
|
Leads to:
10.5.4 4080e3acefd7e58d88c2f3539fb6a0fb359cf057 |
mysqld: /test/10.5_dbg/sql/log_event.h:5186: int Rows_log_event::unpack_current_row(rpl_group_info*): Assertion `m_curr_row <= m_rows_end' failed.
|
10.5.4 4080e3acefd7e58d88c2f3539fb6a0fb359cf057 |
Core was generated by `/test/MD150620-mariadb-10.5.4-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
[Current thread is 1 (Thread 0x14d1458b5700 (LWP 4107605))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
#1 0x000055fda8ff24c6 in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:518
|
#2 0x000055fda8794d60 in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:330
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
|
#5 0x000014d146729801 in __GI_abort () at abort.c:79
|
#6 0x000014d14671939a in __assert_fail_base (fmt=0x14d1468a07d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55fda9335456 "m_curr_row <= m_rows_end", file=file@entry=0x55fda914e080 "/test/10.5_dbg/sql/log_event.h", line=line@entry=5186, function=function@entry=0x55fda93386c0 <Rows_log_event::unpack_current_row(rpl_group_info*)::__PRETTY_FUNCTION__> "int Rows_log_event::unpack_current_row(rpl_group_info*)") at assert.c:92
|
#7 0x000014d146719412 in __GI___assert_fail (assertion=assertion@entry=0x55fda9335456 "m_curr_row <= m_rows_end", file=file@entry=0x55fda914e080 "/test/10.5_dbg/sql/log_event.h", line=line@entry=5186, function=function@entry=0x55fda93386c0 <Rows_log_event::unpack_current_row(rpl_group_info*)::__PRETTY_FUNCTION__> "int Rows_log_event::unpack_current_row(rpl_group_info*)") at assert.c:101
|
#8 0x000055fda8900539 in Rows_log_event::unpack_current_row (rgi=0x14d125c8d800, this=0x14d125cff288) at /test/10.5_dbg/sql/log_event.h:5186
|
#9 Rows_log_event::write_row (this=this@entry=0x14d125cff288, rgi=rgi@entry=0x14d125c8d800, overwrite=false) at /test/10.5_dbg/sql/log_event_server.cc:7196
|
#10 0x000055fda8901452 in Write_rows_log_event::do_exec_row (this=0x14d125cff288, rgi=0x14d125c8d800) at /test/10.5_dbg/sql/log_event_server.cc:7482
|
#11 0x000055fda88f2223 in Rows_log_event::do_apply_event (this=0x14d125cff288, rgi=0x14d125c8d800) at /test/10.5_dbg/sql/log_event_server.cc:5652
|
#12 0x000055fda861152d in Log_event::apply_event (rgi=0x14d125c8d800, this=0x14d125cff288) at /test/10.5_dbg/sql/log_event.h:1496
|
#13 mysql_client_binlog_statement (thd=thd@entry=0x14d125c15088) at /test/10.5_dbg/sql/sql_binlog.cc:357
|
#14 0x000055fda84ef4de in mysql_execute_command (thd=thd@entry=0x14d125c15088) at /test/10.5_dbg/sql/sql_parse.cc:5865
|
#15 0x000055fda84f715c in mysql_parse (thd=thd@entry=0x14d125c15088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14d1458b4350, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:7993
|
#16 0x000055fda84e3c60 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14d125c15088, packet=packet@entry=0x14d125c67089 "BINLOG 'wlZOTxMBAAAAKgAAADwCAAAAACkAAAAAAAEABHRlc3QAAnQxAAIDAwAC wlZOTxcBAAAAJgAAAGICAAAAACkAAAAAAAEAAv/8AgAAAAgAAAA='", packet_length=packet_length@entry=118, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:1874
|
#17 0x000055fda84e243a in do_command (thd=0x14d125c15088) at /test/10.5_dbg/sql/sql_parse.cc:1355
|
#18 0x000055fda863dc47 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x14d127d7a808, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1411
|
#19 0x000055fda863e363 in handle_one_connection (arg=arg@entry=0x14d127d7a808) at /test/10.5_dbg/sql/sql_connect.cc:1313
|
#20 0x000055fda8a9f902 in pfs_spawn_thread (arg=0x14d145046c88) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
|
#21 0x000014d14740c6db in start_thread (arg=0x14d1458b5700) at pthread_create.c:463
|
#22 0x000014d14680a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.1.46 (dbg), 10.2.33 (dbg), 10.3.24 (dbg), 10.4.14 (dbg), 10.5.4 (dbg)
Bug confirmed not present in:
MariaDB: 10.1.46 (opt), 10.2.33 (opt), 10.3.24 (opt), 10.4.14 (opt), 10.5.4 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.47 (dbg), 5.6.47 (opt), 5.7.29 (dbg), 5.7.29 (opt), 8.0.19 (dbg), 8.0.19 (opt)