daemon.err mysqld: 221130 17:21:37 [ERROR] mysqld got signal 11 ; daemon.err mysqld: This could be because you hit a bug. It is also possible that this binary daemon.err mysqld: or one of the libraries it was linked against is corrupt, improperly built, daemon.err mysqld: or misconfigured. This error can also be caused by malfunctioning hardware. daemon.err mysqld: To report this bug, see https://mariadb.com/kb/en/reporting-bugs daemon.err mysqld: We will try our best to scrape up some info that will hopefully help daemon.err mysqld: diagnose the problem, but since we have already crashed, daemon.err mysqld: something is definitely wrong and this may fail. daemon.err mysqld: Server version: 10.6.9-MariaDB-log daemon.err mysqld: key_buffer_size=16777216 daemon.err mysqld: read_buffer_size=262144 daemon.err mysqld: max_used_connections=29 daemon.err mysqld: max_threads=302 daemon.err mysqld: thread_count=29 daemon.err mysqld: It is possible that mysqld could use up to daemon.err mysqld: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 256160 K bytes of memory daemon.err mysqld: Hope that's ok; if not, decrease some variables in the equation. daemon.err mysqld: Thread pointer: 0x7f826e7df2a8 daemon.err mysqld: Attempting backtrace. You can use the following information to find out daemon.err mysqld: where mysqld died. If you see no messages after this, something went daemon.err mysqld: terribly wrong... daemon.err mysqld: Cannot determine thread, fp=0x5614c0415507, backtrace may not be correct. daemon.err mysqld: Bogus stack limit or frame pointer, fp=0x5614c0415507, stack_bottom=0x7f826e840000, thread_stack=299008, aborting backtrace. daemon.err mysqld: Trying to get some variables. daemon.err mysqld: Some pointers may be invalid and cause the dump to abort. daemon.err mysqld: Query (0x7f826e7c5990): SELECT T2.`Name` daemon.err mysqld: FROM ( daemon.err mysqld: SELECT `Country` FROM `religion` GROUP BY `Country` ORDER BY COUNT(DISTINCT `Name`) DESC LIMIT 1 daemon.err mysqld: ) AS T1 daemon.err mysqld: INNER JOIN `country` AS T2 daemon.err mysqld: ON T1.`Country`=T2.`Code` daemon.err mysqld: Connection ID (thread ID): 107 daemon.err mysqld: Status: NOT_KILLED daemon.err mysqld: 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 daemon.err mysqld: The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains daemon.err mysqld: information that should help you find out what is causing the crash. daemon.err mysqld: Writing a core file... daemon.err mysqld: Working directory at /var/lib/mysql daemon.err mysqld: Resource Limits: daemon.err mysqld: Limit Soft Limit Hard Limit Units daemon.err mysqld: Max cpu time unlimited unlimited seconds daemon.err mysqld: Max file size unlimited unlimited bytes daemon.err mysqld: Max data size unlimited unlimited bytes daemon.err mysqld: Max stack size 8388608 unlimited bytes daemon.err mysqld: Max core file size 0 unlimited bytes daemon.err mysqld: Max resident set unlimited unlimited bytes daemon.err mysqld: Max processes 47891 47891 processes daemon.err mysqld: Max open files 100000 100000 files daemon.err mysqld: Max locked memory 65536 65536 bytes daemon.err mysqld: Max address space unlimited unlimited bytes daemon.err mysqld: Max file locks unlimited unlimited locks daemon.err mysqld: Max pending signals 47891 47891 signals daemon.err mysqld: Max msgqueue size 819200 819200 bytes daemon.err mysqld: Max nice priority 0 0 daemon.err mysqld: Max realtime priority 0 0 daemon.err mysqld: Max realtime timeout unlimited unlimited us daemon.err mysqld: Core pattern: core daemon.err mysqld: Kernel version: Linux version 5.15.74-0-virt (buildozer@build-3-16-x86_64) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP Sat, 15 Oct 2022 18:26:49 +0000 kern.info kernel: [3683494.484828] mariadbd[16452]: segfault at 0 ip 00005614bfe0f99f sp 00007f826e832040 error 4 in mariadbd[5614bfcfc000+5ac000] kern.info kernel: [3683494.484881] Code: 48 8b 3a 48 85 ff 74 0f 50 48 8b 07 ff 50 48 5a 83 f8 07 0f 94 c0 c3 c3 90 53 48 89 fb e8 c1 ff ff ff 84 c0 74 0d 48 8b 43 20 <48> 8b 00 8a 80 82 00 00 00 5b c3 48 8b 47 20 4c 8b 47 28 48 89 77