241122 15:11:49 [ERROR] mysqld got signal 11 ;
|
Sorry, we probably made a mistake, and this is a bug.
|
Your assistance in bug reporting will enable us to fix this for the next release.
|
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.4.34-MariaDB-log source revision: 16394f1aa1b4097f897b8ab01ea2064726cca059
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=105
|
max_threads=10002
|
thread_count=119
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1312642168 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
Thread pointer: 0x7f8dd800c168
|
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 = 0x7f968408ecb0 thread_stack 0x49000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x557c0145fc4e]
|
/usr/sbin/mysqld(handle_fatal_signal+0x2ff)[0x557c00eb2d2f]
|
sigaction.c:0(__restore_rt)[0x7f974fbc75d0]
|
/usr/sbin/mysqld(_ZN13st_join_table21choose_best_splittingEjyPK8POSITIONPy+0xb92)[0x557c00e288f2]
|
/usr/sbin/mysqld(_Z16best_access_pathP4JOINP13st_join_tableyPK8POSITIONjbdPS3_S6_+0x136)[0x557c00d08ea6]
|
/usr/sbin/mysqld(+0x7475fe)[0x557c00d0c5fe]
|
/usr/sbin/mysqld(_Z11choose_planP4JOINy+0x25c)[0x557c00d0d26c]
|
/usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x2f5f)[0x557c00d149ef]
|
/usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9d)[0x557c00d1526d]
|
/usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xf1)[0x557c00d15381]
|
/usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1e7)[0x557c00d15fa7]
|
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x5c13)[0x557c00cb8cb3]
|
/usr/sbin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x36)[0x557c00c14386]
|
/usr/sbin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x1a5)[0x557c00c1cbc5]
|
/usr/sbin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x64c)[0x557c00c1d6dc]
|
/usr/sbin/mysqld(_ZN7sp_head7executeEP3THDb+0xa04)[0x557c00c180f4]
|
/usr/sbin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x789)[0x557c00c19aa9]
|
/usr/sbin/mysqld(+0x6e577a)[0x557c00caa77a]
|
/usr/sbin/mysqld(+0x6e7b46)[0x557c00cacb46]
|
/usr/sbin/mysqld(_ZN12Sql_cmd_call7executeEP3THD+0x90)[0x557c00cad380]
|
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1a2c)[0x557c00cb4acc]
|
/usr/sbin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x36)[0x557c00c14386]
|
/usr/sbin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x1a5)[0x557c00c1cbc5]
|
/usr/sbin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x64c)[0x557c00c1d6dc]
|
/usr/sbin/mysqld(_ZN7sp_head7executeEP3THDb+0xa04)[0x557c00c180f4]
|
/usr/sbin/mysqld(_ZN7sp_head15execute_triggerEP3THDPK25st_mysql_const_lex_stringS4_P13st_grant_info+0x1c8)[0x557c00c190f8]
|
/usr/sbin/mysqld(_ZN19Table_triggers_list16process_triggersEP3THD14trg_event_type20trg_action_time_typeb+0x105)[0x557c00d58125]
|
/usr/sbin/mysqld(_ZN21Update_rows_log_event11do_exec_rowEP14rpl_group_info+0x38e)[0x557c00fbffce]
|
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEP14rpl_group_info+0x25c)[0x557c00fb33cc]
|
/usr/sbin/mysqld(+0x640b08)[0x557c00c05b08]
|
/usr/sbin/mysqld(+0x82b68e)[0x557c00df068e]
|
/usr/sbin/mysqld(handle_rpl_parallel_thread+0x721)[0x557c00df2fe1]
|
/usr/sbin/mysqld(+0xb6d30d)[0x557c0113230d]
|
pthread_create.c:0(start_thread)[0x7f974fbbfdd5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f974f0dbead]
|
The key part is here:
#4 st_join_table::choose_best_splitting (this=0x7f3c2407c160, idx=2, remaining_tables=4, spl_pd_boundary=0x7f3c7c2f5d40) at /data/src/bb-10.6-release/sql/opt_split.cc:1048
#5 0x000055b653619ba2 in best_access_path (join=0x7f3c24075e88, s=0x7f3c2407c160, remaining_tables=4, join_positions=0x7f3c2407cca8, idx=2, disable_jbuf=true, record_count=30, pos=0x7f3c2407cf38, loose_scan_pos=0x7f3c7c2f6180) at /data/src/bb-10.6-release/sql/sql_select.cc:7898
#6 0x000055b6537f56f8 in fix_semijoin_strategies_for_picked_join_order (join=0x7f3c24075e88) at /data/src/bb-10.6-release/sql/opt_subselect.cc:3994
#7 0x000055b653622f3d in JOIN::get_best_combination (this=0x7f3c24075e88) at /data/src/bb-10.6-release/sql/sql_select.cc:11183
choose_best_splitting() is called from fix_semijoin_strategies_for_picked_join_order().
The problem is that choose_best_splitting() assumes that the current join prefix is in join->positions, while at JOIN::get_best_combination()/fix_semijoin_strategies_for_picked_join_order() stage it is in join->best_positions.