2022-09-07 02:01:49 0x7efc24a37700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.6.8/storage/innobase/row/row0ins.cc line 2132 InnoDB: Failing assertion: cmp < 0 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to https://jira.mariadb.org/ InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mariadbd startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/ InnoDB: about forcing recovery. 220907 2:01:49 [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.8-MariaDB-log key_buffer_size=0 read_buffer_size=131072 max_used_connections=146 max_threads=3002 thread_count=148 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 6610518 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7efb28001b88 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 = 0x7efc24a36c18 thread_stack 0x49000 Can't start addr2line /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x55c08052311e] /usr/sbin/mariadbd(handle_fatal_signal+0x485)[0x55c080001745] /lib64/libpthread.so.0(+0x12ce0)[0x7f05789a8ce0] /lib64/libc.so.6(gsignal+0x10f)[0x7f0577d04a9f] /lib64/libc.so.6(abort+0x127)[0x7f0577cd7e05] /usr/sbin/mariadbd(+0x6562ad)[0x55c07fcb02ad] /usr/sbin/mariadbd(+0x647608)[0x55c07fca1608] /usr/sbin/mariadbd(+0xd1a13d)[0x55c08037413d] /usr/sbin/mariadbd(+0xd1a6aa)[0x55c0803746aa] /usr/sbin/mariadbd(+0xd2b48b)[0x55c08038548b] /usr/sbin/mariadbd(+0xc79685)[0x55c0802d3685] /usr/sbin/mariadbd(_ZN7handler12ha_write_rowEPKh+0x13f)[0x55c08000faef] /usr/sbin/mariadbd(_Z12write_recordP3THDP5TABLEP12st_copy_infoP13select_result+0x20d)[0x55c07fdb303d] /usr/sbin/mariadbd(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesbP13select_result+0xc8b)[0x55c07fdb991b] /usr/sbin/mariadbd(_Z21mysql_execute_commandP3THDb+0x1355)[0x55c07fdef433] /usr/sbin/mariadbd(_ZN18Prepared_statement7executeEP6Stringb+0x3df)[0x55c07fe02f9f] /usr/sbin/mariadbd(_ZN18Prepared_statement12execute_loopEP6StringbPhS2_+0x9d)[0x55c07fe0325d] /usr/sbin/mariadbd(+0x7aa025)[0x55c07fe04025] /usr/sbin/mariadbd(_Z19mysqld_stmt_executeP3THDPcj+0x2b)[0x55c07fe041cb] /usr/sbin/mariadbd(_Z16dispatch_command19enum_server_commandP3THDPcjb+0x1891)[0x55c07fdec79e] /usr/sbin/mariadbd(_Z10do_commandP3THDb+0x12f)[0x55c07fded5ad] /usr/sbin/mariadbd(_Z24do_handle_one_connectionP7CONNECTb+0x3f7)[0x55c07feebb77] /usr/sbin/mariadbd(handle_one_connection+0x5d)[0x55c07feebebd] /usr/sbin/mariadbd(+0xbc820d)[0x55c08022220d] /lib64/libpthread.so.0(+0x81cf)[0x7f057899e1cf] /lib64/libc.so.6(clone+0x43)[0x7f0577cefdd3] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7efb280110a0): insert into `files` (`project_id`, `path`, `branch`, `type`, `name`, `blob_id`, `commit_id`, `last_commit_id`, `hash`, `parent`, `active`, `owner`, `updated_at`, `created_at`) values ('15', 'app/Events/BetWasWagered.php', 'betportugal', 'blob', 'BetWasWagered.php', '515f056ba9738910a4299630c607902ddeadf457', '6c934a76c5e87e77db404066ceb5476f4f6f200f', 'fb4d281667d6e15dd41325e9680e3f16b3deb436', 'ce37fe1f9b634aeff79f0cea1bced7c01aa81f9e', 'app/Events', '1', 'Jon Doe', '2022-09-07 01:01:49', '2022-09-07 01:01:49') Connection ID (thread ID): 8460081 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 256380 256380 processes Max open files 32768 32768 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 256380 256380 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: |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e 2022-09-07 2:01:56 0 [Note] mariadbd: Aria engine: starting recovery tables to flush: 1 0 (0.0 seconds); 2022-09-07 2:01:56 0 [Note] mariadbd: Aria engine: recovery done 2022-09-07 2:01:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-09-07 2:01:56 0 [Note] InnoDB: Number of pools: 1 2022-09-07 2:01:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2022-09-07 2:01:56 0 [Note] InnoDB: Using Linux native AIO 2022-09-07 2:01:56 0 [Note] InnoDB: Initializing buffer pool, total size = 38654705664, chunk size = 134217728 2022-09-07 2:01:56 0 [Note] InnoDB: Completed initialization of buffer pool 2022-09-07 2:01:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=3531703836070,3531718537845 2022-09-07 2:02:02 0 [Note] InnoDB: Transaction 480747412 was in the XA prepared state. 2022-09-07 2:02:02 0 [Note] InnoDB: Transaction 480747413 was in the XA prepared state. 2022-09-07 2:02:02 0 [Note] InnoDB: 5 transaction(s) which must be rolled back or cleaned up in total 5 row operations to undo 2022-09-07 2:02:02 0 [Note] InnoDB: Trx id counter is 480747414 2022-09-07 2:02:02 0 [Note] InnoDB: Starting final batch to recover 33185 pages from redo log. 2022-09-07 2:02:04 0 [Note] InnoDB: Last binlog file '/opt/mysql/binlogs/mysql-binlog.000326', position 151465831 2022-09-07 2:02:04 0 [Note] InnoDB: 128 rollback segments are active. 2022-09-07 2:02:04 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2022-09-07 2:02:04 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 2022-09-07 2:02:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-09-07 2:02:04 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-09-07 2:02:04 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-09-07 2:02:04 0 [Note] InnoDB: 10.6.8 started; log sequence number 3532062879049; transaction id 480747415 2022-09-07 2:02:04 0 [Note] InnoDB: Creating #1 encryption thread id 139915782244096 total threads 4. 2022-09-07 2:02:04 0 [Note] InnoDB: Creating #2 encryption thread id 139915773851392 total threads 4. 2022-09-07 2:02:04 0 [Note] InnoDB: Creating #3 encryption thread id 139915765458688 total threads 4. 2022-09-07 2:02:04 0 [Note] InnoDB: Creating #4 encryption thread id 139915757065984 total threads 4. 2022-09-07 2:02:04 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2022-09-07 2:02:04 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-09-07 2:02:04 0 [Note] Recovering after a crash using /opt/mysql/binlogs/mysql-binlog 2022-09-07 2:02:04 0 [Note] Starting table crash recovery... 2022-09-07 2:02:04 0 [Note] InnoDB: Starting recovery for XA transactions... 2022-09-07 2:02:04 0 [Note] InnoDB: Transaction 480747413 in prepared state after recovery 2022-09-07 2:02:04 0 [Note] InnoDB: Transaction contains changes to 1 rows 2022-09-07 2:02:04 0 [Note] InnoDB: Transaction 480747412 in prepared state after recovery 2022-09-07 2:02:04 0 [Note] InnoDB: Transaction contains changes to 1 rows 2022-09-07 2:02:04 0 [Note] InnoDB: 2 transactions in prepared state after recovery 2022-09-07 2:02:04 0 [Note] Found 2 prepared transaction(s) in InnoDB 2022-09-07 2:02:04 0 [Note] Crash table recovery finished. 2022-09-07 2:02:04 0 [Note] InnoDB: Rolled back recovered transaction 480747405 2022-09-07 2:02:04 0 [Note] InnoDB: Rolled back recovered transaction 480747346 2022-09-07 2:02:04 0 [Note] InnoDB: Rolled back recovered transaction 480747410 2022-09-07 2:02:04 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2022-09-07 2:02:04 0 [Note] InnoDB: Buffer pool(s) load completed at 220907 2:02:04 2022-09-07 2:02:04 0 [Note] Server socket created on IP: '0.0.0.0'. 2022-09-07 2:02:04 0 [Note] Server socket created on IP: '::'. 2022-09-07 2:02:04 0 [Warning] 'proxies_priv' entry '@% root@bdprd03.localdomain' ignored in --skip-name-resolve mode. 2022-09-07 2:02:04 2 [Note] Event Scheduler: scheduler thread started with id 2 2022-09-07 2:02:04 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.6.8-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server