210510 9:24:21 [ERROR] mysqld got signal 11 ; 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.5.9-MariaDB key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467864 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x62b00009a218 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 = 0x7fd9c21a9600 thread_stack 0x5fc00 /usr/local/mysql/bin/mariadbd(__interceptor_backtrace+0x5b)[0x917bfb] :0(mi_state_info_read)[0x6ad5ad8] sql/sql_yacc.cc:46457(MYSQLparse(THD*))[0x2beef02] sigaction.c:0(__restore_rt)[0x7fd9e17863c0] sql/set_var.cc:0(sys_var::val_str_nolock(String*, THD*, unsigned char const*))[0xee290a] sql-common/client.c:0(mysql_real_connect)[0x2db4716] /usr/local/mysql/bin/mariadbd(_ZN4Item20fix_fields_if_neededEP3THDPPS_+0x357)[0xb087b7] ??:0(ha_rollback_to_savepoint(THD*, st_savepoint*))[0x301c64b] /usr/local/mysql/bin/mariadbd(_ZN4Item20fix_fields_if_neededEP3THDPPS_+0x357)[0xb087b7] /usr/local/mysql/bin/mariadbd(_ZN4Item31fix_fields_if_needed_for_scalarEP3THDPPS_+0x83)[0xb03413] sql/session_tracker.cc:928(Transaction_state_tracker::store(THD*, String*))[0xed11a1] ??:0(LEX::set_trigger_new_row(st_mysql_const_lex_string const*, Item*))[0x1555de8] sql/item_cmpfunc.h:583(Item_func_xor::func_name() const)[0x335ba44] ??:0(cmp_item_decimal::store_value(Item*))[0x32e7cd6] /usr/local/mysql/bin/mariadbd(_ZN4Item20fix_fields_if_neededEP3THDPPS_+0x357)[0xb087b7] ??:0(ha_rollback_to_savepoint(THD*, st_savepoint*))[0x301c64b] /usr/local/mysql/bin/mariadbd(_ZN4Item20fix_fields_if_neededEP3THDPPS_+0x357)[0xb087b7] ??:0(ha_rollback_to_savepoint(THD*, st_savepoint*))[0x301c64b] /usr/local/mysql/bin/mariadbd(_ZN4Item20fix_fields_if_neededEP3THDPPS_+0x357)[0xb087b7] /usr/local/mysql/bin/mariadbd(_ZN4Item31fix_fields_if_needed_for_scalarEP3THDPPS_+0x83)[0xb03413] sql/session_tracker.cc:928(Transaction_state_tracker::store(THD*, String*))[0xed11a1] :0(Temporal_with_date::comparison_flags_for_get_date())[0xea5292] ??:0(Lex_input_stream::reset(char*, unsigned long))[0x15634ec] sql/sql_lex.cc:120(sp_expr_lex::case_stmt_action_when(bool))[0x155372f] ??:0(select_create::abort_result_set())[0x1536385] ??:0(Arg_comparator::set_cmp_func(Item_func_or_sum*, Item**, Item**, bool))[0x1c9e05a] ??:0(Key::Key(Key const&, st_mem_root*))[0x134a4ca] ??:0(Query_cache::store_query(THD*, TABLE_LIST*))[0x1308593] ??:0(Query_cache::lock_and_suspend())[0x12f7243] ??:0(Query_cache::is_cacheable(THD*, LEX*, TABLE_LIST*, unsigned char*))[0x130cd19] ??:0(st_select_lex_unit::cleanup())[0x2023c1d] ??:0(st_select_lex_unit::cleanup())[0x202215d] maria/ma_write.c:402(maria_write)[0x46e90f3] nptl/pthread_create.c:478(start_thread)[0x7fd9e177a609] ??:0(clone)[0x7fd9e0aec293] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x62b0000a1238): UPDATE v0 SET v1 = 26 WHERE ( SELECT 33 FROM v0 AS v2 JOIN v0 ON 0<>0 ) = ( SELECT ( v1 + v1 ) / 127 AS v3 FROM v0 AS v4 GROUP BY NOT v1 <= 'x' HAVING v1 ) - v1 Connection ID (thread ID): 3 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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 79624 79624 processes Max open files 1048576 1048576 files Max locked memory 67108864 67108864 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 79624 79624 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