2018-01-02 17:08:35 139803076360320 [Note] CONNECT: Version 1.06.0005 October 14, 2017 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Uses event mutexes 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Using Linux native AIO 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Number of pools: 1 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Using SSE2 crc32 instructions 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Completed initialization of buffer pool 2018-01-02 17:08:35 139802281006848 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Highest supported file format is Barracuda. 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: Waiting for purge to start 2018-01-02 17:08:35 139803076360320 [Note] InnoDB: 5.7.20 started; log sequence number 61165472820 2018-01-02 17:08:35 139801915287296 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-01-02 17:08:35 139803076360320 [Note] Plugin 'FEEDBACK' is disabled. 2018-01-02 17:08:35 139803076360320 [Note] Plugin 'gssapi' is disabled. 2018-01-02 17:08:35 139803076360320 [Note] Plugin 'cracklib_password_check' is disabled. 2018-01-02 17:08:35 139803076360320 [Note] Server socket created on IP: '::'. 2018-01-02 17:08:35 139802931328768 [Note] Event Scheduler: scheduler thread started with id 6 2018-01-02 17:08:35 139803076360320 [Note] Reading of all Master_info entries succeded 2018-01-02 17:08:35 139803076360320 [Note] Added new Master_info '' to hash table 2018-01-02 17:08:35 139803076360320 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.2.11-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2018-01-02 17:08:35 139801915287296 [Note] InnoDB: Buffer pool(s) load completed at 180102 17:08:35 2018-01-02 17:08:45 139802930722560 [Warning] IP address '192.168.163.130' could not be resolved: Name or service not known 180102 17:08:57 [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.11-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 = 2326197 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f25f00009a8 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 = 0x7f2668062d70 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55cba0801d6e] /usr/sbin/mysqld(handle_fatal_signal+0x30d)[0x55cba028560d] /lib64/libpthread.so.0(+0xf5e0)[0x7f26707595e0] /usr/sbin/mysqld(_ZN13Explain_query10get_selectEj+0x10)[0x55cba01e2df0] /usr/sbin/mysqld(_ZN13Explain_query8add_nodeEP12Explain_node+0xa3)[0x55cba01e2ed3] /usr/sbin/mysqld(_ZN4JOIN24save_explain_data_internEP13Explain_querybbbPKc+0xb37)[0x55cba0146b17] mysys/stacktrace.c:268(my_print_stacktrace)[0x55cba014b4dc] sql/sql_explain.cc:86(Explain_query::get_select(unsigned int))[0x55cba00eddf8] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1cfb)[0x55cba014a5bb] sql/sql_select.cc:24874(JOIN::save_explain_data_intern(Explain_query*, bool, bool, bool, char const*))[0x55cba014b45f] sql/sql_select.cc:3695(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*))[0x55cba014cb64] sql/sql_select.cc:373(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55cba014d744] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x7f88)[0x55cba00fe918] sql/sql_parse.cc:4522(mysql_execute_command(THD*))[0x55cba03addb6] sql/sp_head.cc:3027(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55cba03b4059] sql/sp_head.cc:3181(sp_instr_stmt::execute(THD*, unsigned int*))[0x55cba03b4625] sql/sp_head.cc:1338(sp_head::execute(THD*, bool))[0x55cba03b0e0e] sql/sp_head.cc:2135(sp_head::execute_procedure(THD*, List*))[0x55cba03b260f] sql/sql_parse.cc:2887(do_execute_sp(THD*, sp_head*))[0x55cba00efe66] sql/sql_parse.cc:5807(mysql_execute_command(THD*))[0x55cba00f8c0a] sql/sp_head.cc:3265(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55cba03addb6] sql/sp_head.cc:3027(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55cba03b4059] sql/sp_head.cc:3181(sp_instr_stmt::execute(THD*, unsigned int*))[0x55cba03b4625] sql/sp_head.cc:1338(sp_head::execute(THD*, bool))[0x55cba03b0e0e] sql/sp_head.cc:2135(sp_head::execute_procedure(THD*, List*))[0x55cba03b260f] sql/sql_parse.cc:2887(do_execute_sp(THD*, sp_head*))[0x55cba00efe66] sql/sql_parse.cc:5807(mysql_execute_command(THD*))[0x55cba00f8c0a] sql/sp_head.cc:3265(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55cba03addb6] sql/sp_head.cc:3027(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55cba03b4059] sql/sp_head.cc:3181(sp_instr_stmt::execute(THD*, unsigned int*))[0x55cba03b4625] sql/sp_head.cc:1338(sp_head::execute(THD*, bool))[0x55cba03b0e0e] sql/sp_head.cc:2135(sp_head::execute_procedure(THD*, List*))[0x55cba03b260f] sql/sql_parse.cc:2887(do_execute_sp(THD*, sp_head*))[0x55cba00efe66] sql/sql_parse.cc:5807(mysql_execute_command(THD*))[0x55cba00f8c0a] sql/sp_head.cc:3265(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55cba03addb6] sql/sp_head.cc:3027(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55cba03b4059] sql/sp_head.cc:3181(sp_instr_stmt::execute(THD*, unsigned int*))[0x55cba03b4625] sql/sp_head.cc:1338(sp_head::execute(THD*, bool))[0x55cba03b0e0e] sql/sp_head.cc:2135(sp_head::execute_procedure(THD*, List*))[0x55cba03b260f] sql/sql_parse.cc:2887(do_execute_sp(THD*, sp_head*))[0x55cba00efe66] sql/sql_parse.cc:5807(mysql_execute_command(THD*))[0x55cba00f8c0a] sql/sql_parse.cc:7888(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55cba00ffb0e] sql/sql_parse.cc:1805(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55cba0102aad] sql/sql_parse.cc:1362(do_command(THD*))[0x55cba01036a9] sql/sql_connect.cc:1354(do_handle_one_connection(CONNECT*))[0x55cba01c705a] sql/sql_connect.cc:1262(handle_one_connection)[0x55cba01c717d] /lib64/libpthread.so.0(+0x7e25)[0x7f2670751e25] /lib64/libc.so.6(clone+0x6d)[0x7f266ed2934d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f25f1cbdd60): INSERT INTO ENTITIES_TO_COPY ( ENTITY_UID, ENTITY_TYPE, ENTITY_SUB_TYPE, COPY_INSTANCE_UID ) SELECT ECD.DOCUMENT_VERSION_UID, 'document', 'event', NAME_CONST('V_COPY_INSTANCE_UID',59831) FROM EVENT_COLLECTION_DOCUMENTS ECD JOIN EVENT_DETAILS ED ON ED.EVENT_COLLECTION_UID = ECD.EVENT_COLLECTION_UID WHERE ED.EVENT_UID = NAME_CONST('V_EVENT_UID',34116) AND ED.ORGANISATION_UID = NAME_CONST('V_SOURCE_ORG_UID',26) AND NOT EXISTS ( SELECT * FROM ENTITIES_TO_COPY ETC WHERE ETC.ENTITY_UID = ECD.DOCUMENT_VERSION_UID AND ETC.COPY_INSTANCE_UID = NAME_CONST('V_COPY_INSTANCE_UID',59831) ) 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-01-02 17:09:03 140260628547712 [Note] CONNECT: Version 1.06.0005 October 14, 2017 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Uses event mutexes 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Using Linux native AIO 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Number of pools: 1 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Using SSE2 crc32 instructions 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Completed initialization of buffer pool 2018-01-02 17:09:03 140259829241600 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Highest supported file format is Barracuda. 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Starting crash recovery from checkpoint LSN=61165473166 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 11 row operations to undo 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Trx id counter is 5277184 2018-01-02 17:09:03 140260628547712 [Note] InnoDB: Starting final batch to recover 18 pages from redo log. 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Starting in background the rollback of recovered transactions 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Rolling back trx with id 5276836, 11 rows to undo 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: Waiting for purge to start 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Rollback of trx with id 5276836 completed 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Rollback of non-prepared transactions completed 2018-01-02 17:09:04 140260628547712 [Note] InnoDB: 5.7.20 started; log sequence number 61165475682 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-01-02 17:09:04 140260628547712 [Note] Plugin 'FEEDBACK' is disabled. 2018-01-02 17:09:04 140260628547712 [Note] Plugin 'gssapi' is disabled. 2018-01-02 17:09:04 140260628547712 [Note] Plugin 'cracklib_password_check' is disabled. 2018-01-02 17:09:04 140260628547712 [Note] Recovering after a crash using tc.log 2018-01-02 17:09:04 140260628547712 [Note] Starting crash recovery... 2018-01-02 17:09:04 140260628547712 [Note] Crash recovery finished. 2018-01-02 17:09:04 140260628547712 [Note] Server socket created on IP: '::'. 2018-01-02 17:09:04 140260479964928 [Note] Event Scheduler: scheduler thread started with id 6 2018-01-02 17:09:04 140260628547712 [Note] Reading of all Master_info entries succeded 2018-01-02 17:09:04 140260628547712 [Note] Added new Master_info '' to hash table 2018-01-02 17:09:04 140260628547712 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.2.11-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2018-01-02 17:09:04 140259820848896 [Note] InnoDB: Buffer pool(s) load completed at 180102 17:09:04