2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start reading clustered index of the table and create temporary files 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of reading clustered index of the table and create temporary files 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `PRIMARY` (1 / 6), estimated cost : 5.7143 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `PRIMARY` (1 / 6) 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start building index `PRIMARY` (1 / 6), estimated cost : 8.5714 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of building index `PRIMARY` (1 / 6) 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Completed 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `FK_Company_Currency` (2 / 6), estimated cost : 5.7143 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `FK_Company_Currency` (2 / 6) 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start building index `FK_Company_Currency` (2 / 6), estimated cost : 8.5714 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of building index `FK_Company_Currency` (2 / 6) 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Completed 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `FK_Company_Language` (3 / 6), estimated cost : 5.7143 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `FK_Company_Language` (3 / 6) 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : Start building index `FK_Company_Language` (3 / 6), estimated cost : 8.5714 2016-08-05 9:13:14 139714213227264 [Note] InnoDB: Online DDL : End of building index `FK_Company_Language` (3 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Completed 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `FK_Company_Country` (4 / 6), estimated cost : 5.7143 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `FK_Company_Country` (4 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start building index `FK_Company_Country` (4 / 6), estimated cost : 8.5714 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of building index `FK_Company_Country` (4 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Completed 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `FK_Company_Country1` (5 / 6), estimated cost : 5.7143 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `FK_Company_Country1` (5 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start building index `FK_Company_Country1` (5 / 6), estimated cost : 8.5714 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of building index `FK_Company_Country1` (5 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Completed 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start merge-sorting index `FK_Company_Country2` (6 / 6), estimated cost : 5.7143 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of merge-sorting index `FK_Company_Country2` (6 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Start building index `FK_Company_Country2` (6 / 6), estimated cost : 8.5714 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : End of building index `FK_Company_Country2` (6 / 6) 2016-08-05 9:13:15 139714213227264 [Note] InnoDB: Online DDL : Completed 160805 9:13:22 [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.1.16-MariaDB-1~trusty key_buffer_size=134217728 read_buffer_size=2097152 max_used_connections=24 max_threads=102 thread_count=11 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 759828 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0x7f115098c008 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 = 0x7f11c38ad1f0 thread_stack 0x48400 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f11c32a48fe] /usr/sbin/mysqld(handle_fatal_signal+0x2d5)[0x7f11c2dcbe75] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f11c1321330] /usr/sbin/mysqld(+0x4812d4)[0x7f11c2c9c2d4] /usr/sbin/mysqld(_ZN13st_select_lex5printEP3THDP6String15enum_query_type+0x4b2)[0x7f11c2c9cc02] /usr/sbin/mysqld(_ZN14Item_subselect5printEP6String15enum_query_type+0x5f)[0x7f11c2e5bfaf] /usr/sbin/mysqld(_ZN9Item_func8print_opEP6String15enum_query_type+0x183)[0x7f11c2e2cde3] /usr/sbin/mysqld(_ZN9Item_cond5printEP6String15enum_query_type+0xa6)[0x7f11c2dfc1a6] /usr/sbin/mysqld(_ZN13st_select_lex5printEP3THDP6String15enum_query_type+0x18d)[0x7f11c2c9c8dd] /usr/sbin/mysqld(_ZN18st_select_lex_unit5printEP6String15enum_query_type+0x57)[0x7f11c2c3e267] /usr/sbin/mysqld(_Z29mysqld_show_create_get_fieldsP3THDP10TABLE_LISTP4ListI4ItemEP6String+0x302)[0x7f11c2cabeb2] /usr/sbin/mysqld(_Z18mysqld_show_createP3THDP10TABLE_LIST+0xc0)[0x7f11c2cac8e0] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x3fbc)[0x7f11c2c4cecc] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x26d)[0x7f11c2c5273d] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x2460)[0x7f11c2c55a80] /usr/sbin/mysqld(_Z10do_commandP3THD+0x169)[0x7f11c2c56239] /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x18a)[0x7f11c2d1a89a] /usr/sbin/mysqld(handle_one_connection+0x40)[0x7f11c2d1aa70] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f11c1319184] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f11c083837d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f11ba0f4020): is an invalid pointer Connection ID (thread ID): 114358 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=off