2018-10-26 16:09:11 0x7ff7f44ba700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.2.13/storage/innobase/row/row0merge.cc line 4476 InnoDB: Failing assertion: table->get_ref_count() == 0 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to https://jira.mariadb.org/ InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/ InnoDB: about forcing recovery. 181026 16:09:11 [ERROR] mysqld got signal 6 ; 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.13-MariaDB-log key_buffer_size=67108864 read_buffer_size=131072 max_used_connections=125 max_threads=1002 thread_count=131 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2256585 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7ff774000d08 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 = 0x7ff7f44b9d40 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7ff82e3976ce] mysys/stacktrace.c:268(my_print_stacktrace)[0x7ff82de1f085] sigaction.c:0(__restore_rt)[0x7ff82d37f370] :0(__GI_raise)[0x7ff82b9081d7] :0(__GI_abort)[0x7ff82b9098c8] /usr/sbin/mysqld(+0x4277c0)[0x7ff82dbd57c0] ut/ut0rbt.cc:221(rbt_tree_add_child(ib_rbt_t const*, ib_rbt_bound_t*, ib_rbt_node_t*) [clone .isra.4] [clone .part.5])[0x7ff82e0bc90c] row/row0merge.cc:4476(row_merge_drop_table(trx_t*, dict_table_t*))[0x7ff82e01c720] handler/handler0alter.cc:9052(ha_innobase::commit_inplace_alter_table(TABLE*, Alter_inplace_info*, bool))[0x7ff82dbca0e7] sql/sql_table.cc:7358(mysql_inplace_alter_table(THD*, TABLE_LIST*, TABLE*, TABLE*, Alter_inplace_info*, enum_alter_inplace_result, MDL_request*, Alter_table_ctx*) [clone .isra.239])[0x7ff82dd15dea] sql/sql_table.cc:9354(mysql_alter_table(THD*, char*, char*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool))[0x7ff82dd5f03a] sql/sql_alter.cc:324(Sql_cmd_alter_table::execute(THD*))[0x7ff82dc8becb] sql/sql_parse.cc:6208(mysql_execute_command(THD*))[0x7ff82dca688e] sql/sql_prepare.cc:4773(Prepared_statement::execute(String*, bool))[0x7ff82dca6af0] sql/sql_prepare.cc:4203(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x7ff82dca7937] sql/sql_prepare.cc:3205(mysql_stmt_execute_common(THD*, unsigned long, unsigned char*, unsigned char*, unsigned long, bool, bool))[0x7ff82dca79c7] sql/sql_parse.cc:1528(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x7ff82dc96428] sql/sql_parse.cc:1362(do_command(THD*))[0x7ff82dc97999] sql/sql_connect.cc:1335(do_handle_one_connection(CONNECT*))[0x7ff82dd5c23a] sql/sql_connect.cc:1243(handle_one_connection)[0x7ff82dd5c35d] perfschema/pfs.cc:1865(pfs_spawn_thread)[0x7ff82dfd490d] pthread_create.c:0(start_thread)[0x7ff82d377dc5] /lib64/libc.so.6(clone+0x6d)[0x7ff82b9ca73d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7ff7741ffe88): alter table `o_wastelocation_nodes` add `device_settings_id` int unsigned null after `last_valid_log_id` Connection ID (thread ID): 26161362 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.