2022-05-08 16:58:32 0 [Note] InnoDB: Using Linux native AIO 2022-05-08 16:58:32 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-08 16:58:32 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-08 16:58:32 0 [Note] InnoDB: Uses event mutexes 2022-05-08 16:58:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-08 16:58:32 0 [Note] InnoDB: Number of pools: 1 2022-05-08 16:58:32 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-08 16:58:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-08 16:58:33 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-08 16:58:33 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 16:58:33 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=8136670989 2022-05-08 16:58:33 0 [Note] InnoDB: Starting final batch to recover 12 pages from redo log. 2022-05-08 16:58:33 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-08 16:58:33 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-08 16:58:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-08 16:58:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-08 16:58:33 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-08 16:58:33 0 [Note] InnoDB: 10.3.35 started; log sequence number 8136678308; transaction id 23602934 2022-05-08 16:58:33 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-08 16:58:33 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-08 16:58:33 0 [Note] Recovering after a crash using tc.log 2022-05-08 16:58:33 0 [Note] Starting crash recovery... 2022-05-08 16:58:33 0 [Note] InnoDB: Buffer pool(s) load completed at 220508 16:58:33 2022-05-08 16:58:33 0 [Note] Crash recovery finished. 2022-05-08 16:58:33 0 [Note] Server socket created on IP: '::'. 2022-05-08 16:58:33 0 [Note] Reading of all Master_info entries succeeded 2022-05-08 16:58:33 0 [Note] Added new Master_info '' to hash table 2022-05-08 16:58:33 0 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '10.3.35-MariaDB-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution mysqld: /home/wsh/test/database_fuzz/test_MariaDB/server_10.3/sql/sql_base.cc:6020: Field* find_field_in_table_ref(THD*, TABLE_LIST*, const char*, size_t, const char*, const char*, const char*, Item**, bool, bool, uint*, bool, TABLE_LIST**): Assertion `table_list->table' failed. 220508 16:58:38 [ERROR] mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Server version: 10.3.35-MariaDB-debug key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=2 thread_count=6 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 138937 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x62a0000c0270 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x7fffffffdb20 thread_stack 0x5fc00 /usr/lib/x86_64-linux-gnu/libasan.so.4(+0x558c0)[0x7ffff6e6d8c0] mysys/stacktrace.c:174(my_print_stacktrace)[0x5555582b7ab2] sql/signal_handler.cc:221(handle_fatal_signal)[0x555556dfb5dc] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7ffff4117980] linux/raise.c:51(__GI_raise)[0x7ffff3d52e87] stdlib/abort.c:81(__GI_abort)[0x7ffff3d547f1] assert/assert.c:89(__assert_fail_base)[0x7ffff3d443fa] /lib/x86_64-linux-gnu/libc.so.6(+0x30472)[0x7ffff3d44472] sql/sql_base.cc:6021(find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned long, char const*, char const*, char const*, Item**, bool, bool, unsigned int*, bool, TABLE_LIST**))[0x5555564e0866] sql/sql_base.cc:6325(find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool))[0x5555564e25ac] sql/item.cc:6193(Item_field::fix_fields(THD*, Item**))[0x555556e79776] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/item.h:842(Item::fix_fields_if_needed_for_order_by(THD*, Item**))[0x5555567d9925] sql/sql_select.cc:23710(find_order_in_list(THD*, Bounds_checked_array, TABLE_LIST*, st_order*, List&, List&, bool, bool, bool))[0x5555567b23c9] sql/sql_select.cc:23834(setup_group(THD*, Bounds_checked_array, TABLE_LIST*, List&, List&, st_order*, bool*, bool))[0x5555567b303b] sql/sql_select.cc:680(setup_without_group(THD*, Bounds_checked_array, TABLE_LIST*, List&, List&, List&, Item**, st_order*, st_order*, List&, List&, bool*, unsigned int*))[0x5555566f9bef] sql/sql_select.cc:1157(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5555566ff753] sql/item_subselect.cc:3808(subselect_single_select_engine::prepare(THD*))[0x55555704a72f] sql/item_subselect.cc:282(Item_subselect::fix_fields(THD*, Item**))[0x555557023fa5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item_cmpfunc.cc:3033(Item_func_case::fix_fields(THD*, Item**))[0x555556edaea3] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x5555564f8401] sql/sql_base.cc:8274(setup_conds(THD*, TABLE_LIST*, List&, Item**))[0x5555564efb9a] sql/sql_select.cc:660(setup_without_group(THD*, Bounds_checked_array, TABLE_LIST*, List&, List&, List&, Item**, st_order*, st_order*, List&, List&, bool*, unsigned int*))[0x5555566f9529] sql/sql_select.cc:1157(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5555566ff753] sql/item_subselect.cc:3808(subselect_single_select_engine::prepare(THD*))[0x55555704a72f] sql/item_subselect.cc:282(Item_subselect::fix_fields(THD*, Item**))[0x555557023fa5] sql/item_subselect.cc:3471(Item_in_subselect::fix_fields(THD*, Item**))[0x55555704758f] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/sql_base.cc:7542(setup_fields(THD*, Bounds_checked_array, List&, enum_column_usage, List*, List*, bool))[0x5555564ea24c] sql/sql_select.cc:1152(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5555566ff406] sql/item_subselect.cc:3808(subselect_single_select_engine::prepare(THD*))[0x55555704a72f] sql/item_subselect.cc:282(Item_subselect::fix_fields(THD*, Item**))[0x555557023fa5] sql/item_subselect.cc:3471(Item_in_subselect::fix_fields(THD*, Item**))[0x55555704758f] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x555556f476e5] sql/item_cmpfunc.cc:6149(Item_func_not::fix_fields(THD*, Item**))[0x555556ef656b] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x5555564f8401] sql/item_cmpfunc.cc:4628(Item_cond::fix_fields(THD*, Item**))[0x555556ee8259] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x5555564f8401] sql/item_cmpfunc.cc:4628(Item_cond::fix_fields(THD*, Item**))[0x555556ee8259] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x5555563c34df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x5555563c350d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x5555564f8401] sql/sql_base.cc:8274(setup_conds(THD*, TABLE_LIST*, List&, Item**))[0x5555564efb9a] sql/sql_select.cc:660(setup_without_group(THD*, Bounds_checked_array, TABLE_LIST*, List&, List&, List&, Item**, st_order*, st_order*, List&, List&, bool*, unsigned int*))[0x5555566f9529] sql/sql_select.cc:1157(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5555566ff753] sql/sql_select.cc:4334(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*))[0x55555672146f] sql/sql_select.cc:372(handle_select(THD*, LEX*, select_result*, unsigned long))[0x5555566f7586] sql/sql_parse.cc:6339(execute_sqlcom_select(THD*, TABLE_LIST*))[0x5555566621a4] sql/sql_parse.cc:3870(mysql_execute_command(THD*))[0x55555665017f] sql/sql_parse.cc:7870(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55555666c415] sql/sql_parse.cc:1855(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55555664331a] sql/sql_parse.cc:1398(do_command(THD*))[0x55555663f169] sql/sql_connect.cc:1403(do_handle_one_connection(CONNECT*))[0x555556a3c56b] sql/mysqld.cc:6632(handle_connection_in_main_thread(CONNECT*))[0x55555636771f] sql/mysqld.cc:6740(create_new_thread(CONNECT*))[0x5555563681df] sql/mysqld.cc:6997(handle_connections_sockets())[0x5555563693a2] sql/mysqld.cc:6295(mysqld_main(int, char**))[0x555556366d46] sql/main.cc:26(main)[0x55555634ca7a] csu/libc-start.c:344(__libc_start_main)[0x7ffff3d35c87] /usr/local/mysql/bin/mysqld(_start+0x2a)[0x55555634c97a] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x62b00001c2be): ( ( SELECT v960 FROM v959 WHERE v960 = 85 AND ( ( v960 , v960 ) NOT IN ( SELECT ( 'x' = ( v960 IN ( SELECT v960 FROM v959 WHERE v960 = CASE WHEN v960 * ( SELECT 36 FROM v959 AS v961 WHERE v960 BETWEEN 4460921.000000 AND -128 WINDOW v965 AS ( PARTITION BY v960 ORDER BY ( SELECT v960 FROM ( SELECT DISTINCT ( ( NOT ( 94563372.000000 AND v960 = 24 ) ) = 19 AND 19725896.000000 = 35 ) % 13 , ( v960 = 4 OR v960 > 'x' ) FROM v959 WHERE v960 = 82 AND ( v960 = 0 OR v960 = 0 OR v960 = 45 ) ) AS v962 NATURAL JOIN v959 AS v963 GROUP BY v960 WINDOW v966 AS ( PARTITION BY v960 ORDER BY v960 DESC ) ) DESC RANGE BETWEEN 62132272.000000 FOLLOWING AND 8262676.000000 FOLLOWING ) ) ^ v960 THEN 'x' WHEN 43 THEN 'x' ELSE v960 END / 2147483647 ) ) ) , 'x' FROM v959 ) OR v960 = 69 OR v960 = -1 ) ORDER BY v960 + v960 , v960 + v960 ) ) Connection ID (thread ID): 14 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /usr/local/mysql/data Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 0 bytes Max resident set unlimited unlimited bytes Max processes 128007 128007 processes Max open files 32190 32190 files Max locked memory 67108864 67108864 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 128007 128007 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: core