Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
11.3(EOL)
-
None
Description
SET character_set_connection=ucs2; |
SET default_master_connection='MASTER1'; |
CHANGE MASTER TO master_host='a'; |
FLUSH RELAY LOGS;
|
SET NAMES utf8,character_set_connection=utf32; |
SET default_master_connection='MASTER 2'; |
CHANGE MASTER TO master_delay=0; |
SET SESSION default_master_connection='MASTER1'; |
FLUSH LOGS;
|
START ALL SLAVES; |
CHANGE MASTER TO master_use_gtid=no; |
Leads to:
|
11.3.0 8ad1e26b1bafa4ed9928306efc10c047f2274108 (Debug) |
mariadbd: /test/11.3_dbg/mysys/mf_iocache.c:428: reinit_io_cache: Assertion `info->type == READ_CACHE || info->type == WRITE_CACHE' failed.
|
|
11.3.0 8ad1e26b1bafa4ed9928306efc10c047f2274108 (Debug) |
Core was generated by `/test/MD080923-mariadb-11.3.0-linux-x86_64-dbg/bin/mariadbd --no-defaults --cor'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x14cb120b0700 (LWP 1675405))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014cb2ee77859 in __GI_abort () at abort.c:79
|
#2 0x000014cb2ee77729 in __assert_fail_base (fmt=0x14cb2f00d588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x564f052322e8 "info->type == READ_CACHE || info->type == WRITE_CACHE", file=0x564f05232110 "/test/11.3_dbg/mysys/mf_iocache.c", line=428, function=<optimized out>) at assert.c:92
|
#3 0x000014cb2ee88fd6 in __GI___assert_fail (assertion=assertion@entry=0x564f052322e8 "info->type == READ_CACHE || info->type == WRITE_CACHE", file=file@entry=0x564f05232110 "/test/11.3_dbg/mysys/mf_iocache.c", line=line@entry=428, function=function@entry=0x564f05232400 <__PRETTY_FUNCTION__.18252> "reinit_io_cache") at assert.c:101
|
#4 0x0000564f04db2d2b in reinit_io_cache (info=info@entry=0x14cad405aac0, type=type@entry=READ_CACHE, seek_offset=seek_offset@entry=0, use_async_io=use_async_io@entry=0 '\000', clear_cache=clear_cache@entry=0 '\000') at /test/11.3_dbg/mysys/mf_iocache.c:428
|
#5 0x0000564f04811805 in MYSQL_BIN_LOG::find_log_pos (this=this@entry=0x14cad405a278, linfo=linfo@entry=0x14cb120ae7d0, log_name=log_name@entry=0x0, need_lock=need_lock@entry=false) at /test/11.3_dbg/sql/log.cc:4426
|
#6 0x0000564f04824689 in MYSQL_BIN_LOG::reset_logs (this=this@entry=0x14cad405a278, thd=0x14cad4000d48, create_new_log=create_new_log@entry=false, init_state=init_state@entry=0x0, init_state_len=init_state_len@entry=0, next_log_number=next_log_number@entry=0) at /test/11.3_dbg/sql/log.cc:4667
|
#7 0x0000564f04513ee8 in Master_info_index::remove_master_info (this=0x564f06f45f20, mi=mi@entry=0x14cad4057c90, clear_log_files=clear_log_files@entry=true) at /test/11.3_dbg/sql/rpl_mi.cc:1481
|
#8 0x0000564f043b62be in mysql_execute_command (thd=thd@entry=0x14cad4000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/11.3_dbg/sql/sql_parse.cc:4116
|
#9 0x0000564f043a3bfb in mysql_parse (thd=thd@entry=0x14cad4000d48, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14cb120af2c0) at /test/11.3_dbg/sql/sql_parse.cc:7760
|
#10 0x0000564f043b12cc in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14cad4000d48, packet=packet@entry=0x14cad400af59 "CHANGE MASTER TO master_use_gtid=no", packet_length=packet_length@entry=35, blocking=blocking@entry=true) at /test/11.3_dbg/sql/sql_class.h:1489
|
#11 0x0000564f043b3784 in do_command (thd=0x14cad4000d48, blocking=blocking@entry=true) at /test/11.3_dbg/sql/sql_parse.cc:1406
|
#12 0x0000564f0451c375 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x564f06f80ec8, put_in_cache=put_in_cache@entry=true) at /test/11.3_dbg/sql/sql_connect.cc:1445
|
#13 0x0000564f0451c844 in handle_one_connection (arg=0x564f06f80ec8) at /test/11.3_dbg/sql/sql_connect.cc:1347
|
#14 0x000014cb2f388609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#15 0x000014cb2ef74133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 11.3.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.32 (dbg), 10.4.32 (opt), 10.5.23 (dbg), 10.5.23 (opt), 10.6.16 (dbg), 10.6.16 (opt), 10.9.8 (opt), 10.9.8 (dbg), 10.10.7 (dbg), 10.10.7 (opt), 10.11.6 (dbg), 10.11.6 (opt), 11.0.4 (dbg), 11.0.4 (opt), 11.1.3 (dbg), 11.1.3 (opt), 11.2.2 (dbg), 11.2.2 (opt), 11.3.0 (opt)