Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
11.7
-
None
Description
https://buildbot.mariadb.org/#/builders/572/builds/12810/steps/7/logs/stdio 11.7-7391f7143b462b29ecdaee049c5ebdfd1aefa6d7 |
 |
main.vector 'innodb' w32 [ fail ]
|
Test ended at 2024-09-16 16:36:56
|
CURRENT_TEST: main.vector
|
mysqltest: At line 355: query 'alter table t1 engine=myisam' failed: <Unknown> (2013): Lost connection to server during query
|
The result from queries just before the failure was:
|
< snip >
|
drop index if exists v on t1;
|
Warnings:
|
Note 1091 Can't DROP INDEX `v`; check that it exists
|
db.opt
|
t1.frm
|
t1.ibd
|
show create table t1;
|
Table Create Table
|
t1 CREATE TABLE `t1` (
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`v` blob NOT NULL,
|
PRIMARY KEY (`id`)
|
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
create vector index if not exists v on t1(v);
|
alter table t1 rename key if exists v to w;
|
alter table t1 rename key if exists w to v;
|
alter table t1 alter key if exists v ignored;
|
alter table t1 alter key if exists v not ignored;
|
# ENGINE
|
alter table t1 engine=myisam;
|
More results from queries before failure can be found in /home/buildbot/amd64-debian-11-msan/build/mysql-test/var/32/log/vector.log
|
...
|
024-09-16 16:36:51 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
|
2024-09-16 16:36:51 0 [Note] /home/buildbot/amd64-debian-11-msan/build/sql/mariadbd: ready for connections.
|
Version: '11.7.0-MariaDB-debug-log' socket: '/home/buildbot/amd64-debian-11-msan/build/mysql-test/var/tmp/32/mysqld.1.sock' port: 20020 Source distribution
|
2024-09-16 16:36:53 4 [ERROR] InnoDB: Cannot rename './test1/t1#i#01.ibd' to './test1/t2#i#01.ibd' because the source file does not exist.
|
2024-09-16 16:36:53 4 [ERROR] InnoDB: File ./test1/t1#i#01.ibd was not found
|
Uninitialized bytes in __interceptor_pwrite64 at offset 5 inside [0x70b00001153c, 32)
|
==97758==WARNING: MemorySanitizer: use-of-uninitialized-value
|
#0 0x55b8e9419dd0 in my_pwrite /home/buildbot/amd64-debian-11-msan/build/mysys/my_pread.c:159:19
|
#1 0x55b8e9271bb0 in inline_mysql_file_pwrite /home/buildbot/amd64-debian-11-msan/build/include/mysql/psi/mysql_file.h:1226:13
|
#2 0x55b8e9271bb0 in mi_nommap_pwrite /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_dynrec.c:259:10
|
#3 0x55b8e927a3b1 in _mi_write_part_record /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_dynrec.c:767:9
|
#4 0x55b8e927385f in write_dynamic_record /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_dynrec.c:371:9
|
#5 0x55b8e92765b0 in _mi_write_blob_record /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_dynrec.c:295:9
|
#6 0x55b8e92f3d19 in mi_write /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_write.c:146:9
|
#7 0x55b8e920311d in ha_myisam::write_row(unsigned char const*) /home/buildbot/amd64-debian-11-msan/build/storage/myisam/ha_myisam.cc:963:10
|
#8 0x55b8e754742b in handler::ha_write_row(unsigned char const*) /home/buildbot/amd64-debian-11-msan/build/sql/handler.cc:8150:3
|
#9 0x55b8e7be7b76 in FVectorNode::save(TABLE*) /home/buildbot/amd64-debian-11-msan/build/sql/vector_mhnsw.cc:1002:23
|
#10 0x55b8e7be8d5b in mhnsw_insert(TABLE*, st_key*) /home/buildbot/amd64-debian-11-msan/build/sql/vector_mhnsw.cc:1193:25
|
#11 0x55b8e653554e in TABLE::hlindexes_on_insert() /home/buildbot/amd64-debian-11-msan/build/sql/sql_base.cc:9925:18
|
#12 0x55b8e754791d in handler::ha_write_row(unsigned char const*) /home/buildbot/amd64-debian-11-msan/build/sql/handler.cc:8154:34
|
#13 0x55b8e6ba5d86 in copy_data_between_tables(THD*, TABLE*, TABLE*, bool, unsigned int, st_order*, unsigned long long*, unsigned long long*, Alter_info*, Alter_table_ctx*, bool, unsigned long long) /home/buildbot/amd64-debian-11-msan/build/sql/sql_table.cc:12491:24
|
#14 0x55b8e6b82bb5 in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, TABLE_LIST*, Recreate_info*, Alter_info*, unsigned int, st_order*, bool, bool) /home/buildbot/amd64-debian-11-msan/build/sql/sql_table.cc:11586:9
|
#15 0x55b8e6e04155 in Sql_cmd_alter_table::execute(THD*) /home/buildbot/amd64-debian-11-msan/build/sql/sql_alter.cc:701:11
|
#16 0x55b8e676e981 in mysql_execute_command(THD*, bool) /home/buildbot/amd64-debian-11-msan/build/sql/sql_parse.cc:5852:26
|
#17 0x55b8e6757409 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /home/buildbot/amd64-debian-11-msan/build/sql/sql_parse.cc:7879:18
|
#18 0x55b8e674d5e6 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /home/buildbot/amd64-debian-11-msan/build/sql/sql_parse.cc:1892:7
|
#19 0x55b8e6758b32 in do_command(THD*, bool) /home/buildbot/amd64-debian-11-msan/build/sql/sql_parse.cc:1405:17
|
#20 0x55b8e6de08e6 in do_handle_one_connection(CONNECT*, bool) /home/buildbot/amd64-debian-11-msan/build/sql/sql_connect.cc:1448:11
|
#21 0x55b8e6ddfede in handle_one_connection /home/buildbot/amd64-debian-11-msan/build/sql/sql_connect.cc:1350:5
|
#22 0x55b8e820734f in pfs_spawn_thread /home/buildbot/amd64-debian-11-msan/build/storage/perfschema/pfs.cc:2198:3
|
#23 0x7fabe93c5ea6 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7ea6) (BuildId: 255e355c207aba91a59ae1f808e3b4da443abf0c)
|
#24 0x7fabe8dcfa6e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xfba6e) (BuildId: 2b86a1968781038c0766b17c1ea11a2a71d7d907)
|
Uninitialized value was stored to memory at
|
#0 0x55b8e61921f9 in __msan_memcpy (/home/buildbot/amd64-debian-11-msan/build/sql/mariadbd+0x90f1f9) (BuildId: 91e2093e8c0fef4f0236d256d1edb89eeca8dc2c)
|
#1 0x55b8e927275c in _mi_rec_pack /home/buildbot/amd64-debian-11-msan/build/storage/myisam/mi_dynrec.c:1077:7
|
Uninitialized value was stored to memory at
|
#0 0x55b8e7be82b0 in Field::set_notnull(long long) /home/buildbot/amd64-debian-11-msan/build/sql/field.h:1458:41
|
#1 0x55b8e7be82b0 in FVectorNode::save(TABLE*) /home/buildbot/amd64-debian-11-msan/build/sql/vector_mhnsw.cc:971:31
|
Memory was marked as uninitialized
|
#0 0x55b8e6198bbd in __msan_allocated_memory (/home/buildbot/amd64-debian-11-msan/build/sql/mariadbd+0x915bbd) (BuildId: 91e2093e8c0fef4f0236d256d1edb89eeca8dc2c)
|
#1 0x55b8e9415fa7 in my_malloc /home/buildbot/amd64-debian-11-msan/build/mysys/my_malloc.c:120:7
|
SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/buildbot/amd64-debian-11-msan/build/mysys/my_pread.c:159:19 in my_pwrite
|
Exiting
|
240916 16:36:55 [ERROR] mysqld got signal 6 ;
|
Attachments
Issue Links
- is caused by
-
MDEV-34939 vector search in 11.7
- Closed