Version: '10.3.9-MariaDB-debug-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution 2018-07-27 14:07:45 14 [Note] Slave I/O thread: connected to master 'aws-repl@10.20.11.18:3306',replication started in log 'mysql-bin.000402' at position 902105256 mysqld: /var/lib/mysql/server/sql/sql_trigger.cc:2193: bool Table_triggers_list::process_triggers(THD*, trg_event_type, trg_action_time_type, bool): Assertion `trigger_table->pos_in_table_list->trg_event_map & static_cast(1 << static_cast(event))' failed. 180727 14:07:46 [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.3.9-MariaDB-debug-log key_buffer_size=67108864 read_buffer_size=131072 max_used_connections=0 max_threads=502 thread_count=13 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1169364 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f251c001800 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 = 0x7f25b40f1cf0 thread_stack 0x49000 addr2line: 'mysqld': No such file mysqld(my_print_stacktrace+0x3d)[0x55b240a68bef] mysqld(handle_fatal_signal+0x3a8)[0x55b2401ee4d3] /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7f25cc3ce0c0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf)[0x7f25c9e20fff] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f25c9e2242a] /lib/x86_64-linux-gnu/libc.so.6(+0x2be67)[0x7f25c9e19e67] /lib/x86_64-linux-gnu/libc.so.6(+0x2bf12)[0x7f25c9e19f12] addr2line: 'mysqld': No such file mysqld(_ZN19Table_triggers_list16process_triggersEP3THD14trg_event_type20trg_action_time_typeb+0x1b5)[0x55b23fffc57d] mysqld(_ZN14Rows_log_event16process_triggersE14trg_event_type20trg_action_time_typeb+0x12d)[0x55b24032f869] mysqld(_ZN14Rows_log_event9write_rowEP14rpl_group_infob+0xdb6)[0x55b2403306e8] mysqld(_ZN20Write_rows_log_event11do_exec_rowEP14rpl_group_info+0x109)[0x55b240330999] mysqld(_ZN14Rows_log_event14do_apply_eventEP14rpl_group_info+0xe5d)[0x55b24032c0ab] mysqld(_ZN9Log_event11apply_eventEP14rpl_group_info+0x59)[0x55b23fe4000f] mysqld(+0x5f9a3a)[0x55b23fe34a3a] mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14rpl_group_info+0x184)[0x55b23fe34f0d] mysqld(+0x5fa67b)[0x55b23fe3567b] mysqld(handle_slave_sql+0xe5b)[0x55b23fe3886b] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494)[0x7f25cc3c4494] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f25c9ed6acf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x0): Connection ID (thread ID): 15 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. Writing a core file at /var/lib/mysql/data/