Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.6.14
-
None
Description
The following crash happens at times while executing the query (table schema is obfuscated):
240325 9:52:02 [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.14-MariaDB-log source revision: c93754d45e5d9379e3e23d7ada1d5f21d2711f66
|
key_buffer_size=33554432
|
read_buffer_size=1048576
|
max_used_connections=51
|
max_threads=5002
|
thread_count=32
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 10407476 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f504b407658
|
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 = 0x7f5068dfc3a0 thread_stack 0x100000
|
mysys/stacktrace.c:216(my_print_stacktrace)[0x56399a4b4aee]
|
sql/signal_handler.cc:241(handle_fatal_signal)[0x563999e7f727]
|
/lib64/libpthread.so.0(+0x12cf0)[0x7f53a735ecf0]
|
sql/item.h:7933(update_field_dependencies(THD*, Field*, TABLE*))[0x563999bf433d]
|
sql/sql_base.cc:6064(find_field_in_table(THD*, TABLE*, char const*, unsigned long, bool, unsigned short*))[0x563999bf4404]
|
sql/sql_base.cc:6190(find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned long, char const*, char const*, char const*, List<TABLE_LIST>*, Item**, bool, bool, unsigned short*, bool, TABLE_LIST**))[0x563999bf4ca3]
|
sql/sql_base.cc:6521(find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, List<TABLE_LIST>*, Item**, find_item_error_report_type, bool, bool))[0x563999bf50b3]
|
sql/item.cc:6007(Item_field::fix_fields(THD*, Item**))[0x563999eab259]
|
sql/item.h:1156(setup_fields(THD*, Bounds_checked_array<Item*>, List<Item>&, enum_column_usage, List<Item>*, List<Item>*, bool))[0x563999bf7be0]
|
sql/sql_select.cc:1437(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x563999ca4a9b]
|
sql/sql_union.cc:1117(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x563999d03f4c]
|
sql/sql_union.cc:1498(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x563999d078d5]
|
sql/sql_derived.cc:840(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*))[0x563999c18cb0]
|
sql/sql_derived.cc:200(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x563999c177ed]
|
sql/sql_lex.h:4491(st_select_lex::handle_derived(LEX*, unsigned int))[0x563999c329c7]
|
sql/sql_select.cc:1341(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x563999ca4616]
|
sql/sql_select.cc:5045(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x563999cba106]
|
sql/sql_select.cc:571(handle_select(THD*, LEX*, select_result*, unsigned long))[0x563999cba464]
|
sql/sql_parse.cc:6274(execute_sqlcom_select(THD*, TABLE_LIST*))[0x563999b0e069]
|
sql/sql_parse.cc:3949(mysql_execute_command(THD*, bool))[0x563999c5ab53]
|
sql/sql_parse.cc:8037(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x563999c5cefb]
|
sql/sql_parse.cc:1955(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x563999c5f338]
|
sql/sql_parse.cc:1411(do_command(THD*, bool))[0x563999c60863]
|
sql/sql_connect.cc:1416(do_handle_one_connection(CONNECT*, bool))[0x563999d59387]
|
sql/sql_connect.cc:1324(handle_one_connection)[0x563999d59624]
|
perfschema/pfs.cc:2204(pfs_spawn_thread)[0x56399a0f5f3c]
|
/lib64/libpthread.so.0(+0x81ca)[0x7f53a73541ca]
|
/lib64/libc.so.6(clone+0x43)[0x7f53a66a5e73]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f504b4377f0):
|
SELECT 'abc', B.some_name, AVG(cnt), C.cm
|
FROM
|
(
|
SELECT some_id
|
, A.c1_YMD
|
, COUNT(*) AS cnt
|
FROM some_table A
|
WHERE A.c1_YMD BETWEEN '2023-11-01' AND '2023-11-31'
|
AND HOUR(A.DTTM) IN (7,8,9)
|
AND WEEKDAY (DTTM) IN (0,1,2,3,4)
|
GROUP BY A.some_id, A.c1_YMD
|
) A
|
INNER JOIN other_table B ON ( A.some_id = B.some_id AND B.c2 = 'value' )
|
INNER JOIN third_table C ON(A.some_id = C.S_ID AND C.c3 IN ('Y','S','T','E'))
|
GROUP BY B.some_name, C.cm
|
|
Connection ID (thread ID): 1460701
|
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
|
...
|
It looks somewhat similar to MDEV-28034, but I can not find the exact match.