Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.11
-
Can result in unexpected behaviour
-
Q3/2026 Replic. Maintenance
Description
Test case is mtr compatible
SET SESSION collation_connection=utf16_persian_ci; |
SET @@default_master_connection='a'; |
SHOW REPLICA STATUS;
|
Leads to:
|
CS 10.11.18 9ed3a7f9f6929aa34420a8616930844d3a35bb91 (Debug, MSAN, Clang 20.1.8-20250708) Build 25/05/2026 |
Version: '10.11.18-MariaDB-debug-log' socket: '/test/MSAN_MD250526-mariadb-10.11.18-linux-x86_64-dbg/mysql-test/var/tmp/mysqld.1.sock' port: 19000 Source distribution
|
==1196953==WARNING: MemorySanitizer: use-of-uninitialized-value
|
#0 0x5555580e0088 in skip_trailing_space /test/10.11/strings/strings_def.h:102:3
|
#1 0x5555580e0088 in my_hash_sort_utf8mb3 /test/10.11/strings/ctype-utf8.c:722:19
|
#2 0x555557f66115 in my_ci_hash_sort /test/10.11/include/m_ctype.h:1354:3
|
#3 0x555557f66115 in my_hash_sort /test/10.11/mysys/hash.c:48:3
|
#4 0x555557f669f2 in my_hash_first /test/10.11/mysys/hash.c:264:38
|
#5 0x555557f669f2 in my_hash_search /test/10.11/mysys/hash.c:236:10
|
#6 0x5555566ab965 in Master_info_index::get_master_info(st_mysql_const_lex_string const*, Sql_state_errno_level::enum_warning_level) /test/10.11/sql/rpl_mi.cc:1385:22
|
#7 0x5555566ac3dc in get_master_info(st_mysql_const_lex_string const*, Sql_state_errno_level::enum_warning_level) /test/10.11/sql/rpl_mi.cc:1330:31
|
#8 0x555555f40601 in Sql_cmd_show_slave_status::execute(THD*) /test/10.11/sql/slave.cc:1660:14
|
#9 0x555556210a96 in mysql_execute_command(THD*, bool) /test/10.11/sql/sql_parse.cc:6199:26
|
#10 0x5555561fe606 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/10.11/sql/sql_parse.cc:8221:18
|
#11 0x5555561f6f3f in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/10.11/sql/sql_parse.cc:1924:7
|
#12 0x5555561ffbd3 in do_command(THD*, bool) /test/10.11/sql/sql_parse.cc:1434:17
|
#13 0x5555566c287c in do_handle_one_connection(CONNECT*, bool) /test/10.11/sql/sql_connect.cc:1475:11
|
#14 0x5555566c2335 in handle_one_connection /test/10.11/sql/sql_connect.cc:1387:5
|
#15 0x5555573974c2 in pfs_spawn_thread /test/10.11/storage/perfschema/pfs.cc:2201:3
|
#16 0x7fffe669caa3 in start_thread nptl/pthread_create.c:447:8
|
#17 0x7fffe6729c6b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
|
Memory was marked as uninitialized
|
#0 0x555555dabadd in __msan_allocated_memory (/test/MSAN_MD250526-mariadb-10.11.18-linux-x86_64-dbg/bin/mariadbd+0x857add) (BuildId: 697e53181c54d24002f39226f37eee72fd74b5e1)
|
#1 0x555557fcc43d in my_malloc /test/10.11/mysys/my_malloc.c:116:7
|
|
|
SUMMARY: MemorySanitizer: use-of-uninitialized-value /test/10.11/strings/strings_def.h:102:3 in skip_trailing_space
|
|
Bug Signature |
MSAN|use-of-uninitialized-value|strings/strings_def.h|skip_trailing_space|my_hash_sort_utf8mb3|my_ci_hash_sort|my_hash_sort
|