thunderstorm /var/log/mysql # cat mysqld.err 2021-11-21 12:25:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-11-21 12:25:45 0 [Note] InnoDB: Number of pools: 1 2021-11-21 12:25:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2021-11-21 12:25:45 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2021-11-21 12:25:45 0 [Note] InnoDB: Completed initialization of buffer pool 2021-11-21 12:25:45 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=376569558802,376569563989 2021-11-21 12:25:45 0 [Note] InnoDB: Transaction 242213647 was in the XA prepared state. 2021-11-21 12:25:45 0 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 0 row operations to undo 2021-11-21 12:25:45 0 [Note] InnoDB: Trx id counter is 242213648 2021-11-21 12:25:45 0 [Note] InnoDB: Starting final batch to recover 413 pages from redo log. 2021-11-21 12:25:45 0 [Note] InnoDB: Last binlog file './thunderstorm-bin.1076608', position 31835 2021-11-21 12:25:45 0 [Note] InnoDB: 128 rollback segments are active. 2021-11-21 12:25:45 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2021-11-21 12:25:45 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2021-11-21 12:25:45 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 2021-11-21 12:25:45 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-11-21 12:25:45 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-11-21 12:25:45 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-11-21 12:25:45 0 [Note] InnoDB: 10.6.5 started; log sequence number 376623310465; transaction id 242213649 2021-11-21 12:25:45 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-11-21 12:25:45 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-11-21 12:25:45 0 [Warning] 'innodb-buffer-pool-instances' was removed. It does nothing now and exists only for compatibility with old my.cnf files. 2021-11-21 12:25:45 0 [Warning] 'innodb-file-format' was removed. It does nothing now and exists only for compatibility with old my.cnf files. 2021-11-21 12:25:45 0 [Note] Recovering after a crash using thunderstorm-bin 2021-11-21 12:25:45 0 [Note] Starting table crash recovery... 2021-11-21 12:25:45 0 [Note] InnoDB: Starting recovery for XA transactions... 2021-11-21 12:25:45 0 [Note] InnoDB: Transaction 242213647 in prepared state after recovery 2021-11-21 12:25:45 0 [Note] InnoDB: Transaction contains changes to 3 rows 2021-11-21 12:25:45 0 [Note] InnoDB: 1 transactions in prepared state after recovery 2021-11-21 12:25:45 0 [Note] Found 1 prepared transaction(s) in InnoDB 2021-11-21 12:25:45 0 [Note] Crash table recovery finished. 2021-11-21 12:25:45 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-11-21 12:25:45 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141). 2021-11-21 12:25:45 0 [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. 2021-11-21 12:25:45 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.6.5-MariaDB-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution 2021-11-21 12:25:45 0 [Note] InnoDB: Buffer pool(s) load completed at 211121 12:25:45 *** stack smashing detected ***: terminated 211121 12:25:50 [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.5-MariaDB-log key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467727 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fa618000c58 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 = 0x7fa684d19d78 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55b593c3177e] /usr/sbin/mysqld(handle_fatal_signal+0x471)[0x55b5937a9fa1] /lib64/libc.so.6(+0x3d840)[0x7fa69fd9e840] /lib64/libc.so.6(+0x8905c)[0x7fa69fdea05c] /lib64/libc.so.6(raise+0x12)[0x7fa69fd9e7a2] /lib64/libc.so.6(abort+0xcf)[0x7fa69fd89449] /lib64/libc.so.6(+0x7d5d8)[0x7fa69fdde5d8] /lib64/libc.so.6(__fortify_fail+0x22)[0x7fa69fe78662] /lib64/libc.so.6(__fortify_fail+0x0)[0x7fa69fe78640] /usr/sbin/mysqld(+0xb4ec58)[0x55b5939abc58] /usr/sbin/mysqld(_ZN10TABLE_LIST8calc_md5EPc+0x33)[0x55b59366e103] /usr/sbin/mysqld(_Z13view_checksumP3THDP10TABLE_LIST+0x40)[0x55b593662730] /usr/sbin/mysqld(_Z11view_repairP3THDP10TABLE_LISTP15st_ha_check_opt+0x1b)[0x55b5936627db] /usr/sbin/mysqld(+0x84c233)[0x55b5936a9233] /usr/sbin/mysqld(_ZN20Sql_cmd_repair_table7executeEP3THD+0x94)[0x55b5936aa7e4] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THDb+0xb74)[0x55b59359c9e4] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x197)[0x55b59359fc07] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjb+0x1242)[0x55b5935a1632] /usr/sbin/mysqld(_Z10do_commandP3THDb+0xee)[0x55b5935a240e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECTb+0x397)[0x55b59369d677] /usr/sbin/mysqld(handle_one_connection+0x5d)[0x55b59369d9fd] /usr/sbin/mysqld(+0xb63b43)[0x55b5939c0b43] /lib64/libc.so.6(+0x87377)[0x7fa69fde8377] /lib64/libc.so.6(+0x1091bc)[0x7fa69fe6a1bc] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fa618012800): REPAIR NO_WRITE_TO_BINLOG VIEW `user` Connection ID (thread ID): 10 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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off 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: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 31904 31904 processes Max open files 32188 32188 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 31904 31904 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: /var/core/core.%e.%p thunderstorm /var/log/mysql #