2019-10-13 11:07:33 0 [Note] InnoDB: Using Linux native AIO 2019-10-13 11:07:33 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-13 11:07:33 0 [Note] InnoDB: Uses event mutexes 2019-10-13 11:07:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-13 11:07:33 0 [Note] InnoDB: Number of pools: 1 2019-10-13 11:07:33 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-13 11:07:33 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-13 11:07:36 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-13 11:07:36 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-13 11:07:36 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 50331648 bytes 2019-10-13 11:07:36 0 [Note] InnoDB: Setting log file ./ib_logfile1 size to 50331648 bytes 2019-10-13 11:07:36 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 2019-10-13 11:07:36 0 [Note] InnoDB: New log files created, LSN=7758593674374 2019-10-13 11:07:38 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-13 11:07:38 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-13 11:07:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-13 11:07:38 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-13 11:07:38 0 [Note] InnoDB: Waiting for purge to start 2019-10-13 11:07:38 0 [Note] InnoDB: 10.3.13 started; log sequence number 7758593674764; transaction id 351228255 2019-10-13 11:07:38 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-13 11:07:38 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-13 11:07:38 0 [ERROR] mysqld: File '/data/slowquery_logs/slow_query.log' not found (Errcode: 13 "Permission denied") 2019-10-13 11:07:38 0 [ERROR] Could not use /data/slowquery_logs/slow_query.log for logging (error 13). Turning logging off for the whole duration of the MariaDB server process. To turn it on again: fix the cause, shutdown the MariaDB server and restart it. 2019-10-13 11:07:38 0 [Note] Server socket created on IP: '::'. 2019-10-13 11:07:38 0 [Note] Reading of all Master_info entries succeded 2019-10-13 11:07:38 0 [Note] Added new Master_info '' to hash table 2019-10-13 11:07:38 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-13 11:09:14 0 [Note] InnoDB: Buffer pool(s) load completed at 191013 11:09:14 2019-10-13 11:11:22 0 [Note] /usr/local/mariadb/bin/mysqld (initiated by: cartadmin[cartadmin] @ localhost []): Normal shutdown 2019-10-13 11:11:22 0 [Note] Event Scheduler: Purging the queue. 0 events 2019-10-13 11:11:22 0 [Note] InnoDB: FTS optimize thread exiting. 2019-10-13 11:11:24 0 [Note] InnoDB: Starting shutdown... 2019-10-13 11:11:24 0 [Note] InnoDB: Dumping buffer pool(s) to /data/mardb/data/ib_buffer_pool 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 0, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 1, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 2, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 3, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 4, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:24 0 [Note] InnoDB: Instance 5, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:25 0 [Note] InnoDB: Instance 6, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:25 0 [Note] InnoDB: Instance 7, restricted to 143360 pages due to innodb_buf_pool_dump_pct=25 2019-10-13 11:11:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 191013 11:11:25 2019-10-13 11:11:28 0 [Note] InnoDB: Shutdown completed; log sequence number 7759342588321; transaction id 351229202 2019-10-13 11:11:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-10-13 11:11:28 0 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete 2019-10-13 11:11:40 0 [Note] InnoDB: Using Linux native AIO 2019-10-13 11:11:40 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-13 11:11:40 0 [Note] InnoDB: Uses event mutexes 2019-10-13 11:11:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-13 11:11:40 0 [Note] InnoDB: Number of pools: 1 2019-10-13 11:11:40 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-13 11:11:40 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-13 11:11:42 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-13 11:11:43 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-13 11:11:44 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-13 11:11:44 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-13 11:11:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-13 11:11:44 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-13 11:11:44 0 [Note] InnoDB: Waiting for purge to start 2019-10-13 11:11:44 0 [Note] InnoDB: 10.3.13 started; log sequence number 7759342588321; transaction id 351228255 2019-10-13 11:11:44 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-13 11:11:44 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-13 11:11:44 0 [Note] Server socket created on IP: '::'. 2019-10-13 11:11:44 0 [Note] Reading of all Master_info entries succeded 2019-10-13 11:11:44 0 [Note] Added new Master_info '' to hash table 2019-10-13 11:11:44 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-13 11:11:58 0 [Note] InnoDB: Buffer pool(s) load completed at 191013 11:11:58 2019-10-13 11:15:55 14 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay-log.info' 2019-10-13 11:15:55 14 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='10.6.204.51', master_port='3306', master_log_file='madb01-bin.000267', master_log_pos='663566071'. 2019-10-13 11:16:01 15 [Note] Slave I/O thread: Start asynchronous replication to master 'replicant@10.6.204.51:3306' in log 'madb01-bin.000267' at position 663566071 2019-10-13 11:16:01 16 [Note] Slave SQL thread initialized, starting replication in log 'madb01-bin.000267' at position 663566071, relay log '/data/mardb/relaylog/mysql-relay-bin.000001' position: 4 2019-10-13 11:16:01 15 [Note] Slave I/O thread: connected to master 'replicant@10.6.204.51:3306',replication started in log 'madb01-bin.000267' at position 663566071 2019-10-13 22:05:18 17 [Warning] Aborted connection 17 to db: 'unconnected' user: 'cartadmin' host: 'localhost' (Got timeout reading communication packets) 2019-10-14 6:49:50 476 [Warning] Aborted connection 476 to db: 'unconnected' user: 'cartadmin' host: 'localhost' (Got timeout reading communication packets) 191014 15:57:21 [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.3.13-MariaDB-log key_buffer_size=1073741824 read_buffer_size=524288000 max_used_connections=3 max_threads=153 thread_count=12 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 239820094 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f88e40012a8 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 = 0x7f9c240cf5d0 thread_stack 0x49000 /usr/local/mariadb/bin/mysqld(my_print_stacktrace+0x2e)[0x5617cb4ff1be] /usr/local/mariadb/bin/mysqld(handle_fatal_signal+0x357)[0x5617cafa26e7] /lib64/libpthread.so.0(+0xf5d0)[0x7f9c296925d0] /lib64/libc.so.6(+0x14d814)[0x7f9c28dfa814] /usr/local/mariadb/bin/mysqld(insert_dynamic+0x2a)[0x5617cb4d716a] /usr/local/mariadb/bin/mysqld(+0x7f2035)[0x5617cb016035] /usr/local/mariadb/bin/mysqld(_ZN22Item_func_get_user_var18fix_length_and_decEv+0x49)[0x5617cb016569] /usr/local/mariadb/bin/mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x15c)[0x5617cb00bf7c] mysys/array.c:103(insert_dynamic)[0x5617cb00bf5f] sql/item_func.cc:5422(get_var_with_binlog(THD*, enum_sql_command, st_mysql_const_lex_string*, user_var_entry**))[0x5617cb0358d2] sql/item_func.cc:5448(Item_func_get_user_var::fix_length_and_dec())[0x5617cb00bf5f] sql/item_strfunc.cc:111(Item_str_func::fix_fields(THD*, Item**))[0x5617cb0167b8] sql/item_func.cc:363(Item_func::fix_fields(THD*, Item**))[0x5617cad25f98] sql/set_var.cc:874(set_var_user::check(THD*))[0x5617cad27d39] sql/set_var.cc:733(sql_set_variables(THD*, List*, bool))[0x5617cadd0310] sql/sql_parse.cc:5141(mysql_execute_command(THD*))[0x5617cad396d5] sql/sp_head.cc:3596(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x5617cad41139] sql/sp_head.cc:3322(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x5617cad41b7b] sql/sp_head.cc:3501(sp_instr_stmt::execute(THD*, unsigned int*))[0x5617cad3d050] sql/sp_head.cc:1356(sp_head::execute(THD*, bool))[0x5617cad3ebba] sql/sp_head.cc:2014(sp_head::execute_function(THD*, Item**, unsigned int, Field*, sp_rcontext**, Query_arena*))[0x5617cafbf698] sql/item.cc:3004(Item_sp::execute_impl(THD*, Item**, unsigned int))[0x5617cafbf8e1] sql/item.cc:2912(Item_sp::execute(THD*, bool*, Item**, unsigned int))[0x5617cb022948] sql/item_func.h:2915(Item_func_sp::val_str(String*))[0x5617cafd5b8d] sql/item_cmpfunc.cc:762(Arg_comparator::compare_string())[0x5617cafd663a] sql/item_cmpfunc.cc:1729(Item_func_eq::val_int())[0x5617caef2970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x5617cafd40fa] sql/item_cmpfunc.cc:5038(Item_cond_and::val_int())[0x5617caef2970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x5617cafd5c2d] sql/item_cmpfunc.cc:2891(Item_func_case_searched::find_item())[0x5617cafd34c6] sql/item_cmpfunc.cc:2926(Item_func_case::str_op(String*))[0x5617cafc4d01] sql/item.cc:6815(Item::save_str_in_field(Field*, bool))[0x5617cafb66b6] sql/item.cc:6864(Item::save_in_field(Field*, bool))[0x5617cad79288] sql/sql_base.cc:8567(fill_record(THD*, TABLE*, Field**, List&, bool, bool))[0x5617cae640db] sql/sql_union.cc:128(select_unit::send_data(List&))[0x5617cae13fdf] sql/sql_select.cc:20579(end_send(JOIN*, st_join_table*, bool))[0x5617cae029d8] sql/sql_select.cc:19441(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae026de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae026de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae026de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae026de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae0273c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae026de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cadf893c] sql/sql_class.h:3872(THD::get_stmt_da())[0x5617cae0273c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x5617cae23e5b] sql/sql_select.cc:18936(do_select)[0x5617cae24073] sql/sql_select.cc:3835(JOIN::exec())[0x5617cae666d4] sql/sql_union.cc:1470(st_select_lex_unit::exec())[0x5617cae69172] sql/sql_union.cc:41(mysql_union(THD*, LEX*, select_result*, st_select_lex_unit*, unsigned long))[0x5617cae24b75] sql/sql_class.h:3862(handle_select(THD*, LEX*, select_result*, unsigned long))[0x5617cadd19bd] sql/sql_parse.cc:4837(mysql_execute_command(THD*))[0x5617cadd349c] sql/sql_parse.cc:8095(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x5617cb09e42a] sql/log_event.cc:5681(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x5617cad29ea3] sql/log_event.h:1483(Log_event::apply_event(rpl_group_info*))[0x5617cad336db] /lib64/libpthread.so.0(+0x7dd5)[0x7f9c2968add5] /lib64/libc.so.6(clone+0x6d)[0x7f9c28daaead] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f88e47537e0): SET @V_Communication_Channel_R = concat(@V_Email,@V_SMS,@V_PN,@V_WhatsApp) Connection ID (thread ID): 16 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,split_materialized=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. 2019-10-14 15:57:28 0 [Note] InnoDB: Using Linux native AIO 2019-10-14 15:57:28 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-14 15:57:28 0 [Note] InnoDB: Uses event mutexes 2019-10-14 15:57:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-14 15:57:28 0 [Note] InnoDB: Number of pools: 1 2019-10-14 15:57:28 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-14 15:57:28 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-14 15:57:30 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-14 15:57:30 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-14 15:57:31 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=7820412297192 2019-10-14 15:57:32 0 [Note] InnoDB: Last binlog file '/data/mardb/binlogs/madb01-bin.000267', position 663566071 2019-10-14 15:57:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-14 15:57:32 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-10-14 15:57:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-14 15:57:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-14 15:57:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-14 15:57:32 0 [Note] InnoDB: Waiting for purge to start 2019-10-14 15:57:32 0 [Note] InnoDB: 10.3.13 started; log sequence number 7820412297201; transaction id 351864388 2019-10-14 15:57:32 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-14 15:57:32 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-14 15:57:32 0 [Note] Recovering after a crash using /data/mardb/binlog/mysql-bin 2019-10-14 15:57:32 0 [Note] Starting crash recovery... 2019-10-14 15:57:32 0 [Note] Crash recovery finished. 2019-10-14 15:57:32 0 [Note] Server socket created on IP: '::'. 2019-10-14 15:57:35 0 [Note] Reading of all Master_info entries succeded 2019-10-14 15:57:35 0 [Note] Added new Master_info '' to hash table 2019-10-14 15:57:35 10 [Note] Slave I/O thread: Start asynchronous replication to master 'replicant@10.6.204.51:3306' in log 'madb01-bin.000275' at position 55831699 2019-10-14 15:57:35 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-14 15:57:35 11 [Note] Slave SQL thread initialized, starting replication in log 'madb01-bin.000275' at position 50223872, relay log '/data/mardb/relaylog/mysql-relay-bin.000027' position: 50201420 2019-10-14 15:57:35 10 [Note] Slave I/O thread: connected to master 'replicant@10.6.204.51:3306',replication started in log 'madb01-bin.000275' at position 55831699 2019-10-14 15:57:46 0 [Note] InnoDB: Buffer pool(s) load completed at 191014 15:57:46 191014 16:47:11 [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.3.13-MariaDB-log key_buffer_size=1073741824 read_buffer_size=524288000 max_used_connections=2 max_threads=153 thread_count=11 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 239820094 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f1bb80012a8 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 = 0x7f2e8050b5d0 thread_stack 0x49000 /usr/local/mariadb/bin/mysqld(my_print_stacktrace+0x2e)[0x55927f3061be] /usr/local/mariadb/bin/mysqld(handle_fatal_signal+0x357)[0x55927eda96e7] /lib64/libpthread.so.0(+0xf5d0)[0x7f2e85a835d0] /lib64/libc.so.6(+0x14d814)[0x7f2e851eb814] /usr/local/mariadb/bin/mysqld(insert_dynamic+0x2a)[0x55927f2de16a] /usr/local/mariadb/bin/mysqld(+0x7f2035)[0x55927ee1d035] mysys/array.c:103(insert_dynamic)[0x55927ee1d569] sql/item_func.cc:5422(get_var_with_binlog(THD*, enum_sql_command, st_mysql_const_lex_string*, user_var_entry**))[0x55927ee12f7c] sql/item_func.cc:5448(Item_func_get_user_var::fix_length_and_dec())[0x55927ee12f5f] sql/item_func.cc:363(Item_func::fix_fields(THD*, Item**))[0x55927ee3c8d2] sql/item_strfunc.cc:111(Item_str_func::fix_fields(THD*, Item**))[0x55927ee12f5f] sql/item_func.cc:363(Item_func::fix_fields(THD*, Item**))[0x55927ee1d7b8] sql/item_func.cc:4511(Item_func_set_user_var::fix_fields(THD*, Item**))[0x55927eb2cf98] sql/set_var.cc:874(set_var_user::check(THD*))[0x55927eb2ed39] sql/set_var.cc:733(sql_set_variables(THD*, List*, bool))[0x55927ebd7310] sql/sql_parse.cc:5141(mysql_execute_command(THD*))[0x55927eb406d5] sql/sp_head.cc:3596(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55927eb48139] sql/sp_head.cc:3322(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55927eb48b7b] sql/sp_head.cc:3501(sp_instr_stmt::execute(THD*, unsigned int*))[0x55927eb44050] sql/sp_head.cc:1356(sp_head::execute(THD*, bool))[0x55927eb45bba] sql/sp_head.cc:2014(sp_head::execute_function(THD*, Item**, unsigned int, Field*, sp_rcontext**, Query_arena*))[0x55927edc6698] sql/item.cc:3004(Item_sp::execute_impl(THD*, Item**, unsigned int))[0x55927edc68e1] sql/item.cc:2912(Item_sp::execute(THD*, bool*, Item**, unsigned int))[0x55927ee29948] sql/item_func.h:2915(Item_func_sp::val_str(String*))[0x55927eddcb8d] sql/item_cmpfunc.cc:762(Arg_comparator::compare_string())[0x55927eddd63a] sql/item_cmpfunc.cc:1729(Item_func_eq::val_int())[0x55927ecf9970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x55927eddb0fa] sql/item_cmpfunc.cc:5038(Item_cond_and::val_int())[0x55927ecf9970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x55927eddcc2d] sql/item_cmpfunc.cc:2891(Item_func_case_searched::find_item())[0x55927edda4c6] sql/item_cmpfunc.cc:2926(Item_func_case::str_op(String*))[0x55927edcbd01] sql/item.cc:6815(Item::save_str_in_field(Field*, bool))[0x55927edbd6b6] sql/item.cc:6864(Item::save_in_field(Field*, bool))[0x55927eb80288] sql/sql_base.cc:8567(fill_record(THD*, TABLE*, Field**, List&, bool, bool))[0x55927ec6b0db] sql/sql_union.cc:128(select_unit::send_data(List&))[0x55927ec1afdf] sql/sql_select.cc:20579(end_send(JOIN*, st_join_table*, bool))[0x55927ec099d8] sql/sql_select.cc:19441(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec096de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec096de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec096de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec096de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec0973c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec096de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ebff93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55927ec0973c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55927ec2ae5b] sql/sql_select.cc:18936(do_select)[0x55927ec2b073] sql/sql_select.cc:3835(JOIN::exec())[0x55927ec6d6d4] sql/sql_union.cc:1470(st_select_lex_unit::exec())[0x55927ec70172] sql/sql_union.cc:41(mysql_union(THD*, LEX*, select_result*, st_select_lex_unit*, unsigned long))[0x55927ec2bb75] sql/sql_class.h:3862(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55927ebd89bd] sql/sql_parse.cc:4837(mysql_execute_command(THD*))[0x55927ebda49c] sql/sql_parse.cc:8095(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55927eea542a] sql/log_event.cc:5681(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x55927eb30ea3] sql/log_event.h:1483(Log_event::apply_event(rpl_group_info*))[0x55927eb3a6db] /lib64/libpthread.so.0(+0x7dd5)[0x7f2e85a7bdd5] /lib64/libc.so.6(clone+0x6d)[0x7f2e8519bead] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f1bb84e4080): SET @V_Communication_Channel_R = concat(@V_Email,@V_SMS,@V_PN,@V_WhatsApp) Connection ID (thread ID): 11 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,split_materialized=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. 2019-10-14 16:47:14 0 [Note] InnoDB: Using Linux native AIO 2019-10-14 16:47:14 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-14 16:47:14 0 [Note] InnoDB: Uses event mutexes 2019-10-14 16:47:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-14 16:47:14 0 [Note] InnoDB: Number of pools: 1 2019-10-14 16:47:14 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-14 16:47:14 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-14 16:47:17 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-14 16:47:17 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-14 16:47:17 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=7820412299921 2019-10-14 16:47:18 0 [Note] InnoDB: Last binlog file '/data/mardb/binlogs/madb01-bin.000267', position 663566071 2019-10-14 16:47:19 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-14 16:47:19 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-10-14 16:47:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-14 16:47:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-14 16:47:19 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-14 16:47:19 0 [Note] InnoDB: Waiting for purge to start 2019-10-14 16:47:19 0 [Note] InnoDB: 10.3.13 started; log sequence number 7820412299930; transaction id 351864406 2019-10-14 16:47:19 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-14 16:47:19 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-14 16:47:19 0 [Note] Recovering after a crash using /data/mardb/binlog/mysql-bin 2019-10-14 16:47:19 0 [Note] Starting crash recovery... 2019-10-14 16:47:19 0 [Note] Crash recovery finished. 2019-10-14 16:47:19 0 [Note] Server socket created on IP: '::'. 2019-10-14 16:47:21 0 [Note] Reading of all Master_info entries succeded 2019-10-14 16:47:21 0 [Note] Added new Master_info '' to hash table 2019-10-14 16:47:21 10 [Note] Slave I/O thread: Start asynchronous replication to master 'replicant@10.6.204.51:3306' in log 'madb01-bin.000275' at position 67823215 2019-10-14 16:47:21 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-14 16:47:21 11 [Note] Slave SQL thread initialized, starting replication in log 'madb01-bin.000275' at position 50223872, relay log '/data/mardb/relaylog/mysql-relay-bin.000027' position: 50201420 2019-10-14 16:47:21 10 [Note] Slave I/O thread: connected to master 'replicant@10.6.204.51:3306',replication started in log 'madb01-bin.000275' at position 67823215 2019-10-14 16:47:33 0 [Note] InnoDB: Buffer pool(s) load completed at 191014 16:47:33 191014 17:31:11 [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.3.13-MariaDB-log key_buffer_size=1073741824 read_buffer_size=524288000 max_used_connections=2 max_threads=153 thread_count=11 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 239820094 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f68f40012a8 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 = 0x7f7bbc5745d0 thread_stack 0x49000 /usr/local/mariadb/bin/mysqld(my_print_stacktrace+0x2e)[0x557cd4b131be] /usr/local/mariadb/bin/mysqld(handle_fatal_signal+0x357)[0x557cd45b66e7] /lib64/libpthread.so.0(+0xf5d0)[0x7f7bc1aec5d0] /lib64/libc.so.6(+0x14d814)[0x7f7bc1254814] /usr/local/mariadb/bin/mysqld(insert_dynamic+0x2a)[0x557cd4aeb16a] /usr/local/mariadb/bin/mysqld(+0x7f2035)[0x557cd462a035] /usr/local/mariadb/bin/mysqld(_ZN22Item_func_get_user_var18fix_length_and_decEv+0x49)[0x557cd462a569] /usr/local/mariadb/bin/mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x15c)[0x557cd461ff7c] mysys/array.c:103(insert_dynamic)[0x557cd461ff5f] sql/item_func.cc:5422(get_var_with_binlog(THD*, enum_sql_command, st_mysql_const_lex_string*, user_var_entry**))[0x557cd46498d2] sql/item_func.cc:5448(Item_func_get_user_var::fix_length_and_dec())[0x557cd461ff5f] sql/item_strfunc.cc:111(Item_str_func::fix_fields(THD*, Item**))[0x557cd462a7b8] sql/item_func.cc:363(Item_func::fix_fields(THD*, Item**))[0x557cd4339f98] sql/set_var.cc:874(set_var_user::check(THD*))[0x557cd433bd39] sql/set_var.cc:733(sql_set_variables(THD*, List*, bool))[0x557cd43e4310] sql/sql_parse.cc:5141(mysql_execute_command(THD*))[0x557cd434d6d5] sql/sp_head.cc:3596(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x557cd4355139] sql/sp_head.cc:3322(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x557cd4355b7b] sql/sp_head.cc:3501(sp_instr_stmt::execute(THD*, unsigned int*))[0x557cd4351050] sql/sp_head.cc:1356(sp_head::execute(THD*, bool))[0x557cd4352bba] sql/sp_head.cc:2014(sp_head::execute_function(THD*, Item**, unsigned int, Field*, sp_rcontext**, Query_arena*))[0x557cd45d3698] sql/item.cc:3004(Item_sp::execute_impl(THD*, Item**, unsigned int))[0x557cd45d38e1] sql/item.cc:2912(Item_sp::execute(THD*, bool*, Item**, unsigned int))[0x557cd4636948] sql/item_func.h:2915(Item_func_sp::val_str(String*))[0x557cd45e9b8d] sql/item_cmpfunc.cc:762(Arg_comparator::compare_string())[0x557cd45ea63a] sql/item_cmpfunc.cc:1729(Item_func_eq::val_int())[0x557cd4506970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x557cd45e80fa] sql/item_cmpfunc.cc:5038(Item_cond_and::val_int())[0x557cd4506970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x557cd45e9c2d] sql/item_cmpfunc.cc:2891(Item_func_case_searched::find_item())[0x557cd45e74c6] sql/item_cmpfunc.cc:2926(Item_func_case::str_op(String*))[0x557cd45d8d01] sql/item.cc:6815(Item::save_str_in_field(Field*, bool))[0x557cd45ca6b6] sql/item.cc:6864(Item::save_in_field(Field*, bool))[0x557cd438d288] sql/sql_base.cc:8567(fill_record(THD*, TABLE*, Field**, List&, bool, bool))[0x557cd44780db] sql/sql_union.cc:128(select_unit::send_data(List&))[0x557cd4427fdf] sql/sql_select.cc:20579(end_send(JOIN*, st_join_table*, bool))[0x557cd44169d8] sql/sql_select.cc:19441(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd44166de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd44166de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd44166de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd44166de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd441673c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd44166de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd440c93c] sql/sql_class.h:3872(THD::get_stmt_da())[0x557cd441673c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x557cd4437e5b] sql/sql_select.cc:18936(do_select)[0x557cd4438073] sql/sql_select.cc:3835(JOIN::exec())[0x557cd447a6d4] sql/sql_union.cc:1470(st_select_lex_unit::exec())[0x557cd447d172] sql/sql_union.cc:41(mysql_union(THD*, LEX*, select_result*, st_select_lex_unit*, unsigned long))[0x557cd4438b75] sql/sql_class.h:3862(handle_select(THD*, LEX*, select_result*, unsigned long))[0x557cd43e59bd] sql/sql_parse.cc:4837(mysql_execute_command(THD*))[0x557cd43e749c] sql/sql_parse.cc:8095(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x557cd46b242a] sql/log_event.cc:5681(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x557cd433dea3] sql/log_event.h:1483(Log_event::apply_event(rpl_group_info*))[0x557cd43476db] /lib64/libpthread.so.0(+0x7dd5)[0x7f7bc1ae4dd5] /lib64/libc.so.6(clone+0x6d)[0x7f7bc1204ead] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f68f44e4080): SET @V_Communication_Channel_R = concat(@V_Email,@V_SMS,@V_PN,@V_WhatsApp) Connection ID (thread ID): 11 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,split_materialized=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. 2019-10-14 17:31:17 0 [Note] InnoDB: Using Linux native AIO 2019-10-14 17:31:17 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-14 17:31:17 0 [Note] InnoDB: Uses event mutexes 2019-10-14 17:31:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-14 17:31:17 0 [Note] InnoDB: Number of pools: 1 2019-10-14 17:31:17 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-14 17:31:17 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-14 17:31:20 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-14 17:31:20 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-14 17:31:21 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=7820412302619 2019-10-14 17:31:22 0 [Note] InnoDB: Last binlog file '/data/mardb/binlogs/madb01-bin.000267', position 663566071 2019-10-14 17:31:22 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-14 17:31:22 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-10-14 17:31:22 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-14 17:31:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-14 17:31:22 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-14 17:31:22 0 [Note] InnoDB: Waiting for purge to start 2019-10-14 17:31:22 0 [Note] InnoDB: 10.3.13 started; log sequence number 7820412302628; transaction id 351864422 2019-10-14 17:31:22 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-14 17:31:22 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-14 17:31:22 0 [Note] Recovering after a crash using /data/mardb/binlog/mysql-bin 2019-10-14 17:31:22 0 [Note] Starting crash recovery... 2019-10-14 17:31:22 0 [Note] Crash recovery finished. 2019-10-14 17:31:22 0 [Note] Server socket created on IP: '::'. 2019-10-14 17:31:24 0 [Note] Reading of all Master_info entries succeded 2019-10-14 17:31:24 0 [Note] Added new Master_info '' to hash table 2019-10-14 17:31:25 10 [Note] Slave I/O thread: Start asynchronous replication to master 'replicant@10.6.204.51:3306' in log 'madb01-bin.000275' at position 76857643 2019-10-14 17:31:25 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-14 17:31:25 11 [Note] Slave SQL thread initialized, starting replication in log 'madb01-bin.000275' at position 50223872, relay log '/data/mardb/relaylog/mysql-relay-bin.000027' position: 50201420 2019-10-14 17:31:25 10 [Note] Slave I/O thread: connected to master 'replicant@10.6.204.51:3306',replication started in log 'madb01-bin.000275' at position 76857643 2019-10-14 17:31:36 0 [Note] InnoDB: Buffer pool(s) load completed at 191014 17:31:36 191014 18:18:19 [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.3.13-MariaDB-log key_buffer_size=1073741824 read_buffer_size=524288000 max_used_connections=2 max_threads=153 thread_count=11 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 239820094 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f28440012a8 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 = 0x7f3b0c0e35d0 thread_stack 0x49000 /usr/local/mariadb/bin/mysqld(my_print_stacktrace+0x2e)[0x55eecac2a1be] /usr/local/mariadb/bin/mysqld(handle_fatal_signal+0x357)[0x55eeca6cd6e7] /lib64/libpthread.so.0(+0xf5d0)[0x7f3b10d7d5d0] /lib64/libc.so.6(+0x14d814)[0x7f3b104e5814] /usr/local/mariadb/bin/mysqld(insert_dynamic+0x2a)[0x55eecac0216a] /usr/local/mariadb/bin/mysqld(+0x7f2035)[0x55eeca741035] /usr/local/mariadb/bin/mysqld(_ZN22Item_func_get_user_var18fix_length_and_decEv+0x49)[0x55eeca741569] /usr/local/mariadb/bin/mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x15c)[0x55eeca736f7c] mysys/array.c:103(insert_dynamic)[0x55eeca736f5f] sql/item_func.cc:5422(get_var_with_binlog(THD*, enum_sql_command, st_mysql_const_lex_string*, user_var_entry**))[0x55eeca7608d2] sql/item_func.cc:5448(Item_func_get_user_var::fix_length_and_dec())[0x55eeca736f5f] sql/item_strfunc.cc:111(Item_str_func::fix_fields(THD*, Item**))[0x55eeca7417b8] sql/item_func.cc:363(Item_func::fix_fields(THD*, Item**))[0x55eeca450f98] sql/set_var.cc:874(set_var_user::check(THD*))[0x55eeca452d39] sql/set_var.cc:733(sql_set_variables(THD*, List*, bool))[0x55eeca4fb310] sql/sql_parse.cc:5141(mysql_execute_command(THD*))[0x55eeca4646d5] sql/sp_head.cc:3596(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55eeca46c139] sql/sp_head.cc:3322(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55eeca46cb7b] sql/sp_head.cc:3501(sp_instr_stmt::execute(THD*, unsigned int*))[0x55eeca468050] sql/sp_head.cc:1356(sp_head::execute(THD*, bool))[0x55eeca469bba] sql/sp_head.cc:2014(sp_head::execute_function(THD*, Item**, unsigned int, Field*, sp_rcontext**, Query_arena*))[0x55eeca6ea698] sql/item.cc:3004(Item_sp::execute_impl(THD*, Item**, unsigned int))[0x55eeca6ea8e1] sql/item.cc:2912(Item_sp::execute(THD*, bool*, Item**, unsigned int))[0x55eeca74d948] sql/item_func.h:2915(Item_func_sp::val_str(String*))[0x55eeca700b8d] sql/item_cmpfunc.cc:762(Arg_comparator::compare_string())[0x55eeca70163a] sql/item_cmpfunc.cc:1729(Item_func_eq::val_int())[0x55eeca61d970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x55eeca6ff0fa] sql/item_cmpfunc.cc:5038(Item_cond_and::val_int())[0x55eeca61d970] sql/sql_type.cc:3211(Type_handler_int_result::Item_val_bool(Item*) const)[0x55eeca700c2d] sql/item_cmpfunc.cc:2891(Item_func_case_searched::find_item())[0x55eeca6fe4c6] sql/item_cmpfunc.cc:2926(Item_func_case::str_op(String*))[0x55eeca6efd01] sql/item.cc:6815(Item::save_str_in_field(Field*, bool))[0x55eeca6e16b6] sql/item.cc:6864(Item::save_in_field(Field*, bool))[0x55eeca4a4288] sql/sql_base.cc:8567(fill_record(THD*, TABLE*, Field**, List&, bool, bool))[0x55eeca58f0db] sql/sql_union.cc:128(select_unit::send_data(List&))[0x55eeca53efdf] sql/sql_select.cc:20579(end_send(JOIN*, st_join_table*, bool))[0x55eeca52d9d8] sql/sql_select.cc:19441(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d6de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d6de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d6de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d6de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d73c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d6de] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca52393c] sql/sql_class.h:3872(THD::get_stmt_da())[0x55eeca52d73c] sql/sql_select.cc:19403(sub_select(JOIN*, st_join_table*, bool))[0x55eeca54ee5b] sql/sql_select.cc:18936(do_select)[0x55eeca54f073] sql/sql_select.cc:3835(JOIN::exec())[0x55eeca5916d4] sql/sql_union.cc:1470(st_select_lex_unit::exec())[0x55eeca594172] sql/sql_union.cc:41(mysql_union(THD*, LEX*, select_result*, st_select_lex_unit*, unsigned long))[0x55eeca54fb75] sql/sql_class.h:3862(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55eeca4fc9bd] sql/sql_parse.cc:4837(mysql_execute_command(THD*))[0x55eeca4fe49c] sql/sql_parse.cc:8095(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55eeca7c942a] sql/log_event.cc:5681(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x55eeca454ea3] sql/log_event.h:1483(Log_event::apply_event(rpl_group_info*))[0x55eeca45e6db] /lib64/libpthread.so.0(+0x7dd5)[0x7f3b10d75dd5] /lib64/libc.so.6(clone+0x6d)[0x7f3b10495ead] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f28444e4080): SET @V_Communication_Channel_R = concat(@V_Email,@V_SMS,@V_PN,@V_WhatsApp) Connection ID (thread ID): 11 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,split_materialized=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. 2019-10-14 18:18:26 0 [Note] InnoDB: Using Linux native AIO 2019-10-14 18:18:26 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-10-14 18:18:26 0 [Note] InnoDB: Uses event mutexes 2019-10-14 18:18:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-10-14 18:18:26 0 [Note] InnoDB: Number of pools: 1 2019-10-14 18:18:26 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-10-14 18:18:26 0 [Note] InnoDB: Initializing buffer pool, total size = 70G, instances = 8, chunk size = 128M 2019-10-14 18:18:29 0 [Note] InnoDB: Completed initialization of buffer pool 2019-10-14 18:18:29 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-14 18:18:31 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=7820412305323 2019-10-14 18:18:32 0 [Note] InnoDB: Last binlog file '/data/mardb/binlogs/madb01-bin.000267', position 663566071 2019-10-14 18:18:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-14 18:18:32 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-10-14 18:18:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-10-14 18:18:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-10-14 18:18:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-10-14 18:18:32 0 [Note] InnoDB: Waiting for purge to start 2019-10-14 18:18:32 0 [Note] InnoDB: 10.3.13 started; log sequence number 7820412305332; transaction id 351864440 2019-10-14 18:18:32 0 [Note] InnoDB: Loading buffer pool(s) from /data/mardb/data/ib_buffer_pool 2019-10-14 18:18:32 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-10-14 18:18:32 0 [Note] Recovering after a crash using /data/mardb/binlog/mysql-bin 2019-10-14 18:18:32 0 [Note] Starting crash recovery... 2019-10-14 18:18:32 0 [Note] Crash recovery finished. 2019-10-14 18:18:32 0 [Note] Server socket created on IP: '::'. 2019-10-14 18:18:35 0 [Note] Reading of all Master_info entries succeded 2019-10-14 18:18:35 0 [Note] Added new Master_info '' to hash table 2019-10-14 18:18:35 10 [Note] Slave I/O thread: Start asynchronous replication to master 'replicant@10.6.204.51:3306' in log 'madb01-bin.000275' at position 481542910 2019-10-14 18:18:35 0 [Note] /usr/local/mariadb/bin/mysqld: ready for connections. Version: '10.3.13-MariaDB-log' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server 2019-10-14 18:18:35 11 [Note] Slave SQL thread initialized, starting replication in log 'madb01-bin.000275' at position 50223872, relay log '/data/mardb/relaylog/mysql-relay-bin.000027' position: 50201420 2019-10-14 18:18:35 10 [Note] Slave I/O thread: connected to master 'replicant@10.6.204.51:3306',replication started in log 'madb01-bin.000275' at position 481542910 2019-10-14 18:18:45 0 [Note] InnoDB: Buffer pool(s) load completed at 191014 18:18:45