2023-06-07 20:45:12 0x7fc5cc0e7700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/storage/innobase/btr/btr0cur.cc line 4245 InnoDB: Failing assertion: dummy_big_rec == NULL 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. 230607 20:45:12 [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.14-MariaDB source revision: c93754d45e5d9379e3e23d7ada1d5f21d2711f66 key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467969 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fc5a400d5d8 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 = 0x7fc5cc0e6be0 thread_stack 0x49000 mysys/stacktrace.c:216(my_print_stacktrace)[0x55f362133aee] sql/signal_handler.cc:241(handle_fatal_signal)[0x55f361afe727] /lib64/libpthread.so.0(+0x12cf0)[0x7fc5d0474cf0] /lib64/libc.so.6(gsignal+0x10f)[0x7fc5cf7cfaff] /lib64/libc.so.6(abort+0x127)[0x7fc5cf7a2ea5] ut/ut0rbt.cc:220(rbt_tree_add_child(ib_rbt_t const*, ib_rbt_bound_t*, ib_rbt_node_t*) [clone .isra.10] [clone .part.11])[0x55f3617a4426] btr/btr0cur.cc:4244(btr_cur_pessimistic_update(unsigned long, btr_cur_t*, unsigned short**, mem_block_info_t**, mem_block_info_t*, big_rec_t**, upd_t*, unsigned long, que_thr_t*, unsigned long, mtr_t*))[0x55f361f85427] row/row0umod.cc:130(row_undo_mod_clust_low(undo_node_t*, unsigned short**, mem_block_info_t**, mem_block_info_t*, unsigned char*, que_thr_t*, mtr_t*, btr_latch_mode))[0x55f362051498] row/row0umod.cc:295(row_undo_mod_clust(undo_node_t*, que_thr_t*))[0x55f36205186d] row/row0umod.cc:1250(row_undo_mod(undo_node_t*, que_thr_t*))[0x55f362053f48] row/row0undo.cc:405(row_undo)[0x55f361f07beb] que/que0que.cc:586(que_thr_step)[0x55f361eb9820] trx/trx0roll.cc:128(trx_rollback_for_mysql(trx_t*))[0x55f361f36ed2] handler/ha_innodb.cc:2971(trx_deregister_from_2pc)[0x55f361e15ccc] sql/handler.cc:2214(ha_rollback_trans(THD*, bool))[0x55f361b025f7] sql/transaction.cc:374(trans_rollback(THD*))[0x55f3619e8646] sql/sql_class.cc:1553(THD::cleanup())[0x55f361885d1d] psi/mysql_thread.h:745(inline_mysql_mutex_lock)[0x55f36180614f] sql/sql_connect.cc:1428(do_handle_one_connection(CONNECT*, bool))[0x55f3619d8340] sql/sql_connect.cc:1324(handle_one_connection)[0x55f3619d8624] perfschema/pfs.cc:2204(pfs_spawn_thread)[0x55f361d74f3c] /lib64/libpthread.so.0(+0x81ca)[0x7fc5d046a1ca] /lib64/libc.so.6(clone+0x43)[0x7fc5cf7bae73] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x0): (null) Connection ID (thread ID): 3 Status: KILL_CONNECTION 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,hash_join_cardinality=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. We think the query pointer is invalid, but we will try to print it anyway. Query: Writing a core file... Working directory at /mnt/jgagne_sandboxes/msb_mariadb_10_6_14/data 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 4096 4096 processes Max open files 1048576 1048576 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 253022 253022 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 Kernel version: Linux version 5.4.141-hs26.el8.x86_64 (root@default-generic-cluster25n2f) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-13) (GCC)) #1 SMP Tue Jul 12 04:02:56 UTC 2022