mysqld: /home/mysql/mariadb/storage/innobase/row/row0sel.cc:4614: dberr_t row_search_mvcc(byte*, page_cur_mode_t, row_prebuilt_t*, ulint, ulint): Assertion `prebuilt->sql_stat_start || prebuilt->table->no_rollback()' failed. 220718 11:42:22 [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.8.3-MariaDB-debug key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=2 max_threads=153 thread_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 468121 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f1588000db8 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 = 0x7f15c00bcd98 thread_stack 0x49000 mysys/stacktrace.c:212(my_print_stacktrace)[0x556e764cff7e] sql/signal_handler.cc:226(handle_fatal_signal)[0x556e75c1dbd0] ??:0(__restore_rt)[0x7f15d7aeb3c0] ??:0(gsignal)[0x7f15d75d403b] ??:0(abort)[0x7f15d75b3859] /lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7f15d75b3729] ??:0(__assert_fail)[0x7f15d75c5006] row/row0sel.cc:4618(row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long))[0x556e76222d68] handler/ha_innodb.cc:8990(ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function))[0x556e760228be] handler/ha_innodb.cc:9359(ha_innobase::index_first(unsigned char*))[0x556e76023902] handler/ha_innodb.cc:9452(ha_innobase::rnd_next(unsigned char*))[0x556e76023af2] sql/handler.cc:3414(handler::ha_rnd_next(unsigned char*))[0x556e75c293e2] sql/records.cc:519(rr_sequential(READ_RECORD*))[0x556e75721c3b] sql/records.h:81(READ_RECORD::read_record())[0x556e7570c66f] sql/sql_select.cc:22157(join_init_read_record(st_join_table*))[0x556e758fe891] sql/sql_select.cc:21160(sub_select(JOIN*, st_join_table*, bool))[0x556e758fc1f0] sql/sql_select.cc:20708(do_select(JOIN*, Procedure*))[0x556e758fb6dd] sql/sql_select.cc:4759(JOIN::exec_inner())[0x556e758ce836] sql/sql_select.cc:4538(JOIN::exec())[0x556e758cd8a7] sql/item_subselect.cc:4141(subselect_single_select_engine::exec())[0x556e75d3c262] sql/item_subselect.cc:854(Item_subselect::exec())[0x556e75d2ec0f] sql/item_subselect.cc:1832(Item_exists_subselect::val_int())[0x556e75d326be] sql/opt_range.h:1905(SQL_SELECT::skip_record(THD*))[0x556e757f9fbd] sql/sql_delete.cc:221(record_should_be_deleted(THD*, TABLE*, SQL_SELECT*, Explain_delete*, bool))[0x556e757f3f14] sql/sql_delete.cc:805(mysql_delete(THD*, TABLE_LIST*, Item*, SQL_I_List*, unsigned long long, unsigned long long, select_result*))[0x556e757f63a7] sql/sql_parse.cc:4804(mysql_execute_command(THD*, bool))[0x556e7585fd8e] sql/sql_parse.cc:8027(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x556e7586a7c2] sql/sql_parse.cc:1896(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x556e75856cae] sql/sql_parse.cc:1407(do_command(THD*, bool))[0x556e7585568f] sql/sql_connect.cc:1418(do_handle_one_connection(CONNECT*, bool))[0x556e75a2edf1] sql/sql_connect.cc:1314(handle_one_connection)[0x556e75a2ea81] perfschema/pfs.cc:2203(pfs_spawn_thread)[0x556e75f3f123] ??:0(start_thread)[0x7f15d7adf609] ??:0(clone)[0x7f15d76b0163] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f15880167b0): delete from t_qrsdpb where exists ( select ref_0.c_bkmkf as c2 from t_zefkic as ref_0 where t_qrsdpb.c_hhsy0b not in ( select ref_3.wkey as c0 from (t_yynypc as ref_2 left outer join t_zefkic as ref_3 on (ref_2.wkey = ref_3.wkey )) where ref_3.pkey >= ref_2.wkey)) Connection ID (thread ID): 4 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 unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 1048576 1048576 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 63456 63456 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%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E