2018-03-02 8:47:17 140520644540160 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:49:52 140520631809792 [ERROR] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_TYPE_ID for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name PRIMARY for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_TYPE_ID for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_ATTRIBUTE_SET_ID for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_NAME for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_PRICE for table carlab/#sql-6be7_6f030 2018-03-02 8:49:52 140520631809792 [Note] InnoDB: Index for key no 1 mysql name IDX_CARLAB_CATALOG_PRODUCT_FLAT_2_TYPE_ID InnoDB name IDX_CARLAB_CATALOG_PRODUCT_FLAT_1_STATUS for table carlab/#sql-6be7_6f030 2018-03-02 08:49:52 0x7fcd8257b700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.2.13/storage/innobase/handler/ha_innodb.cc line 9823 InnoDB: Failing assertion: ut_strcmp(index->name, key->name) == 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. 180302 8:49:52 [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-10.2.13+maria~xenial key_buffer_size=134217728 read_buffer_size=2097152 max_used_connections=157 max_threads=1002 thread_count=98 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 6308732 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fcd8c006fb8 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 = 0x7fcd8257acf8 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55bc4c3a812e] /usr/sbin/mysqld(handle_fatal_signal+0x345)[0x55bc4be42b95] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fef1e8b4390] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fef1de83428] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fef1de8502a] /usr/sbin/mysqld(+0x40c252)[0x55bc4bbf3252] /usr/sbin/mysqld(+0x8a59c1)[0x55bc4c08c9c1] /usr/sbin/mysqld(+0x8b6652)[0x55bc4c09d652] /usr/sbin/mysqld(+0x8adf4e)[0x55bc4c094f4e] /usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcij+0x33)[0x55bc4be46fa3] /usr/sbin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x6bf)[0x55bc4bd51e7f] /usr/sbin/mysqld(_ZN3THD20open_temporary_tableEP15TMP_TABLE_SHAREPKcb+0x68)[0x55bc4bdefd48] /usr/sbin/mysqld(_ZN3THD25create_and_open_tmp_tableEP10handlertonP34st_mysql_const_unsigned_lex_stringPKcS5_S5_b+0x36)[0x55bc4bdf1b36] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x387a)[0x55bc4bd30ada] /usr/sbin/mysqld(_ZN19Sql_cmd_alter_table7executeEP3THD+0x5f4)[0x55bc4bd7b2e4] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x143f)[0x55bc4bca4e1f] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x28a)[0x55bc4bcac81a] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1f09)[0x55bc4bcaf5b9] /usr/sbin/mysqld(_Z10do_commandP3THD+0x13c)[0x55bc4bcafe7c] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x24a)[0x55bc4bd7846a] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55bc4bd785dd] /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fef1e8aa6ba] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fef1df5541d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fcd8c015690): ALTER TABLE `carlab_catalog_product_flat_2` ADD CONSTRAINT `FK_A06A8778EAC3E2197EBBE5185AABC200` FOREIGN KEY (`entity_id`) REFERENCES `carlab_catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE Connection ID (thread ID): 454704 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-03-02 8:49:59 140573439158464 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Uses event mutexes 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Compressed tables use zlib 1.2.8 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Using Linux native AIO 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Number of pools: 1 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Using SSE2 crc32 instructions 2018-03-02 8:49:59 140573439158464 [Note] InnoDB: Initializing buffer pool, total size = 128G, instances = 4, chunk size = 128M 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: Completed initialization of buffer pool 2018-03-02 8:50:01 140426066908928 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: Highest supported file format is Barracuda. 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: Starting crash recovery from checkpoint LSN=157484834120 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: 2 transaction(s) which must be rolled back or cleaned up in total 2 row operations to undo 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: Trx id counter is 63294208 2018-03-02 8:50:01 140573439158464 [Note] InnoDB: Starting final batch to recover 165 pages from redo log. 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-03-02 8:50:03 140426033338112 [Note] InnoDB: Starting in background the rollback of recovered transactions 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-03-02 8:50:03 140426033338112 [Note] InnoDB: Rolled back recovered transaction 63293505 2018-03-02 8:50:03 140426033338112 [Note] InnoDB: Rolled back recovered transaction 63293446 2018-03-02 8:50:03 140426033338112 [Note] InnoDB: Rollback of non-prepared transactions completed 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: Waiting for purge to start 2018-03-02 8:50:03 140573439158464 [Note] InnoDB: 5.7.21 started; log sequence number 157485049187 2018-03-02 8:50:03 140429361002240 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-03-02 8:50:03 140573439158464 [Note] Plugin 'FEEDBACK' is disabled. 2018-03-02 8:50:03 140573439158464 [Note] Recovering after a crash using tc.log 2018-03-02 8:50:03 140573439158464 [Note] Starting crash recovery... 2018-03-02 8:50:03 140573439158464 [Note] Crash recovery finished. 2018-03-02 8:50:03 140573439158464 [Note] Server socket created on IP: '10.0.0.102'. 2018-03-02 8:50:03 140573439158464 [Note] Reading of all Master_info entries succeded 2018-03-02 8:50:03 140573439158464 [Note] Added new Master_info '' to hash table 2018-03-02 8:50:03 140573439158464 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.2.13-MariaDB-10.2.13+maria~xenial' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2018-03-02 8:50:03 140572873991936 [Warning] IP address '10.0.0.101' could not be resolved: Name or service not known 2018-03-02 8:50:18 140429255825152 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:50:19 140429254915840 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:50:34 140429257037568 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:51:01 140429255522048 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:51:01 140572871259904 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:51:03 140429254915840 [ERROR] mysqld: Table './carlab/carlab_catalogsearch_fulltext' is marked as crashed and should be repaired 2018-03-02 8:51:03 140429254915840 [ERROR] mysqld: Table 'carlab_catalogsearch_fulltext' is marked as crashed and should be repaired 2018-03-02 8:51:03 140429254915840 [Warning] Checking table: './carlab/carlab_catalogsearch_fulltext' 2018-03-02 8:51:06 140429257340672 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:51:27 140429324920576 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:51:53 140429256734464 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:52:00 140429324920576 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:52:18 140572870653696 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:52:33 140429254612736 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:52:34 140429254612736 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:52:40 140572871259904 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:53:03 140429257340672 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:53:06 140429361002240 [Note] InnoDB: Buffer pool(s) load completed at 180302 8:53:06 2018-03-02 8:53:24 140429324920576 [ERROR] mysqld: Table './carlab/carlab_quickpaypayment_order_status' is marked as crashed and should be repaired 2018-03-02 8:53:24 140429324920576 [ERROR] mysqld: Table 'carlab_quickpaypayment_order_status' is marked as crashed and should be repaired 2018-03-02 8:53:24 140429324920576 [Warning] Checking table: './carlab/carlab_quickpaypayment_order_status' 2018-03-02 8:53:30 140572873991936 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:53:53 140429256128256 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:54:13 140429254006528 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:54:35 140429255218944 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:54:59 140572871563008 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:55:20 140429254309632 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:55:48 140429241145088 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:56:08 140429252794112 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:56:30 140429243266816 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:56:52 140429255522048 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:57:14 140429257340672 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:57:19 140429243569920 [ERROR] mysqld: Table './carlab/carlab_m_misspell' is marked as crashed and should be repaired 2018-03-02 8:57:19 140429243569920 [ERROR] mysqld: Table 'carlab_m_misspell' is marked as crashed and should be repaired 2018-03-02 8:57:19 140429243569920 [Warning] Checking table: './carlab/carlab_m_misspell' 2018-03-02 8:57:38 140429241145088 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030' 2018-03-02 8:58:09 140429254309632 [ERROR] Invalid (old?) table or database name '#sql-6be7_6f030'