Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 13.0, 13.1
-
Q4/2026 Replic. Maintenance
Description
Please use the CLI for testing. The issue does not seem to reproduce in MTR. Readily reproduces at the mariadb command line. No special setup required.
CHANGE MASTER TO MASTER_DELAY=1 FOR CHANNEL 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa#################################'; |
Leads to:
|
CS 13.0.2 84c246ca5387c0611f75097136ff4f4bea092aa3 (Debug, Clang 22.1.8-20260622) Build 22/07/2026 |
mariadbd: /test/13.0_dbg/mysys/mf_iocache.c:492: my_bool reinit_io_cache(IO_CACHE *, enum cache_type, my_off_t, my_bool, my_bool): Assertion `info->type == READ_CACHE || info->type == WRITE_CACHE' failed.
|
|
CS 13.0.2 84c246ca5387c0611f75097136ff4f4bea092aa3 (Debug, Clang 22.1.8-20260622) Build 22/07/2026 |
Core was generated by `/test/MD220726-mariadb-13.0.2-linux-x86_64-dbg/bin/mariadbd --no-defaults --loo'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
 |
[Current thread is 1 (LWP 2346804)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x00007438b684526e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00007438b68288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x00007438b682881b in __assert_fail_base (fmt=0x7438b69d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x63f64c0bab6d "info->type == READ_CACHE || info->type == WRITE_CACHE", file=file@entry=0x63f64c1cebd5 "/test/13.0_dbg/mysys/mf_iocache.c", line=line@entry=492, function=function@entry=0x63f64bf8b181 "my_bool reinit_io_cache(IO_CACHE *, enum cache_type, my_off_t, my_bool, my_bool)") at ./assert/assert.c:94
|
#6 0x00007438b683b507 in __assert_fail (assertion=0x63f64c0bab6d "info->type == READ_CACHE || info->type == WRITE_CACHE", file=0x63f64c1cebd5 "/test/13.0_dbg/mysys/mf_iocache.c", line=492, function=0x63f64bf8b181 "my_bool reinit_io_cache(IO_CACHE *, enum cache_type, my_off_t, my_bool, my_bool)") at ./assert/assert.c:103
|
#7 0x000063f64d76e580 in reinit_io_cache (info=0x6c37b00279d0, type=READ_CACHE, seek_offset=0, use_async_io=0 '\000', clear_cache=0 '\000') at /test/13.0_dbg/mysys/mf_iocache.c:492
|
#8 0x000063f64c8c39ef in MYSQL_BIN_LOG::find_log_pos (this=0x6c37b0027098, linfo=0x7438ac181d58, log_name=0x0, need_lock=false)at /test/13.0_dbg/sql/log.cc:5216
|
#9 0x000063f64c8c46c2 in MYSQL_BIN_LOG::reset_logs (this=0x6c37b0027098, thd=0x6c37b0000d60, create_new_log=false, init_state=0x0, init_state_len=0, next_log_number=0) at /test/13.0_dbg/sql/log.cc:5572
|
#10 0x000063f64cf6ae42 in Master_info_index::remove_master_info (this=0x63f64f681d80, mi=0x6c37b00243a0, clear_log_files=true)at /test/13.0_dbg/sql/rpl_mi.cc:1109
|
#11 0x000063f64cd7ac36 in mysql_execute_command (thd=0x6c37b0000d60, is_called_from_prepared_stmt=false) at /test/13.0_dbg/sql/sql_parse.cc:4191
|
#12 0x000063f64cd72e88 in mysql_parse (thd=0x6c37b0000d60, rawbuf=0x6c37b001a580 "CHANGE MASTER TO MASTER_DELAY=1 FOR CHANNEL '", 'a' <repeats 66 times>, '#' <repeats 33 times>, "'", length=145, parser_state=0x7438ac1839f0) at /test/13.0_dbg/sql/sql_parse.cc:7945
|
#13 0x000063f64cd705de in dispatch_command (command=COM_QUERY, thd=0x6c37b0000d60, packet=0x6c37b000b5f1 "CHANGE MASTER TO MASTER_DELAY=1 FOR CHANNEL '", 'a' <repeats 66 times>, '#' <repeats 33 times>, "'", packet_length=145, blocking=true) at /test/13.0_dbg/sql/sql_parse.cc:1903
|
#14 0x000063f64cd7390a in do_command (thd=0x6c37b0000d60, blocking=true)at /test/13.0_dbg/sql/sql_parse.cc:1437
|
#15 0x000063f64cf780be in do_handle_one_connection (connect=0x63f64f76bc80, put_in_cache=true) at /test/13.0_dbg/sql/sql_connect.cc:1510
|
#16 0x000063f64cf77ea1 in handle_one_connection (arg=0x63f64f74a5e0)at /test/13.0_dbg/sql/sql_connect.cc:1422
|
#17 0x00007438b689ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#18 0x00007438b6929c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
Bug Detection Matrix |
Rel o/d Build Commit UniqueID observed
|
CS 10.6 dbg 220726 5520c9aac5b6a5a9ea60d78582ddffa5349e2d0f No bug found
|
CS 10.6 opt 220726 5520c9aac5b6a5a9ea60d78582ddffa5349e2d0f No bug found
|
CS 10.11 dbg 220726 6268f6023fe3e8dc8ec81869dea711e14cbb28c3 info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 10.11 opt 220726 6268f6023fe3e8dc8ec81869dea711e14cbb28c3 No bug found
|
CS 11.4 dbg 220726 2cbce592c39dd39902c8f03db2b35069832fd10b info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 11.4 opt 220726 2cbce592c39dd39902c8f03db2b35069832fd10b No bug found
|
CS 11.8 dbg 220726 1d23deff797ab448f091e39756434903d81a98c2 info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 11.8 opt 220726 1d23deff797ab448f091e39756434903d81a98c2 No bug found
|
CS 12.3 dbg 220726 9b075b2cb53338f67e7230cc585e02d2d34514ed info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 12.3 opt 220726 9b075b2cb53338f67e7230cc585e02d2d34514ed No bug found
|
CS 13.0 dbg 220726 84c246ca5387c0611f75097136ff4f4bea092aa3 info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 13.0 opt 220726 84c246ca5387c0611f75097136ff4f4bea092aa3 No bug found
|
CS 13.1 dbg 220726 934108aab5cb541b3fc09672b5d4090558ab408e info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
CS 13.1 opt 220726 934108aab5cb541b3fc09672b5d4090558ab408e No bug found
|
ES 10.6 dbg 220726 fcecb2620f25965723d640decede7c018bcb1dcc No bug found
|
ES 10.6 opt 220726 fcecb2620f25965723d640decede7c018bcb1dcc No bug found
|
ES 11.4 dbg 220726 3b34189bfe675c18c4ced3ef531d016ea74c76f4 info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
ES 11.4 opt 220726 3b34189bfe675c18c4ced3ef531d016ea74c76f4 No bug found
|
ES 11.8 dbg 220726 4694e931d10fecf733c34f83ea2146d31b708eb3 info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
ES 11.8 opt 220726 4694e931d10fecf733c34f83ea2146d31b708eb3 No bug found
|
ES 12.3 dbg 220726 9d8abb61e913bec023cd8caeccad4b42717151cb info->type == READ_CACHE || info->type == WRITE_CACHE|SIGABRT|reinit_io_cache|MYSQL_BIN_LOG::find_log_pos|MYSQL_BIN_LOG::reset_logs|Master_info_index::remove_master_info
|
ES 12.3 opt 220726 9d8abb61e913bec023cd8caeccad4b42717151cb No bug found
|