[MDEV-14547] Mariadb restart Created: 2017-11-30  Updated: 2017-12-25  Resolved: 2017-12-25

Status: Closed
Project: MariaDB Server
Component/s: Admin statements
Affects Version/s: 10.1.9
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Rodrigo Revuelta Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Red Hat Enterprise Linux Server release 6.6 (Santiago)


Issue Links:
Duplicate
duplicates MDEV-13828 Segmentation fault on RENAME TABLE Closed

 Description   

I have this error in the log and the server restart. ¿What could be the reason?

171130  8:16:43 [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 http://kb.askmonty.org/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.1.9-MariaDB-log
key_buffer_size=8589934592
read_buffer_size=131072
max_used_connections=310
max_threads=244
thread_count=18
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8940545 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0x7f547f1b8008
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 = 0x7f57e5e3ec58 thread_stack 0x48000
mysys/stacktrace.c:247(my_print_stacktrace)[0x7f5b0b6ba49b]
sql/signal_handler.cc:160(handle_fatal_signal)[0x7f5b0b21b7b5]
/lib64/libpthread.so.0(+0x332fc0f710)[0x7f5b0a832710]
myisam/mi_key.c:234(_mi_pack_key)[0x7f5b0b65dfa8]
myisam/mi_rkey.c:65(mi_rkey)[0x7f5b0b681f02]
sql/handler.cc:2625(handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function))[0x7f5b0b220220]
sql/sql_statistics.cc:1320(Stat_table_write_iter::init(unsigned int))[0x7f5b0b12034a]
sql/sql_statistics.cc:1351(my_b_read)[0x7f5b0b11db56]
sql/sql_rename.cc:284(do_rename)[0x7f5b0b0c6e42]
sql/sql_rename.cc:153(mysql_rename_tables(THD*, TABLE_LIST*, bool))[0x7f5b0b0c7059]
sql/sql_parse.cc:3614(mysql_execute_command(THD*))[0x7f5b0b0aefee]
sql/sql_parse.cc:7302(mysql_parse)[0x7f5b0b0b290d]
sql/sql_parse.cc:1487(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x7f5b0b0b53c3]
sql/sql_parse.cc:1111(do_command(THD*))[0x7f5b0b0b595b]
sql/threadpool_common.cc:233(threadpool_process_request(THD*))[0x7f5b0b1aa947]
sql/threadpool_unix.cc:1451(handle_event)[0x7f5b0b1f5615]
/lib64/libpthread.so.0(+0x332fc079d1)[0x7f5b0a82a9d1]
/lib64/libc.so.6(clone+0x6d)[0x7f5b08d008fd]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f575caab020): is an invalid pointer
Connection ID (thread ID): 67685048
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
 
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
171130 08:16:55 mysqld_safe Number of processes running now: 0
171130 08:16:55 mysqld_safe mysqld restarted
2017-11-30  8:16:55 140048729176096 [Note] /usr/sbin/mysqld (mysqld 10.1.9-MariaDB-log) starting as process 51946 ...
2017-11-30  8:16:58 140048729176096 [Note] mysqld: Aria engine: starting recovery
recovered pages: 0% 10% 20% 30% 40% 59% 69% 79% 90% 100% (3.8 seconds); tables to flush: 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 (0.0 seconds);
2017-11-30  8:17:02 140048729176096 [Note] mysqld: Aria engine: recovery done
2017-11-30  8:17:02 140048729176096 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-11-30  8:17:02 140048729176096 [Note] InnoDB: The InnoDB memory heap is disabled
2017-11-30  8:17:02 140048729176096 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins



 Comments   
Comment by Elena Stepanova [ 2017-12-25 ]

For all we know, it should be a duplicate of MDEV-13828. Please track further progress there.

Generated at Thu Feb 08 08:14:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.