2022-05-18 20:21:49 0 [Note] InnoDB: Using Linux native AIO 2022-05-18 20:21:49 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-18 20:21:49 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-18 20:21:49 0 [Note] InnoDB: Uses event mutexes 2022-05-18 20:21:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-18 20:21:49 0 [Note] InnoDB: Number of pools: 1 2022-05-18 20:21:49 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-18 20:21:49 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-18 20:21:49 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-18 20:21:49 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2022-05-18 20:21:49 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2157510 2022-05-18 20:21:49 0 [Note] InnoDB: Starting final batch to recover 20 pages from redo log. 2022-05-18 20:21:50 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-18 20:21:50 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-18 20:21:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-18 20:21:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-18 20:21:50 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-18 20:21:50 0 [Note] InnoDB: 10.3.35 started; log sequence number 2169064; transaction id 1419 2022-05-18 20:21:50 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-18 20:21:50 0 [Note] InnoDB: Buffer pool(s) load completed at 220518 20:21:50 2022-05-18 20:21:50 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-18 20:21:50 0 [Note] Recovering after a crash using tc.log 2022-05-18 20:21:50 0 [Note] Starting crash recovery... 2022-05-18 20:21:50 0 [Note] Crash recovery finished. 2022-05-18 20:21:50 0 [Note] Server socket created on IP: '::'. 2022-05-18 20:21:50 0 [Note] Reading of all Master_info entries succeeded 2022-05-18 20:21:50 0 [Note] Added new Master_info '' to hash table 2022-05-18 20:21:50 0 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '10.3.35-MariaDB-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution ASAN:DEADLYSIGNAL ================================================================= ==15716==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000359 (pc 0x561139c04395 bp 0x7ffd5602f250 sp 0x7ffd5602f160 T0) ==15716==The signal is caused by a READ memory access. ==15716==Hint: address points to the zero page. #0 0x561139c04394 in TABLE_LIST::set_check_materialized() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/table.cc:5997 #1 0x561139781e06 in TABLE_LIST::set_materialized_derived() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/table.h:2744 #2 0x56113974fdf1 in find_dup_table /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_base.cc:1114 #3 0x5611397501b9 in unique_table(THD*, TABLE_LIST*, TABLE_LIST*, unsigned int) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_base.cc:1176 #4 0x561139835d63 in mysql_prepare_insert(THD*, TABLE_LIST*, TABLE*, List&, List*, List&, List&, enum_duplicates, Item**, bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_insert.cc:1605 #5 0x56113982ecc2 in mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_insert.cc:772 #6 0x5611398dec8d in mysql_execute_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:4504 #7 0x5611398f7414 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:7870 #8 0x5611398ce319 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1941 #9 0x5611398ca168 in do_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1398 #10 0x561139cc756a in do_handle_one_connection(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_connect.cc:1403 #11 0x5611395f271e in handle_connection_in_main_thread(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6631 #12 0x5611395f31de in create_new_thread /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6738 #13 0x5611395f43a1 in handle_connections_sockets() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6996 #14 0x5611395f1d45 in mysqld_main(int, char**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6290 #15 0x5611395d7a79 in main /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/main.cc:25 #16 0x7f19fd289c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #17 0x5611395d7979 in _start (/usr/local/mysql/bin/mysqld+0xdf8979) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/table.cc:5997 in TABLE_LIST::set_check_materialized() ==15716==ABORTING