2018-08-18 12:16:14 139936798738624 [ERROR] Plugin 'aws_key_management' registration as a ENCRYPTION failed. 2018-08-18 12:16:14 139936798738624 [Note] CONNECT: Version 1.06.0007 August 06, 2018 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Uses event mutexes 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Using Linux native AIO 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Number of pools: 1 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Using SSE2 crc32 instructions 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Initializing buffer pool, total size = 4G, instances = 4, chunk size = 128M 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Completed initialization of buffer pool 2018-08-18 12:16:14 139931515602688 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Highest supported file format is Barracuda. 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: 5.7.23 started; log sequence number 783755175140 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Creating #1 encryption thread id 139931368285952 total threads 4. 2018-08-18 12:16:14 139931455936256 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Creating #2 encryption thread id 139931359893248 total threads 4. 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Creating #3 encryption thread id 139931351500544 total threads 4. 2018-08-18 12:16:14 139936798738624 [Note] InnoDB: Creating #4 encryption thread id 139931343107840 total threads 4. 2018-08-18 12:16:14 139936798738624 [Note] Plugin 'FEEDBACK' is disabled. 2018-08-18 12:16:14 139936798738624 [Note] Plugin 'gssapi' is disabled. 2018-08-18 12:16:14 139936798738624 [Note] Plugin 'cracklib_password_check' is disabled. 180818 12:16:14 server_audit: server_audit_excl_users set to 'ipswichdba,event_scheduler'. 180818 12:16:14 server_audit: MariaDB Audit Plugin version 1.4.4 STARTED. 180818 12:16:14 server_audit: logging started to the file /tmp/sqlaudit.log. 2018-08-18 12:16:14 139936798738624 [Note] Using encryption key id 1 for temporary files 2018-08-18 12:16:14 139936798738624 [Note] Server socket created on IP: '::'. 2018-08-18 12:16:14 139936680728320 [Note] Event Scheduler: scheduler thread started with id 6 2018-08-18 12:16:14 139936798738624 [Note] Reading of all Master_info entries succeded 2018-08-18 12:16:14 139936798738624 [Note] Added new Master_info '' to hash table 2018-08-18 12:16:14 139936798738624 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.2.17-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2018-08-18 12:16:14 139931455936256 [Note] InnoDB: Buffer pool(s) load completed at 180818 12:16:14 2018-08-18 12:16:45 139936680113920 [Warning] IP address '192.168.163.128' could not be resolved: Name or service not known 180818 12:16:54 [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.17-MariaDB-log key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=999 thread_count=8 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2326212 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f43ec0009a8 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 = 0x7f458c1bed30 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56479fa9658e] mysys/stacktrace.c:268(my_print_stacktrace)[0x56479f514335] sigaction.c:0(__restore_rt)[0x7f4592eca6d0] sql/filesort.cc:1976(sortlength)[0x56479f512874] sql/sql_select.cc:21865(create_sort_index(THD*, JOIN*, st_join_table*, Filesort*))[0x56479f3c0657] sql/sql_window.cc:2761(Window_funcs_sort::exec(JOIN*))[0x56479f49ef45] sql/sql_window.cc:2886(Window_funcs_computation::exec(JOIN*))[0x56479f49f638] sql/sql_select.cc:26619(AGGR_OP::end_send())[0x56479f3d2bf6] sql/sql_select.cc:18451(sub_select_postjoin_aggr(JOIN*, st_join_table*, bool))[0x56479f3d2df1] sql/sql_select.cc:18547(sub_select_cache(JOIN*, st_join_table*, bool))[0x56479f3b0bf0] sql/sql_select.cc:18547(sub_select_cache(JOIN*, st_join_table*, bool))[0x56479f3b0bf0] sql/sql_select.cc:18281(do_select)[0x56479f3d3743] sql/sql_select.cc:3398(JOIN::exec())[0x56479f3d3a93] sql/sql_select.cc:3799(mysql_select(THD*, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x56479f3d3bea] sql/sql_select.cc:376(handle_select(THD*, LEX*, select_result*, unsigned long))[0x56479f3d4744] sql/sql_parse.cc:6478(execute_sqlcom_select(THD*, TABLE_LIST*))[0x56479f2b4865] sql/sql_parse.cc:3484(mysql_execute_command(THD*))[0x56479f37fabf] sql/sql_parse.cc:8010(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x56479f38268e] sql/sql_parse.cc:1824(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x56479f3858d5] sql/sql_parse.cc:1380(do_command(THD*))[0x56479f3864f5] sql/sql_connect.cc:1335(do_handle_one_connection(CONNECT*))[0x56479f44feda] sql/sql_connect.cc:1243(handle_one_connection)[0x56479f44fffd] pthread_create.c:0(start_thread)[0x7f4592ec2e25] /lib64/libc.so.6(clone+0x6d)[0x7f4591266bad] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f43ec010a70): SELECT ROW_NUMBER() OVER (PARTITION BY GROUP_CONCAT(TT1.UID)) FROM TEST_TABLE_1 TT1 WHERE EXISTS ( SELECT * FROM TEST_TABLE_2 TT2 JOIN TEST_TABLE_3 TT3 ON TT2.UID = TT3.UID WHERE TT3.UID = TT1.UID ) GROUP BY TT1.UID Connection ID (thread ID): 9 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 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. 2018-08-18 12:17:00 139843549042880 [ERROR] Plugin 'aws_key_management' registration as a ENCRYPTION failed. 2018-08-18 12:17:00 139843549042880 [Note] CONNECT: Version 1.06.0007 August 06, 2018 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Uses event mutexes 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Using Linux native AIO 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Number of pools: 1 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Using SSE2 crc32 instructions 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Initializing buffer pool, total size = 4G, instances = 4, chunk size = 128M 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Completed initialization of buffer pool 2018-08-18 12:17:00 139838269687552 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Highest supported file format is Barracuda. 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Starting crash recovery from checkpoint LSN=783755175178 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Ignoring data file './ipswichdb/TEST_TABLE_1.ibd' with space ID 935596, since the redo log references ./ipswichdb/TEST_TABLE_1.ibd with space ID 935591. 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Ignoring data file './ipswichdb/TEST_TABLE_2.ibd' with space ID 935597, since the redo log references ./ipswichdb/TEST_TABLE_2.ibd with space ID 935592. 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Ignoring data file './ipswichdb/TEST_TABLE_3.ibd' with space ID 935598, since the redo log references ./ipswichdb/TEST_TABLE_3.ibd with space ID 935593. 2018-08-18 12:17:00 139843549042880 [Note] InnoDB: Starting final batch to recover 29 pages from redo log. 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: 5.7.23 started; log sequence number 783755195084 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Creating #1 encryption thread id 139838119585536 total threads 4. 2018-08-18 12:17:01 139838127978240 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Creating #2 encryption thread id 139838111192832 total threads 4. 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Creating #3 encryption thread id 139837222942464 total threads 4. 2018-08-18 12:17:01 139843549042880 [Note] InnoDB: Creating #4 encryption thread id 139837214549760 total threads 4. 2018-08-18 12:17:01 139838127978240 [Note] InnoDB: Buffer pool(s) load completed at 180818 12:17:01 2018-08-18 12:17:01 139843549042880 [Note] Plugin 'FEEDBACK' is disabled. 2018-08-18 12:17:01 139843549042880 [Note] Plugin 'gssapi' is disabled. 2018-08-18 12:17:01 139843549042880 [Note] Plugin 'cracklib_password_check' is disabled. 180818 12:17:01 server_audit: server_audit_excl_users set to 'ipswichdba,event_scheduler'. 180818 12:17:01 server_audit: MariaDB Audit Plugin version 1.4.4 STARTED. 180818 12:17:01 server_audit: logging started to the file /tmp/sqlaudit.log. 2018-08-18 12:17:01 139843549042880 [Note] Using encryption key id 1 for temporary files 2018-08-18 12:17:01 139843549042880 [Note] Recovering after a crash using tc.log 2018-08-18 12:17:01 139843549042880 [Note] Starting crash recovery... 2018-08-18 12:17:01 139843549042880 [Note] Crash recovery finished. 2018-08-18 12:17:01 139843549042880 [Note] Server socket created on IP: '::'. 2018-08-18 12:17:01 139843431032576 [Note] Event Scheduler: scheduler thread started with id 6 2018-08-18 12:17:01 139843549042880 [Note] Reading of all Master_info entries succeded 2018-08-18 12:17:01 139843549042880 [Note] Added new Master_info '' to hash table 2018-08-18 12:17:01 139843549042880 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.2.17-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server