2022-05-08 17:11:59 0 [Note] InnoDB: Using Linux native AIO 2022-05-08 17:11:59 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-08 17:11:59 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-08 17:11:59 0 [Note] InnoDB: Uses event mutexes 2022-05-08 17:11:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-08 17:11:59 0 [Note] InnoDB: Number of pools: 1 2022-05-08 17:11:59 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-08 17:11:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-08 17:11:59 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-08 17:11:59 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:11:59 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=8137779182 2022-05-08 17:11:59 0 [Note] InnoDB: Starting final batch to recover 11 pages from redo log. 2022-05-08 17:11:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-08 17:11:59 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-08 17:11:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-08 17:11:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-08 17:11:59 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-08 17:11:59 0 [Note] InnoDB: 10.3.35 started; log sequence number 8137786692; transaction id 23606338 2022-05-08 17:11:59 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-08 17:11:59 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-08 17:11:59 0 [Note] Recovering after a crash using tc.log 2022-05-08 17:11:59 0 [Note] Starting crash recovery... 2022-05-08 17:11:59 0 [Note] InnoDB: Buffer pool(s) load completed at 220508 17:11:59 2022-05-08 17:11:59 0 [Note] Crash recovery finished. 2022-05-08 17:11:59 0 [Note] Server socket created on IP: '::'. 2022-05-08 17:11:59 0 [Note] Reading of all Master_info entries succeeded 2022-05-08 17:11:59 0 [Note] Added new Master_info '' to hash table 2022-05-08 17:11:59 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 ================================================================= ==32661==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000088 (pc 0x555556bc7c37 bp 0x7fffffff88c0 sp 0x7fffffff88b0 T0) ==32661==The signal is caused by a READ memory access. ==32661==Hint: address points to the zero page. #0 0x555556bc7c36 in With_element::get_name() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.h:225 #1 0x555556bc7c7b in With_element::get_name_str() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.h:226 #2 0x555556bc2582 in With_clause::find_table_def(TABLE_LIST*, With_element*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:437 #3 0x555556bc2764 in find_table_def_in_with_clauses(TABLE_LIST*, st_unit_ctxt_elem*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:481 #4 0x555556bc2af2 in With_element::check_dependencies_in_select(st_select_lex*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:542 #5 0x555556bc32b9 in With_element::check_dependencies_in_unit(st_select_lex_unit*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:653 #6 0x555556bc2de6 in With_element::check_dependencies_in_select(st_select_lex*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:568 #7 0x555556bc32b9 in With_element::check_dependencies_in_unit(st_select_lex_unit*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:653 #8 0x555556bc33c7 in With_element::check_dependencies_in_with_clause(With_clause*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:689 #9 0x555556bc31b8 in With_element::check_dependencies_in_unit(st_select_lex_unit*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:647 #10 0x555556bc2de6 in With_element::check_dependencies_in_select(st_select_lex*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:568 #11 0x555556bc32b9 in With_element::check_dependencies_in_unit(st_select_lex_unit*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:653 #12 0x555556bc2de6 in With_element::check_dependencies_in_select(st_select_lex*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:568 #13 0x555556bc32b9 in With_element::check_dependencies_in_unit(st_select_lex_unit*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:653 #14 0x555556bc2de6 in With_element::check_dependencies_in_select(st_select_lex*, st_unit_ctxt_elem*, bool, unsigned long long*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:568 #15 0x555556bc2348 in With_element::check_dependencies_in_spec() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:405 #16 0x555556bc1cfb in With_clause::check_dependencies() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:334 #17 0x555556bc0bac in LEX::check_dependencies_in_with_clauses() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:84 #18 0x555556bc19e5 in LEX::check_cte_dependencies_and_resolve_references() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_cte.cc:276 #19 0x555556c692a6 in MYSQLparse(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_yacc.yy:9257 #20 0x55555667b8bc in parse_sql(THD*, Parser_state*, Object_creation_ctx*, bool) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:10201 #21 0x55555666bf87 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:7822 #22 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 #23 0x55555663f168 in do_command(THD*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_parse.cc:1398 #24 0x555556a3c56a in do_handle_one_connection(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_connect.cc:1403 #25 0x55555636771e in handle_connection_in_main_thread(CONNECT*) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6631 #26 0x5555563681de in create_new_thread /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6738 #27 0x5555563693a1 in handle_connections_sockets() /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6996 #28 0x555556366d45 in mysqld_main(int, char**) /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/mysqld.cc:6290 #29 0x55555634ca79 in main /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/main.cc:25 #30 0x7ffff3d35c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #31 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_cte.h:225 in With_element::get_name() ==32661==ABORTING