Details
-
Bug
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6
-
clang-20 / CMAKE_BUILD_TYPE=Debug
-
Sprint 5 (10.03.2025), Sprint 6 (24.03.2025)
Description
clang-19/20 showing the following msan error on bootstrap in mtr tests:
2025-03-18 6:33:53 0 [Note] InnoDB: Setting file './ibdata1' size to 12 MB. Physically writing the file full; Please wait ...
|
2025-03-18 6:33:53 0 [Note] InnoDB: File './ibdata1' size is now 12 MB.
|
2025-03-18 6:33:53 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
|
2025-03-18 6:33:53 0 [Note] InnoDB: New log file created, LSN=10317
|
2025-03-18 6:33:53 0 [Note] InnoDB: Doublewrite buffer not found: creating new
|
2025-03-18 6:33:53 0 [Note] InnoDB: Doublewrite buffer created
|
2025-03-18 6:33:53 0 [Note] InnoDB: 128 rollback segments are active.
|
2025-03-18 6:33:53 0 [Note] InnoDB: Creating foreign key constraint system tables.
|
==8976==WARNING: MemorySanitizer: use-of-uninitialized-value
|
#0 0x55b3f5a61244 in mach_read_from_2(unsigned char const*) /source/storage/innobase/include/mach0data.inl:88:2
|
#1 0x55b3f5a6ce28 in rec_set_bit_field_2(unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) /source/storage/innobase/include/rem0rec.inl:202:5
|
#2 0x55b3f5a70639 in rec_set_n_fields_old(unsigned char*, unsigned long) /source/storage/innobase/include/rem0rec.inl:412:2
|
#3 0x55b3f5a1b972 in rec_convert_dtuple_to_rec_old(unsigned char*, dtuple_t const*, unsigned long) /source/storage/innobase/rem/rem0rec.cc:1377:2
|
#4 0x55b3f5a193d2 in rec_convert_dtuple_to_rec(unsigned char*, dict_index_t const*, dtuple_t const*, unsigned long) /source/storage/innobase/rem/rem0rec.cc:1741:9
|
#5 0x55b3f64bcdc7 in page_cur_tuple_insert(page_cur_t*, dtuple_t const*, dict_index_t*, unsigned short**, mem_block_info_t**, unsigned long, mtr_t*) /source/storage/innobase/include/page0cur.inl:272:8
|
#6 0x55b3f64b1d80 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /source/storage/innobase/btr/btr0cur.cc:3526:10
|
#7 0x55b3f5b7d2b5 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /source/storage/innobase/row/row0ins.cc:2796:10
|
#8 0x55b3f5b972bb in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /source/storage/innobase/row/row0ins.cc:3276:8
|
#9 0x55b3f5bd5ea4 in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3402:10
|
#10 0x55b3f5bd0105 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3568:8
|
#11 0x55b3f5ba0454 in row_ins(ins_node_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3705:18
|
#12 0x55b3f5b9ea5a in row_ins_step(que_thr_t*) /source/storage/innobase/row/row0ins.cc:3848:8
|
#13 0x55b3f5990062 in que_thr_step(que_thr_t*) /source/storage/innobase/que/que0que.cc:844:9
|
#14 0x55b3f598b085 in que_run_threads_low(que_thr_t*) /source/storage/innobase/que/que0que.cc:927:14
|
#15 0x55b3f598a544 in que_run_threads(que_thr_t*) /source/storage/innobase/que/que0que.cc:967:2
|
#16 0x55b3f598cba8 in que_eval_sql(pars_info_t*, char const*, bool, trx_t*) /source/storage/innobase/que/que0que.cc:1044:2
|
#17 0x55b3f680ffe3 in dict_create_or_check_foreign_constraint_tables() /source/storage/innobase/dict/dict0crea.cc:1471:8
|
#18 0x55b3f6020759 in srv_start(bool) /source/storage/innobase/srv/srv0start.cc:1911:8
|
#19 0x55b3f5051812 in innodb_init(void*) /source/storage/innobase/handler/ha_innodb.cc:4070:8
|
#20 0x55b3f2cfd58c in ha_initialize_handlerton(void*) /source/sql/handler.cc:648:37
|
#21 0x55b3f11d4e72 in plugin_do_initialize(st_plugin_int*, unsigned int&) /source/sql/sql_plugin.cc:1452:18
|
#22 0x55b3f11d2948 in plugin_initialize(st_mem_root*, st_plugin_int*, int*, char**, bool) /source/sql/sql_plugin.cc:1506:10
|
#23 0x55b3f11cf22e in plugin_init(int*, char**, int) /source/sql/sql_plugin.cc:1761:18
|
#24 0x55b3f06929fb in init_server_components() /source/sql/mysqld.cc:4954:7
|
#25 0x55b3f067e1cd in mysqld_main(int, char**) /source/sql/mysqld.cc:5562:7
|
#26 0x55b3f06693cb in main /source/sql/main.cc:25:10
|
#27 0x7f7cc56f0249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
|
#28 0x7f7cc56f0304 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27304) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
|
#29 0x55b3f05cddf0 in _start (/build/sql/mariadbd+0x83cdf0) (BuildId: 37bb3d53c27f7e246ce11e0b2d4fcbf2d73c74f7)
|
|
Memory was marked as uninitialized
|
#0 0x55b3f060b1fd in __msan_allocated_memory (/build/sql/mariadbd+0x87a1fd) (BuildId: 37bb3d53c27f7e246ce11e0b2d4fcbf2d73c74f7)
|
#1 0x55b3f6534609 in mem_heap_alloc(mem_block_info_t*, unsigned long) /source/storage/innobase/include/mem0mem.inl:206:2
|
#2 0x55b3f64bcc96 in page_cur_tuple_insert(page_cur_t*, dtuple_t const*, dict_index_t*, unsigned short**, mem_block_info_t**, unsigned long, mtr_t*) /source/storage/innobase/include/page0cur.inl:272:42
|
#3 0x55b3f64b1d80 in btr_cur_optimistic_insert(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, dtuple_t*, unsigned char**, big_rec_t**, unsigned long, que_thr_t*, mtr_t*) /source/storage/innobase/btr/btr0cur.cc:3526:10
|
#4 0x55b3f5b7d2b5 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*) /source/storage/innobase/row/row0ins.cc:2796:10
|
#5 0x55b3f5b972bb in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long) /source/storage/innobase/row/row0ins.cc:3276:8
|
#6 0x55b3f5bd5ea4 in row_ins_index_entry(dict_index_t*, dtuple_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3402:10
|
#7 0x55b3f5bd0105 in row_ins_index_entry_step(ins_node_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3568:8
|
#8 0x55b3f5ba0454 in row_ins(ins_node_t*, que_thr_t*) /source/storage/innobase/row/row0ins.cc:3705:18
|
#9 0x55b3f5b9ea5a in row_ins_step(que_thr_t*) /source/storage/innobase/row/row0ins.cc:3848:8
|
#10 0x55b3f5990062 in que_thr_step(que_thr_t*) /source/storage/innobase/que/que0que.cc:844:9
|
#11 0x55b3f598b085 in que_run_threads_low(que_thr_t*) /source/storage/innobase/que/que0que.cc:927:14
|
#12 0x55b3f598a544 in que_run_threads(que_thr_t*) /source/storage/innobase/que/que0que.cc:967:2
|
#13 0x55b3f598cba8 in que_eval_sql(pars_info_t*, char const*, bool, trx_t*) /source/storage/innobase/que/que0que.cc:1044:2
|
#14 0x55b3f680ffe3 in dict_create_or_check_foreign_constraint_tables() /source/storage/innobase/dict/dict0crea.cc:1471:8
|
#15 0x55b3f6020759 in srv_start(bool) /source/storage/innobase/srv/srv0start.cc:1911:8
|
#16 0x55b3f5051812 in innodb_init(void*) /source/storage/innobase/handler/ha_innodb.cc:4070:8
|
#17 0x55b3f2cfd58c in ha_initialize_handlerton(void*) /source/sql/handler.cc:648:37
|
#18 0x55b3f11d4e72 in plugin_do_initialize(st_plugin_int*, unsigned int&) /source/sql/sql_plugin.cc:1452:18
|
#19 0x55b3f11d2948 in plugin_initialize(st_mem_root*, st_plugin_int*, int*, char**, bool) /source/sql/sql_plugin.cc:1506:10
|
|
SUMMARY: MemorySanitizer: use-of-uninitialized-value /source/storage/innobase/include/mach0data.inl:88:2 in mach_read_from_2(unsigned char const*)
|
Exiting
|
Attachments
Issue Links
- blocks
-
MDBF-793 Retire MSAN clang-15 builder, upgrade to clang-19
-
- In Progress
-