210527 3:42:33 [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=2 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: 0x62b00007e218 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 = 0x7f626adf9600 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)[0x7f627f6d03c0] perfschema/table_file_summary_by_instance.cc:0(table_file_summary_by_instance::rnd_next())[0x4d9de04] :0(table_esms_global_by_event_name::table_esms_global_by_event_name())[0x4d07b29] sql/derived_handler.cc:118(derived_handler::set_derived(TABLE_LIST*))[0x1dfbdaa] ??:0(st_select_lex::get_free_table_map(unsigned long long*, unsigned int*))[0x15c34f1] sql/sql_lex.cc:4198(st_select_lex_unit::union_needs_tmp_table())[0x15aa3d1] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:221(table_def)[0x233eb8e] sql/sql_lex.cc:3340(st_select_lex::mark_as_dependent(THD*, st_select_lex*, Item*))[0x159b035] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] sql_lex.cc:0(my_ismbchar(charset_info_st const*, char const*, char const*))[0x15787e8] sql/sql_acl.cc:10007(handle_grant_table(THD*, Grant_table_base const&, enum_acl_tables, bool, LEX_USER*, LEX_USER*))[0x11b3969] sql/rpl_utility.cc:203(table_def)[0x233e81e] sql/sql_lex.cc:2808(Lex_input_stream::scan_ident_middle(THD*, Lex_ident_cli_st*, charset_info_st const**, my_lex_states*))[0x158e570] sql/sql_lex.cc:4336(LEX::set_trg_event_type_for_tables())[0x15aad13] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x62b0000af238): select subq_0.c0 as c0 from (select (select c_l2i8lidec from t_ykc order by c_l2i8lidec limit 1 offset 4) as c0 from ((t_ykc as ref_0 inner join t_ykc as ref_1 on 1=1) cross join t_ykc as ref_62 ) where EXISTS ( select ref_63.c_xlfd1o as c0 from t_ykc as ref_63 where EXISTS ( select ref_64.c_l2i8lidec as c0, ref_64.c_fkfi3 as c1 from t_ykc as ref_64 where EXISTS ( select (select c_fkfi3 from t_ykc order by c_fkfi3 limit 1 offset 2) as c0 from t_ykc as ref_65 where EXISTS ( select ref_66.c_l2i8lidec as c0, (select count(c_a1k) from t_bbh) as c1 from t_ykc as ref_66 where EXISTS ( select ref_1.c_v7 as c0 from t_ykc as ref_67 where EXISTS ( select ref_68.c_xlfd1o as c0, ref_1.c_fkfi3 as c1, ref_68.c_qs5uppjb as c2, ref_66.c_v7 as c3, ref_68.c_l2i8lidec as c4, ref_65.c_fkfi3 as c5 from t_ykc as ref_68 where EXISTS ( select distinct ref_0.c_qs5uppjb as c0, ref_68.c_xlfd1o as c1, ref_69.c_yjyf52_k as c2, (select c_l2i8lidec from t_ykc order by c_l2i8lidec limit 1 offset 3) as c3 from t_ykc as ref_69 where EXISTS ( select ref_70.c_qs5uppjb as c0, ref_70.c_qs5uppjb as c1, ref_67.c_axh as c2, 4 as c3, ref_70.c_fkfi3 as c4, ref_67.c_fkfi3 as c5 from t_ykc as ref_70 where EXISTS ( select ref_71.c_z5h8od3 as c0, ref_66.c_qs5uppjb as c1, ref_71.c_axh as c2, (select c_axh from t_ykc order by c_axh limit 1 offset 4) as c3 from t_ykc as ref_71 where EXISTS ( select ref_62.c_xlfd1o as c0 from t_ykc as ref_72 where EXISTS ( select ref_68.c_xlfd1o as c0, ref_73.c_z5h8od3 as c1 from t_ykc as ref_73 where EXISTS ( select ref_74.c_l2i8lidec as c0, ref_74.c_yjyf52_k as c1, ref_65.c_l2i8lidec as c2 from t_ykc as ref_74 where EXISTS ( select ref_75.c_v7 as c0, ref_66.c_fkfi3 as c1, ref_75.c_l2i8lidec as c2, ref_1.c_xlfd1o as c3, ref_75.c_xlfd1o as c4, ref_75.c_v7 as c5, ref_75.c_xlfd1o as c6, ref_66.c_l2i8lidec as c7, ref_75.c_axh as c8, ref_69.c_xlfd1o as c9, ref_64.c_axh as c10 from t_ykc as ref_75 where EXISTS ( select distinct ref_76.c_axh as c117 from t_ykc as ref_76 where EXISTS ( select ref_68.c_xlfd1o as c0, ref_0.c_z5h8od3 as c1, ref_0.c_fkfi3 as c2, ref_77.c_yjyf52_k as c3, ref_77.c_qs5uppjb as c4 from t_ykc as ref_77 where EXISTS ( select ref_78.c_z5h8od3 as c0, 47 as c1 from t_ykc as ref_78 where EXISTS ( select ref_79.c_l2i8lidec as c0, ref_79.c_l2i8lidec as c1 from t_ykc as ref_79 where EXISTS ( select ref_65.c_z5h8od3 as c0 from t_ykc as ref_80 where EXISTS ( select ref_65.c_z5h8od3 as c0 from t_ykc as ref_81 where EXISTS ( select ref_65.c_z5h8od3 as c0 from t_ykc as ref_82 where EXISTS ( select (select c_qs5uppjb from t_ykc order by c_qs5uppjb limit 1 offset 3) as c0, (select c_axh from t_ykc order by c_axh limit 1 offset 5) as c1, ref_83.c_axh as c2, ref_77.c_z5h8od3 as c3, ref_67.c_qs5uppjb as c4, ref_65.c_xlfd1o as c5, ref_67.c_v7 as c6, ref_0.c_xlfd1o as c7, ref_83.c_v7 as c8, ref_83.c_fkfi3 as c9, ref_80.c_v7 as c10, (select c_v7 from t_ykc order by c_v7 limit 1 offset 3) as c11, ref_71.c_qs5uppjb as c12, ref_71.c_qs5uppjb as c13, ref_71.c_qs5uppjb as c14, ref_71.c_qs5uppjb as c15, ref_71.c_qs5uppjb as c16, ref_71.c_qs5uppjb as c17, ref_71.c_qs5uppjb as c18, ref_71.c_qs5uppjb as c19, ref_71.c_qs5uppjb as c20, ref_83.c_xlfd1o as c21, ref_65.c_z5h8od3 as c22 from t_ykc as ref_83 where EXISTS ( select distinct ref_84.c_yjyf52_k as c0, ref_80.c_z5h8od3 as c1, ref_62.c_z5h8od3 as c2, ref_64.c_xlfd1o as c3, ref_84.c_yjyf52_k as c4, ref_69.c_axh as c5, ref_84.c_xlfd1o as c6, ref_84.c_axh as c7, ref_84.c_z5h8od3 as c8, ref_80.c_yjyf52_k as c9, ref_84.c_xlfd1o as c10, ref_67.c_xlfd1o as c11, ref_64.c_fkfi3 as c12, ref_1.c_qs5uppjb as c13, ref_84.c_yjyf52_k as c14, ref_81.c_yjyf52_k as c15 from t_ykc as ref_84 where EXISTS ( select ref_85.c_fkfi3 as c0, ref_85.c_z5h8od3 as c1, ref_85.c_axh as c2, ref_81.c_axh as c3 from t_ykc as ref_85 where EXISTS ( select ref_86.c_axh as c0, ref_86.c_v7 as c1, ref_67.c_axh as c2, ref_70.c_fkfi3 as c3, ref_65.c_xlfd1o as c4, 68 as c5, ref_86.c_fkfi3 as c6 from t_ykc as ref_86 where EXISTS ( select ref_87.c_z5h8od3 as c0, ref_84.c_fkfi3 as c1, ref_87.c_xlfd1o as c2, ref_87.c_v7 as c3, 37 as c4, ref_87.c_qs5uppjb as c5, ref_1.c_v7 as c6, ref_77.c_axh as c7, ref_0.c_l2i8lidec as c8, ref_62.c_fkfi3 as c9, ref_71.c_z5h8od3 as c10 from t_ykc as ref_87 where 1=1 AND 1=1 AND 0<>0 AND 0<>0 AND 0<>0 AND 1=1 AND 1=1 AND 0<>0 AND 1=1 AND 1=1 AND 1=1 AND ref_77.c_l2i8lidec between ref_75.c_mtp6pw and ref_84.c_l2i8lidec AND ref_77.c_l2i8lidec in ( select ref_88.c_l2i8lidec as c0 from t_ykc as ref_88 where ref_88.c_v7 like 'tdn%2jqzf' AND ref_88.c_yjyf52_k not like 'xum%1ury' union select ref_89.c_l2i8lidec as c0 from t_ykc as ref_89 where 0<>0 window hownbqs as ( partition by ref_89.c_l2i8lidec order by ref_89.c_axh desc)) AND ref_1.c_mtp6pw <= ref_85.c_l2i8lidec AND 1=1 AND ((1=1) or (ref_82.c_mtp6pw < (select c_erfnu from t_bbh order by c_erfnu limit 1 offset 1) )) or (0<>0) AND (ref_69.c_mtp6pw = ref_65.c_mtp6pw) or (1=1) order by c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10 desc) order by c0, c1, c2, c3, c4, c5, c6 asc) order by c0, c1, c2, c3 asc) limit 105) order by c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22 desc limit 196) limit 196) order by c0 desc limit 196) order by c0 asc limit 82) window qh34 as ( partition by ref_72.c_z5h8od3,ref_0.c_l2i8lidec order by (select c_l2i8lidec from t_ykc order by c_l2i8lidec limit 1 offset 2) desc) limit 134) limit 22)) window dh as ( partition by ref_74.c_axh,ref_71.c_l2i8lidec order by ref_67.c_l2i8lidec,ref_68.c_qs5uppjb desc)) window xfqv as ( partition by ref_71.c_fkfi3 order by ref_72.c_qs5uppjb desc) limit 157)) order by c0, c1 asc) order by c0 desc))) order by c0, c1, c2, -c3 desc) order by c0, c1, c2, c3, c4, c5 asc)) limit 135)) order by c0, c1 asc)) limit 142) as subq_0 where (0<>0) or (EXISTS ( select (select c_axh from t_ykc order by c_axh limit 1 offset 3) as c0, ref_90.c_yjyf52_k as c1, subq_0.c0 as c2, subq_0.c0 as c3, ref_90.c_axh as c4, ref_90.c_z5h8od3 as c5, subq_0.c0 as c6, ref_90.c_l2i8lidec as c7 from (t_ykc as ref_90 left outer join t_ykc as ref_91 on (0<>0)) where ((select c_erfnu from t_bbh order by c_erfnu limit 1 offset 2) = (select c_erfnu from t_bbh order by c_erfnu limit 1 offset 4) ) and (ref_91.c_l2i8lidec >= subq_0.c0) order by c0, c1, c2, c3, c4, c5, c6, c7 desc limit 36)) union select ref_93.c_l2i8lidec as c0 from (t_ykc as ref_92 left outer join t_ykc as ref_93 on ((ref_92.c_mtp6pw <> 19) and (1=1))) where ref_92.c_yjyf52_k is NULL Connection ID (thread ID): 6 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 0 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: |/usr/share/apport/apport %p %s %c %d %P %E