2022-05-08 17:15:29 0 [Note] InnoDB: Using Linux native AIO 2022-05-08 17:15:29 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-08 17:15:29 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-08 17:15:29 0 [Note] InnoDB: Uses event mutexes 2022-05-08 17:15:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-08 17:15:29 0 [Note] InnoDB: Number of pools: 1 2022-05-08 17:15:29 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-08 17:15:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-08 17:15:29 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-08 17:15:29 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:15:29 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=8138069951 2022-05-08 17:15:29 0 [Note] InnoDB: Starting final batch to recover 11 pages from redo log. 2022-05-08 17:15:29 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-08 17:15:29 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-08 17:15:29 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-08 17:15:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-08 17:15:29 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-08 17:15:30 0 [Note] InnoDB: 10.3.35 started; log sequence number 8138077355; transaction id 23607244 2022-05-08 17:15:30 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-08 17:15:30 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-08 17:15:30 0 [Note] Recovering after a crash using tc.log 2022-05-08 17:15:30 0 [Note] Starting crash recovery... 2022-05-08 17:15:30 0 [Note] InnoDB: Buffer pool(s) load completed at 220508 17:15:30 2022-05-08 17:15:30 0 [Note] Crash recovery finished. 2022-05-08 17:15:30 0 [Note] Server socket created on IP: '::'. 2022-05-08 17:15:30 0 [Note] Reading of all Master_info entries succeeded 2022-05-08 17:15:30 0 [Note] Added new Master_info '' to hash table 2022-05-08 17:15:30 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 ================================================================= ==3576==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000268 (pc 0x555556765d39 bp 0x7fffffff9e30 sp 0x7fffffff9e10 T0) ==3576==The signal is caused by a READ memory access. ==3576==Hint: address points to the zero page. #0 0x555556765d38 in update_depend_map_for_order /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:13398 #1 0x555556766355 in remove_const /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:13477 #2 0x55555670d24c in JOIN::optimize_stage2() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:2407 #3 0x555556708cca in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:2003 #4 0x555556703e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #5 0x5555565eda69 in st_select_lex::optimize_unflattened_subqueries(bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_lex.cc:4124 #6 0x555556b2b9f7 in JOIN::optimize_constant_subqueries() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/opt_subselect.cc:5377 #7 0x555556705ad7 in JOIN::optimize_inner() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1718 #8 0x555556703e02 in JOIN::optimize() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_select.cc:1519 #9 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 #10 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 #11 0x5555566621a3 in execute_sqlcom_select /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:6339 #12 0x55555665017e in mysql_execute_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:3870 #13 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 #14 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 #15 0x55555663f168 in do_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1398 #16 0x555556a3c56a in do_handle_one_connection(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_connect.cc:1403 #17 0x55555636771e in handle_connection_in_main_thread(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6631 #18 0x5555563681de in create_new_thread /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6738 #19 0x5555563693a1 in handle_connections_sockets() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6996 #20 0x555556366d45 in mysqld_main(int, char**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6290 #21 0x55555634ca79 in main /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/main.cc:25 #22 0x7ffff3d35c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #23 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_select.cc:13398 in update_depend_map_for_order ==3576==ABORTING