230511 15:58:08 [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.6.13-MariaDB source revision: a24f2bb50ba4a0dd4127455f7fcdfed584937f36 key_buffer_size=16777216 read_buffer_size=131072 max_used_connections=4 max_threads=52 thread_count=4 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 130867 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f0dbc00c348 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 = 0x7f0dd8519c80 thread_stack 0x49000 /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x558eba99879e] /usr/sbin/mariadbd(handle_fatal_signal+0x307)[0x558eba3ebc47] sigaction.c:0(__restore_rt)[0x7f0ddfb66630] /usr/sbin/mariadbd(_ZN13st_join_table21choose_best_splittingEjyPy+0x9b1)[0x558eba35eec1] /usr/sbin/mariadbd(_Z16best_access_pathP4JOINP13st_join_tableyPK8POSITIONjbdPS3_S6_+0x132)[0x558eba218612] /usr/sbin/mariadbd(+0x81bd68)[0x558eba21bd68] /usr/sbin/mariadbd(_Z11choose_planP4JOINy+0x257)[0x558eba21c997] /usr/sbin/mariadbd(_ZN4JOIN14optimize_innerEv+0x3119)[0x558eba225849] /usr/sbin/mariadbd(_ZN4JOIN8optimizeEv+0xb2)[0x558eba225f92] /usr/sbin/mariadbd(_ZN13st_select_lex31optimize_unflattened_subqueriesEb+0xc8)[0x558eba1b0c38] /usr/sbin/mariadbd(_ZN4JOIN15optimize_stage2Ev+0x15f1)[0x558eba221931] /usr/sbin/mariadbd(_ZN4JOIN14optimize_innerEv+0x1bcd)[0x558eba2242fd] /usr/sbin/mariadbd(_ZN4JOIN8optimizeEv+0xb2)[0x558eba225f92] /usr/sbin/mariadbd(_Z12mysql_selectP3THDP10TABLE_LISTR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xb8)[0x558eba226068] /usr/sbin/mariadbd(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1e4)[0x558eba226974] /usr/sbin/mariadbd(+0x67a609)[0x558eba07a609] /usr/sbin/mariadbd(_Z21mysql_execute_commandP3THDb+0x34c3)[0x558eba1c7043] /usr/sbin/mariadbd(_Z11mysql_parseP3THDPcjP12Parser_state+0x20b)[0x558eba1c93eb] /usr/sbin/mariadbd(_Z16dispatch_command19enum_server_commandP3THDPcjb+0x14a8)[0x558eba1cb828] /usr/sbin/mariadbd(_Z10do_commandP3THDb+0x123)[0x558eba1ccd53] /usr/sbin/mariadbd(_Z24do_handle_one_connectionP7CONNECTb+0x187)[0x558eba2c5897] /usr/sbin/mariadbd(handle_one_connection+0x34)[0x558eba2c5b34] /usr/sbin/mariadbd(+0xc3832c)[0x558eba63832c] pthread_create.c:0(start_thread)[0x7f0ddfb5eea5] /lib64/libc.so.6(clone+0x6d)[0x7f0ddf079b0d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f0dbc01ac60): SELECT ItemView.Name AS ItemName,ItemView.Country AS Country,ItemView.Color AS Color,ItemView.SlabType AS SlabType,ItemView.PattName AS PattName,ItemView.ItemImagePath AS ItemImagePath,ItemView.Seq AS Seq,ItemView.ItemID AS SKU,ItemView.SecondaryColor AS SecondaryColor,ItemView.ColorTone AS ColorTone,ItemView.Pattern AS Pattern,ItemView.Collection AS Collection,ItemView.Classification AS Classification,ListPrices.Price1 AS LP,ListPrices.Price2 AS FP,ListPrices.Price3 AS BP,ListPrices.Price4 AS DP,SlabView.Thickness AS Thickness,Item.SubCategoryValue AS SubCategoryValue,Item.IsNewArival AS IsNewArival,SalePrice.SlabLength AS SlabLength,SalePrice.SlabWidth AS SlabWidth,SalePrice.IDTwo AS IDTwo,SalePrice.LocationName AS LocationName,min(SalePrice.InventoryStatus) AS InventoryStatus,SalePrice.Slabs AS Slabs, SUM(CASE WHEN SalePrice.InventoryStatus = 'INSTOCK' THEN 1 ELSE 0 END) as AvailableSlabs, SalePrice.SeqNo AS SeqNo,SalePrice.SaleLP AS SaleLP,SalePrice.SaleFP AS SaleFP,SalePrice.SaleBP AS SaleBP,SalePrice.SaleDP AS SaleDP,SalePrice.ImagePath AS ImagePath,SalePrice.Bin AS BIN, CASE WHEN SalePrice.SaleFP > 0 THEN MIN(SalePrice.SaleFP) ELSE MAX(ListPrices.Price2) END AS FinalPrice, (select tr.SlabCount from Custom_TrendingStones tr where ItemView.ItemID = tr.SKU) AS SlabCount, Item.SubItemType, Item.ItemGroupValue, (SELECT Available FROM Hold_Custom_AvailableSlabs as a WHERE a.SKU = Item.SKU) as Available from ((((Custom_ItemView AS ItemView left join Custom_SalePrice AS SalePrice on(ItemView.ItemID = SalePrice.SKU)) left join Item AS Item on(ItemView.ItemID = Item.SKU)) left join Custom_SlabView AS SlabView on(ItemView.ItemID = SlabView.ItemID)) left join R_ListPrices AS ListPrices on(ItemView.ItemID = ListPrices.SKU)) where (ItemView.ItemID like 'SMQ%' or ItemView.ItemID like 'SMM%' or ItemView.ItemID like 'NM%' or ItemView.ItemID like 'NG%' or ItemView.ItemID like 'NQ%' or ItemView.ItemID like 'VDQ%' or ItemView.ItemID like 'NTG%' or ItemView.ItemID like 'NTQ%' or ItemView.ItemID like 'NTM%' or ItemView.ItemID like 'LSS%') and ItemView.ItemID in (select tr.SKU from Custom_TrendingStones tr where ItemView.ItemID = tr.SKU) group by ItemView.ItemID,SalePrice.SlabLength,SalePrice.SlabWidth,SalePrice.IDTwo, Item.SubCategoryValue order by (select tr.SlabCount from Custom_TrendingStones tr where ItemView.ItemID = tr.SKU) desc Connection ID (thread ID): 10 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,hash_join_cardinality=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 /var/lib/mysql 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 7455 7455 processes Max open files 32768 32768 files Max locked memory 8388608 8388608 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 7455 7455 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