2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3264], should be [page id: space=1668204, page number=37088] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3265], should be [page id: space=1668204, page number=37089] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3266], should be [page id: space=1668204, page number=37090] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3267], should be [page id: space=1668204, page number=37091] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3268], should be [page id: space=1668204, page number=37092] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3269], should be [page id: space=1668204, page number=37093] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3270], should be [page id: space=1668204, page number=37094] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3271], should be [page id: space=1668204, page number=37095] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3272], should be [page id: space=1668204, page number=37096] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3274], should be [page id: space=1668204, page number=37098] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3275], should be [page id: space=1668204, page number=37099] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3276], should be [page id: space=1668204, page number=37100] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3277], should be [page id: space=1668204, page number=37101] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3278], should be [page id: space=1668204, page number=37102] 2022-11-02 23:14:04 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=16968115, page number=3279], should be [page id: space=1668204, page number=37103] 2022-11-02 23:14:04 0x7e5748b7d640 InnoDB: Assertion failure in file /var/tmp/portage/dev-db/mariadb-10.4.26/work/mysql/storage/innobase/btr/btr0pcur.cc line 532 InnoDB: Failing assertion: btr_page_get_prev(next_page) == btr_pcur_get_block(cursor)->page.id.page_no() 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 mysqld 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. 221102 23:14:04 [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.4.26-MariaDB-log key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=1428 max_threads=2129 thread_count=861 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 17755696 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x56ebcf92c008 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 = 0x7e5748b7cce8 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x29)[0x56e45b739259] /usr/sbin/mysqld(handle_fatal_signal+0x531)[0x56e45b28d241] /lib64/libc.so.6(+0x3df80)[0x7e7bb623df80] /lib64/libc.so.6(+0x8b99c)[0x7e7bb628b99c] /lib64/libc.so.6(raise+0x12)[0x7e7bb623ded2] /lib64/libc.so.6(abort+0xcf)[0x7e7bb622846b] /usr/sbin/mysqld(+0x5ac5d2)[0x56e45afa05d2] /usr/sbin/mysqld(+0x5b09c0)[0x56e45afa49c0] /usr/sbin/mysqld(+0xbe7f6a)[0x56e45b5dbf6a] /usr/sbin/mysqld(+0xb2f8ad)[0x56e45b5238ad] /usr/sbin/mysqld(_ZN7handler11ha_rnd_nextEPh+0xf9)[0x56e45b291b89] /usr/sbin/mysqld(_Z13rr_sequentialP11READ_RECORD+0x14)[0x56e45b3cb3a4] /usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x1cc)[0x56e45b0ddbdc] /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xeaa)[0x56e45b1075ca] /usr/sbin/mysqld(_ZN4JOIN4execEv+0x2a)[0x56e45b10791a] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x144)[0x56e45b105774] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x12f)[0x56e45b10624f] /usr/sbin/mysqld(+0x6a43fc)[0x56e45b0983fc] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4b33)[0x56e45b0a49a3] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x1a1)[0x56e45b0a6b71] /usr/sbin/mysqld(+0x6b340b)[0x56e45b0a740b] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x24a1)[0x56e45b0aa061] /usr/sbin/mysqld(_Z10do_commandP3THD+0x11e)[0x56e45b0aa65e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1e4)[0x56e45b1949e4] /usr/sbin/mysqld(handle_one_connection+0x32)[0x56e45b194b32] /usr/sbin/mysqld(+0xadddfa)[0x56e45b4d1dfa] /lib64/libc.so.6(+0x89c5a)[0x7e7bb6289c5a] /lib64/libc.so.6(+0x1102dc)[0x7e7bb63102dc] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Connection ID (thread ID): 34696423 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 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 1031274 1031274 processes Max open files 10240000 10240000 files Max locked memory 8388608 8388608 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 1031274 1031274 signals Max msgqueue size 819200 819200 bytes Max nice priority 20 30 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Kernel version: Linux version 6.0.5-gentoo (gcc (Gentoo Hardened 11.3.0 p4) 11.3.0, GNU ld (Gentoo 2.38 p4) 2.38) #1 SMP PREEMPT_DYNAMIC Fri Oct 28 00:09:38 CEST 2022