2024-02-06 17:48:58 6 [Note] Slave I/O thread: connected to master 'maxscale@192.168.0.71:3368',replication starts at GTID position '0-33681-146133' 2024-02-06 17:51:28 7 [Note] Error reading relay log event: slave SQL thread was killed 2024-02-06 17:51:28 7 [Note] Slave SQL thread exiting, replication stopped in log 'master-slave-bin.000017' at position 415; GTID position '0-33681-146133', master: 192.168.0.71:3368 2024-02-06 17:51:28 6 [Note] Slave I/O thread exiting, read up to log 'master-slave-bin.000017', position 415; GTID position 0-33681-146133, master 192.168.0.71:3368 240206 17:51:28 [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.6.12-MariaDB-1:10.6.12+maria~ubu2004-log source revision: 4c79e15cc3716f69c044d4287ad2160da8101cdc key_buffer_size=33554432 read_buffer_size=131072 max_used_connections=2 max_threads=502 thread_count=4 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1138196 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0 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 = 0x0 thread_stack 0x40000 addr2line: 'mariadbd': No such file Printing to addr2line failed mariadbd(my_print_stacktrace+0x32)[0x5560d41c60c2] mariadbd(handle_fatal_signal+0x485)[0x5560d3c8dc55] ??:0(__restore_rt)[0x7fcedc140420] ??:0(gsignal)[0x7fcedbc4400b] ??:0(abort)[0x7fcedbc23859] ??:0(__cxa_throw_bad_array_new_length)[0x7fcedbfe03eb] ??:0(__cxa_get_globals)[0x7fcedbfeba51] ??:0(__gxx_personality_v0)[0x7fcedbfebbc0] ??:0(_Unwind_GetTextRelBase)[0x7fcedba86d54] ??:0(_Unwind_ForcedUnwind)[0x7fcedba87412] ??:0(__GI___pthread_unwind)[0x7fcedc13ef66] ??:0(__pthread_exit)[0x7fcedc135972] addr2line: 'mariadbd': No such file mariadbd(handle_slave_sql+0x14b6)[0x5560d399d5a6] mariadbd(+0xc36766)[0x5560d3ed6766] ??:0(start_thread)[0x7fcedc134609] ??:0(clone)[0x7fcedbd20133] The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Fatal signal 11 while backtracing 2024-02-06 17:51:30+01:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.12+maria~ubu2004 started. 2024-02-06 17:51:31+01:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2024-02-06 17:51:31+01:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.12+maria~ubu2004 started. 2024-02-06 17:51:32+01:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required 2024-02-06 17:51:32+01:00 [Note] [Entrypoint]: MariaDB upgrade (mariadb-upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting 2024-02-06 17:51:32 0 [Note] Starting MariaDB 10.6.12-MariaDB-1:10.6.12+maria~ubu2004-log source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 1 2024-02-06 17:51:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2024-02-06 17:51:32 0 [Note] InnoDB: Number of pools: 1 2024-02-06 17:51:32 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2024-02-06 17:51:32 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2024-02-06 17:51:32 0 [Note] InnoDB: Using Linux native AIO 2024-02-06 17:51:32 0 [Note] InnoDB: Initializing buffer pool, total size = 3758096384, chunk size = 134217728 2024-02-06 17:51:32 0 [Note] InnoDB: Completed initialization of buffer pool 2024-02-06 17:51:32 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=261420661,261420661 2024-02-06 17:51:32 0 [Note] InnoDB: Starting final batch to recover 3 pages from redo log. 2024-02-06 17:51:32 0 [Note] InnoDB: Last binlog file './master-slave-bin.000012', position 33445438 2024-02-06 17:51:32 0 [Note] InnoDB: 128 rollback segments are active. 2024-02-06 17:51:32 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 2024-02-06 17:51:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2024-02-06 17:51:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2024-02-06 17:51:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2024-02-06 17:51:32 0 [Note] InnoDB: 10.6.12 started; log sequence number 261422668; transaction id 293000 2024-02-06 17:51:32 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2024-02-06 17:51:32 0 [Note] Plugin 'FEEDBACK' is disabled. 2024-02-06 17:51:32 0 [Note] InnoDB: Buffer pool(s) load completed at 240206 17:51:32 2024-02-06 17:51:32 0 [Note] Semi-sync replication initialized for transactions. 2024-02-06 17:51:32 0 [Note] Semi-sync replication enabled on the master. 2024-02-06 17:51:32 0 [Note] Recovering after a crash using master-slave-bin 2024-02-06 17:51:32 0 [Note] Starting table crash recovery... 2024-02-06 17:51:32 0 [Note] Starting ack receiver thread 2024-02-06 17:51:32 0 [Note] Crash table recovery finished. 2024-02-06 17:51:32 0 [Note] Server socket created on IP: '0.0.0.0'. 2024-02-06 17:51:32 6 [Note] Slave I/O thread: Start semi-sync replication to master 'maxscale@192.168.0.71:3368' in log 'master-slave-bin.000017' at position 415 2024-02-06 17:51:32 7 [Note] Slave SQL thread initialized, starting replication in log 'master-slave-bin.000017' at position 415, relay log './master-slave-relay-bin.000001' position: 4; GTID position '0-33681-146133' 2024-02-06 17:51:32 0 [Note] mariadbd: ready for connections. Version: '10.6.12-MariaDB-1:10.6.12+maria~ubu2004-log' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2024-02-06 17:51:32 6 [Note] Slave I/O thread: connected to master 'maxscale@192.168.0.71:3368',replication starts at GTID position '0-33681-146133'