Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.2.6
-
None
-
CentOS 6.9
Description
We have a slave server.
I have seen the following message in the mariadb error log.
170604 16:40:01 [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.2.6-MariaDB-log
key_buffer_size=48318382080
read_buffer_size=1048576
max_used_connections=2172
max_threads=65537
thread_count=641
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 181468904 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f20a4bf5a68
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 = 0x7f23a12cccc8 thread_stack 0x40000
(my_addr_resolve failure: fork)
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x29) [0xc851a9]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x47a) [0x789e1a]
/lib64/libpthread.so.0(+0xf370) [0x7f4ef4108370]
/usr/local/mysql/bin/mysqld(QUERY_PROFILE::new_status(char const*, char const*, char const*, unsigned int)+0x77) [0x6c1677]
/usr/local/mysql/bin/mysqld(set_thd_stage_info+0xc9) [0x5bf599]
/usr/local/mysql/bin/mysqld(Query_cache::try_lock(THD*, Query_cache::Cache_try_lock_mode)+0x79) [0x5b5cc9]
/usr/local/mysql/bin/mysqld(Query_cache::insert(THD*, Query_cache_tls*, char const*, unsigned long, unsigned int)+0x56) [0x5b8806]
/usr/local/mysql/bin/mysqld(net_real_write+0x45) [0x56aee5]
/usr/local/mysql/bin/mysqld(net_flush+0x1b) [0x56b36b]
/usr/local/mysql/bin/mysqld(net_write_command+0x177) [0x56b507]
/usr/local/mysql/bin/mysqld(cli_advanced_command+0x101) [0x76ab11]
/usr/local/mysql/bin/mysqld(mysql_send_query+0x2d) [0x7652cd]
/usr/local/mysql/bin/mysqld(mysql_real_query+0x9) [0x7652e9]
/usr/local/mysql/lib/plugin/ha_federated.so(ha_federated::info(unsigned int)+0x158) [0x7f4eb021c658]
/usr/local/mysql/bin/mysqld() [0x64d444]
/usr/local/mysql/bin/mysqld() [0x657169]
/usr/local/mysql/bin/mysqld(get_all_tables(THD*, TABLE_LIST*, Item*)+0x8fd) [0x657afd]
/usr/local/mysql/bin/mysqld(get_schema_tables_result(JOIN*, enum_schema_table_state)+0x287) [0x6486c7]
/usr/local/mysql/bin/mysqld(JOIN::exec_inner()+0x675) [0x643d15]
/usr/local/mysql/bin/mysqld(JOIN::exec()+0x31) [0x6442d1]
/usr/local/mysql/bin/mysqld(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x150) [0x642ac0]
/usr/local/mysql/bin/mysqld(handle_select(THD*, LEX*, select_result*, unsigned long)+0x26a) [0x6445aa]
/usr/local/mysql/bin/mysqld() [0x5ead9c]
/usr/local/mysql/bin/mysqld(mysql_execute_command(THD*)+0x5ebe) [0x5f39ae]
/usr/local/mysql/bin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x2ee) [0x5f61fe]
/usr/local/mysql/bin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x23a8) [0x5f8c38]
/usr/local/mysql/bin/mysqld(do_command(THD*)+0x159) [0x5f9299]
/usr/local/mysql/bin/mysqld(tp_callback(TP_connection*)+0x7f) [0x7090cf]
/usr/local/mysql/bin/mysqld() [0x76429d]
/lib64/libpthread.so.0(+0x7dc5) [0x7f4ef4100dc5]
/lib64/libc.so.6(clone+0x6d) [0x7f4ef254d73d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f20a4b02f10): is an invalid pointer
Connection ID (thread ID): 12097794
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
...
...
170612 10:31:28 [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.2.6-MariaDB-log
key_buffer_size=42949672960
read_buffer_size=1048576
max_used_connections=2433
max_threads=4001
thread_count=1230
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 50200296 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7fb309102ee8
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 = 0x7fb575df5cc8 thread_stack 0x40000
(my_addr_resolve failure: fork)
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x29) [0xc851a9]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x47a) [0x789e1a]
/lib64/libpthread.so.0(+0xf370) [0x7fdd5f0d6370]
/usr/local/mysql/bin/mysqld(QUERY_PROFILE::new_status(char const*, char const*, char const*, unsigned int)+0x77) [0x6c1677]
/usr/local/mysql/bin/mysqld(set_thd_stage_info+0xc9) [0x5bf599]
/usr/local/mysql/bin/mysqld(Query_cache::try_lock(THD*, Query_cache::Cache_try_lock_mode)+0x79) [0x5b5cc9]
/usr/local/mysql/bin/mysqld(Query_cache::insert(THD*, Query_cache_tls*, char const*, unsigned long, unsigned int)+0x56) [0x5b8806]
/usr/local/mysql/bin/mysqld(net_real_write+0x45) [0x56aee5]
/usr/local/mysql/bin/mysqld(net_flush+0x1b) [0x56b36b]
/usr/local/mysql/bin/mysqld(net_write_command+0x177) [0x56b507]
/usr/local/mysql/bin/mysqld(cli_advanced_command+0x101) [0x76ab11]
/usr/local/mysql/bin/mysqld(mysql_send_query+0x2d) [0x7652cd]
/usr/local/mysql/bin/mysqld(mysql_real_query+0x9) [0x7652e9]
/usr/local/mysql/lib/plugin/ha_federated.so(ha_federated::info(unsigned int)+0x158) [0x7fdcdb1ea658]
/usr/local/mysql/bin/mysqld() [0x64d444]
/usr/local/mysql/bin/mysqld() [0x657169]
/usr/local/mysql/bin/mysqld(get_all_tables(THD*, TABLE_LIST*, Item*)+0x8fd) [0x657afd]
/usr/local/mysql/bin/mysqld(get_schema_tables_result(JOIN*, enum_schema_table_state)+0x287) [0x6486c7]
/usr/local/mysql/bin/mysqld(JOIN::exec_inner()+0x675) [0x643d15]
/usr/local/mysql/bin/mysqld(JOIN::exec()+0x31) [0x6442d1]
/usr/local/mysql/bin/mysqld(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x150) [0x642ac0]
/usr/local/mysql/bin/mysqld(handle_select(THD*, LEX*, select_result*, unsigned long)+0x26a) [0x6445aa]
/usr/local/mysql/bin/mysqld() [0x5ead9c]
/usr/local/mysql/bin/mysqld(mysql_execute_command(THD*)+0x5ebe) [0x5f39ae]
/usr/local/mysql/bin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x2ee) [0x5f61fe]
/usr/local/mysql/bin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x23a8) [0x5f8c38]
/usr/local/mysql/bin/mysqld(do_command(THD*)+0x159) [0x5f9299]
/usr/local/mysql/bin/mysqld(tp_callback(TP_connection*)+0x7f) [0x7090cf]
/usr/local/mysql/bin/mysqld() [0x76429d]
/lib64/libpthread.so.0(+0x7dc5) [0x7fdd5f0cedc5]
/lib64/libc.so.6(clone+0x6d) [0x7fdd5d51b73d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fb309110390): is an invalid pointer
Connection ID (thread ID): 12369093
Status: NOT_KILLED
Can you tell what's wrong?
Attachments
Issue Links
- duplicates
-
MDEV-12725 select on federated table crashes server
- Closed