2022-05-08 17:03:19 0 [Note] InnoDB: Using Linux native AIO 2022-05-08 17:03:19 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-08 17:03:19 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-08 17:03:19 0 [Note] InnoDB: Uses event mutexes 2022-05-08 17:03:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-08 17:03:19 0 [Note] InnoDB: Number of pools: 1 2022-05-08 17:03:19 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-08 17:03:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-08 17:03:19 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-08 17:03:19 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-08 17:03:19 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=8137061645 2022-05-08 17:03:19 0 [Note] InnoDB: Starting final batch to recover 11 pages from redo log. 2022-05-08 17:03:20 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-08 17:03:20 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-08 17:03:20 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-08 17:03:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-08 17:03:20 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-08 17:03:20 0 [Note] InnoDB: Waiting for purge to start 2022-05-08 17:03:20 0 [Note] InnoDB: 10.3.35 started; log sequence number 8137069033; transaction id 23604131 2022-05-08 17:03:20 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-08 17:03:20 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-08 17:03:20 0 [Note] Recovering after a crash using tc.log 2022-05-08 17:03:20 0 [Note] Starting crash recovery... 2022-05-08 17:03:20 0 [Note] InnoDB: Buffer pool(s) load completed at 220508 17:03:20 2022-05-08 17:03:20 0 [Note] Crash recovery finished. 2022-05-08 17:03:20 0 [Note] Server socket created on IP: '::'. 2022-05-08 17:03:20 0 [Note] Reading of all Master_info entries succeeded 2022-05-08 17:03:20 0 [Note] Added new Master_info '' to hash table 2022-05-08 17:03:20 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 ================================================================= ==24334==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55555658cc5f bp 0x7fffffff99f0 sp 0x7fffffff99e0 T0) ==24334==The signal is caused by a READ memory access. ==24334==Hint: address points to the zero page. #0 0x55555658cc5e in st_select_lex::next_select() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_lex.h:1201 #1 0x555557025e36 in Item_subselect::is_expensive() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_subselect.cc:610 #2 0x5555570615d9 in Item_subselect::is_expensive_processor(void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_subselect.h:256 #3 0x55555702686a in Item_subselect::walk(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_subselect.cc:718 #4 0x5555564f85d2 in Item_args::walk_args(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:2278 #5 0x5555564f93d6 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 #6 0x555556eac264 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 #7 0x5555564f85d2 in Item_args::walk_args(bool (Item::*)(void*), bool, void*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:2278 #8 0x5555564f93d6 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 #9 0x5555563a805b in Item::is_expensive() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:2080 #10 0x555556ee846b in Item_cond::fix_fields(THD*, Item**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item_cmpfunc.cc:4633 #11 0x5555563c34de in Item::fix_fields_if_needed(THD*, Item**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/item.h:829 #12 0x555556b0f455 in convert_subq_to_sj /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/opt_subselect.cc:1853 #13 0x555556b0a7f5 in convert_join_subqueries_to_semijoins(JOIN*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/opt_subselect.cc:1227 #14 0x555556704e41 in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1635 #15 0x555556703e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #16 0x555556721499 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 #17 0x5555566f7585 in handle_select(THD*, LEX*, select_result*, unsigned long) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:372 #18 0x5555566621a3 in execute_sqlcom_select /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:6339 #19 0x55555665017e in mysql_execute_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:3870 #20 0x55555666c414 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 #21 0x555556643319 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 #22 0x55555663f168 in do_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1398 #23 0x555556a3c56a in do_handle_one_connection(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_connect.cc:1403 #24 0x55555636771e in handle_connection_in_main_thread(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6631 #25 0x5555563681de in create_new_thread /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6738 #26 0x5555563693a1 in handle_connections_sockets() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6996 #27 0x555556366d45 in mysqld_main(int, char**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6290 #28 0x55555634ca79 in main /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/main.cc:25 #29 0x7ffff3d35c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #30 0x55555634c979 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/sql_lex.h:1201 in st_select_lex::next_select() ==24334==ABORTING