2022-05-12 10:44:28 0 [Note] InnoDB: Using Linux native AIO 2022-05-12 10:44:28 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-12 10:44:28 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-12 10:44:28 0 [Note] InnoDB: Uses event mutexes 2022-05-12 10:44:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-12 10:44:28 0 [Note] InnoDB: Number of pools: 1 2022-05-12 10:44:28 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-12 10:44:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-12 10:44:28 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-12 10:44:28 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-12 10:44:28 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2169428 2022-05-12 10:44:28 0 [Note] InnoDB: Starting final batch to recover 11 pages from redo log. 2022-05-12 10:44:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-12 10:44:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-12 10:44:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-12 10:44:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-12 10:44:28 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-12 10:44:28 0 [Note] InnoDB: 10.3.35 started; log sequence number 2176387; transaction id 1746 2022-05-12 10:44:28 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-12 10:44:28 0 [Note] InnoDB: Buffer pool(s) load completed at 220512 10:44:28 2022-05-12 10:44:28 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-12 10:44:28 0 [Note] Recovering after a crash using tc.log 2022-05-12 10:44:28 0 [Note] Starting crash recovery... 2022-05-12 10:44:28 0 [Note] Crash recovery finished. 2022-05-12 10:44:28 0 [Note] Server socket created on IP: '::'. 2022-05-12 10:44:28 0 [Note] Reading of all Master_info entries succeeded 2022-05-12 10:44:28 0 [Note] Added new Master_info '' to hash table 2022-05-12 10:44:28 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 ================================================================= ==15758==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000198 (pc 0x55d0d694fab0 bp 0x7ffc7f0663e0 sp 0x7ffc7f066020 T0) ==15758==The signal is caused by a READ memory access. ==15758==Hint: address points to the zero page. #0 0x55d0d694faaf in Item_exists_subselect::exists2in_processor(void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_subselect.cc:2996 #1 0x55d0d693486a in Item_subselect::walk(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_subselect.cc:718 #2 0x55d0d67ba264 in Item_direct_view_ref::walk(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:5398 #3 0x55d0d5e065d2 in Item_args::walk_args(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:2278 #4 0x55d0d5e073d6 in Item_func_or_sum::walk(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:4825 #5 0x55d0d6012ce0 in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1616 #6 0x55d0d6011e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #7 0x55d0d5efba69 in st_select_lex::optimize_unflattened_subqueries(bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_lex.cc:4124 #8 0x55d0d64399f7 in JOIN::optimize_constant_subqueries() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/opt_subselect.cc:5377 #9 0x55d0d6013ad7 in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1718 #10 0x55d0d6011e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #11 0x55d0d5efba69 in st_select_lex::optimize_unflattened_subqueries(bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_lex.cc:4124 #12 0x55d0d64399f7 in JOIN::optimize_constant_subqueries() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/opt_subselect.cc:5377 #13 0x55d0d6013ad7 in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1718 #14 0x55d0d6011e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #15 0x55d0d602f499 in mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:4340 #16 0x55d0d6005585 in handle_select(THD*, LEX*, select_result*, unsigned long) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:372 #17 0x55d0d5f701a3 in execute_sqlcom_select /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:6339 #18 0x55d0d5f5e17e in mysql_execute_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:3870 #19 0x55d0d5f7a414 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 #20 0x55d0d5f51319 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 #21 0x55d0d5f4d168 in do_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1398 #22 0x55d0d634a56a in do_handle_one_connection(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_connect.cc:1403 #23 0x55d0d5c7571e in handle_connection_in_main_thread(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6631 #24 0x55d0d5c761de in create_new_thread /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6738 #25 0x55d0d5c773a1 in handle_connections_sockets() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6996 #26 0x55d0d5c74d45 in mysqld_main(int, char**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6290 #27 0x55d0d5c5aa79 in main /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/main.cc:25 #28 0x7f02d5b88c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #29 0x55d0d5c5a979 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/item_subselect.cc:2996 in Item_exists_subselect::exists2in_processor(void*) ==15758==ABORTING