2022-05-12 11:05:13 0 [Note] InnoDB: Using Linux native AIO 2022-05-12 11:05:13 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2022-05-12 11:05:13 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2022-05-12 11:05:13 0 [Note] InnoDB: Uses event mutexes 2022-05-12 11:05:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-05-12 11:05:13 0 [Note] InnoDB: Number of pools: 1 2022-05-12 11:05:13 0 [Note] InnoDB: Using SSE2 crc32 instructions 2022-05-12 11:05:13 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2022-05-12 11:05:13 0 [Note] InnoDB: Completed initialization of buffer pool 2022-05-12 11:05:13 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 11:05:13 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=4497314 2022-05-12 11:05:13 0 [Note] InnoDB: Starting final batch to recover 11 pages from redo log. 2022-05-12 11:05:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-05-12 11:05:14 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-12 11:05:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-05-12 11:05:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-05-12 11:05:14 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-05-12 11:05:14 0 [Note] InnoDB: Waiting for purge to start 2022-05-12 11:05:14 0 [Note] InnoDB: 10.3.35 started; log sequence number 4504591; transaction id 8690 2022-05-12 11:05:14 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool 2022-05-12 11:05:14 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-05-12 11:05:14 0 [Note] Recovering after a crash using tc.log 2022-05-12 11:05:14 0 [Note] Starting crash recovery... 2022-05-12 11:05:14 0 [Note] InnoDB: Buffer pool(s) load completed at 220512 11:05:14 2022-05-12 11:05:14 0 [Note] Crash recovery finished. 2022-05-12 11:05:14 0 [Note] Server socket created on IP: '::'. 2022-05-12 11:05:14 0 [Note] Reading of all Master_info entries succeeded 2022-05-12 11:05:14 0 [Note] Added new Master_info '' to hash table 2022-05-12 11:05:14 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/item.cc:6192: virtual bool Item_field::fix_fields(THD*, Item**): Assertion `context' failed. 220512 11:05:16 [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: 0x62a0000a8270 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 = 0x7fffe6647a20 thread_stack 0x5fc00 /usr/lib/x86_64-linux-gnu/libasan.so.4(+0x558c0)[0x7f362aa3b8c0] mysys/stacktrace.c:174(my_print_stacktrace)[0x563ed8006ab2] sql/signal_handler.cc:221(handle_fatal_signal)[0x563ed6b4a5dc] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f3627ce5980] linux/raise.c:51(__GI_raise)[0x7f3627920e87] stdlib/abort.c:81(__GI_abort)[0x7f36279227f1] assert/assert.c:89(__assert_fail_base)[0x7f36279123fa] /lib/x86_64-linux-gnu/libc.so.6(+0x30472)[0x7f3627912472] sql/item.cc:6200(Item_field::fix_fields(THD*, Item**))[0x563ed6bc85f4] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item.cc:9151(Item_direct_view_ref::fix_fields(THD*, Item**))[0x563ed6be429c] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item_row.cc:45(Item_row::fix_fields(THD*, Item**))[0x563ed6d2242d] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x563ed6c966e5] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x563ed611250d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x563ed6247401] sql/item_cmpfunc.cc:4628(Item_cond::fix_fields(THD*, Item**))[0x563ed6c37259] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item_func.cc:352(Item_func::fix_fields(THD*, Item**))[0x563ed6c966e5] sql/item_cmpfunc.cc:5421(Item_func_like::fix_fields(THD*, Item**))[0x563ed6c3eeef] sql/item.h:830(Item::fix_fields_if_needed(THD*, Item**))[0x563ed61124df] sql/item.h:833(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x563ed611250d] sql/item.h:838(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x563ed6247401] sql/item_cmpfunc.cc:4628(Item_cond::fix_fields(THD*, Item**))[0x563ed6c37259] sql/sql_select.cc:1734(JOIN::optimize_inner())[0x563ed645513e] sql/sql_select.cc:1519(JOIN::optimize())[0x563ed6452e03] sql/sql_derived.cc:962(mysql_derived_optimize(THD*, LEX*, TABLE_LIST*))[0x563ed62d7534] sql/sql_derived.cc:193(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x563ed62d22b4] sql/sql_select.cc:1800(JOIN::optimize_inner())[0x563ed6455d99] sql/sql_select.cc:1519(JOIN::optimize())[0x563ed6452e03] sql/sql_lex.cc:4124(st_select_lex::optimize_unflattened_subqueries(bool))[0x563ed633ca6a] sql/sql_insert.cc:819(mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool))[0x563ed62f3317] sql/sql_parse.cc:4504(mysql_execute_command(THD*))[0x563ed63a2c8e] sql/sql_parse.cc:7870(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x563ed63bb415] sql/sql_parse.cc:1855(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x563ed639231a] sql/sql_parse.cc:1398(do_command(THD*))[0x563ed638e169] sql/sql_connect.cc:1403(do_handle_one_connection(CONNECT*))[0x563ed678b56b] sql/mysqld.cc:6632(handle_connection_in_main_thread(CONNECT*))[0x563ed60b671f] sql/mysqld.cc:6740(create_new_thread(CONNECT*))[0x563ed60b71df] sql/mysqld.cc:6997(handle_connections_sockets())[0x563ed60b83a2] sql/mysqld.cc:6295(mysqld_main(int, char**))[0x563ed60b5d46] sql/main.cc:26(main)[0x563ed609ba7a] csu/libc-start.c:344(__libc_start_main)[0x7f3627903c87] /usr/local/mysql/bin/mysqld(_start+0x2a)[0x563ed609b97a] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x62b000023328): INSERT INTO v1426 ( v1427 ) VALUES ( ( WITH v1431 AS ( SELECT v1427 FROM ( SELECT v1427 FROM ( SELECT v1427 FROM v1426 WHERE v1427 = CASE v1427 * 19 = -128 WHEN 255 THEN 'x' WHEN ( v1427 IN ( 'x' , -1 , -128 , 62 , 'x' / v1427 = v1427 + CASE FALSE / v1427 = v1427 + CASE v1427 WHEN TRUE THEN -128 ELSE 0 END OR v1427 = v1427 WHEN TRUE THEN 12 ELSE 0 END OR v1427 = v1427 OR v1427 = v1427 ) ) THEN 255 ELSE -1 END / -2147483648 ) AS v1428 NATURAL JOIN v1426 AS v1429 NATURAL JOIN v1426 ) AS v1430 ) SELECT v1427 FROM v1431 WHERE ( ( v1427 , v1427 , v1427 ) < ( 87 , 89998042.000000 NOT LIKE -128 , -2147483648 ) OR v1427 = 53 ) NOT LIKE 'x' AND CASE v1427 * 37 = 0 WHEN 31 THEN FALSE WHEN -1 THEN 'x' ELSE -1 END != 93 WINDOW v1432 AS ( ORDER BY v1427 ) ) ) , ( 54 ) Connection ID (thread ID): 13 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 127991 127991 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 127991 127991 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: |/usr/share/apport/apport %p %s %c %d %P %E