Jul 12 08:48:30 host2 mysqld[48685]: 2024-07-12 8:48:30 16996196 [ERROR] InnoDB: Trying to read 16384 bytes at 70368744161280 outside the bounds of the file: .//undo003
|
Jul 12 08:48:30 host2 mysqld[48685]: 2024-07-12 8:48:30 16996196 [ERROR] InnoDB: File './/undo003' is corrupted
|
Jul 12 08:48:30 host2 mysqld[48685]: 2024-07-12 08:48:30 0x7fe22f940700 InnoDB: Assertion failure in file /builddir/build/BUILD/cl-MariaDB1011-10.11.8/mariadb-10.11.8/storage/innobase/trx/trx0purge.cc line 190
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: Failing assertion: undo_page
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: We intentionally generate a memory trap.
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: If you get repeated assertion failures or crashes, even
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: immediately after the mariadbd startup, there may be
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: corruption in the InnoDB tablespace. Please refer to
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
|
Jul 12 08:48:30 host2 mysqld[48685]: InnoDB: about forcing recovery.
|
Jul 12 08:48:30 host2 mysqld[48685]: 240712 8:48:30 [ERROR] mysqld got signal 6 ;
|
Jul 12 08:48:30 host2 mysqld[48685]: Sorry, we probably made a mistake, and this is a bug.
|
Jul 12 08:48:30 host2 mysqld[48685]: Your assistance in bug reporting will enable us to fix this for the next release.
|
Jul 12 08:48:30 host2 mysqld[48685]: To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
Jul 12 08:48:30 host2 mysqld[48685]: We will try our best to scrape up some info that will hopefully help
|
Jul 12 08:48:30 host2 mysqld[48685]: diagnose the problem, but since we have already crashed,
|
Jul 12 08:48:30 host2 mysqld[48685]: something is definitely wrong and this may fail.
|
Jul 12 08:48:30 host2 mysqld[48685]: Server version: 10.11.8-MariaDB-cll-lve source revision: 3a069644682e336e445039e48baae9693f9a08ee
|
Jul 12 08:48:30 host2 mysqld[48685]: key_buffer_size=2147483648
|
Jul 12 08:48:30 host2 mysqld[48685]: read_buffer_size=4194304
|
Jul 12 08:48:30 host2 mysqld[48685]: max_used_connections=262
|
Jul 12 08:48:30 host2 mysqld[48685]: max_threads=2002
|
Jul 12 08:48:30 host2 mysqld[48685]: thread_count=262
|
Jul 12 08:48:30 host2 mysqld[48685]: It is possible that mysqld could use up to
|
Jul 12 08:48:30 host2 mysqld[48685]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 18551187 K bytes of memory
|
Jul 12 08:48:30 host2 mysqld[48685]: Hope that's ok; if not, decrease some variables in the equation.
|
Jul 12 08:48:30 host2 mysqld[48685]: Thread pointer: 0x7fde6c412018
|
Jul 12 08:48:30 host2 mysqld[48685]: Attempting backtrace. You can use the following information to find out
|
Jul 12 08:48:30 host2 mysqld[48685]: where mysqld died. If you see no messages after this, something went
|
Jul 12 08:48:30 host2 mysqld[48685]: terribly wrong...
|
Jul 12 08:48:30 host2 mysqld[48685]: stack_bottom = 0x7fe22f93fc00 thread_stack 0x49000
|
Jul 12 08:48:37 host2 mysqld[48685]: /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55b824a2e93e]
|
Jul 12 08:48:42 host2 mysqld[48685]: /usr/sbin/mysqld(handle_fatal_signal+0x2f7)[0x55b824498ba7]
|
Jul 12 08:48:47 host2 mysqld[48685]: sigaction.c:0(__restore_rt)[0x7fe25d20c630]
|
Jul 12 08:48:49 host2 mysqld[48685]: /lib64/libc.so.6(gsignal+0x37)[0x7fe25b48b387]
|
Jul 12 08:48:49 host2 mysqld[48685]: /lib64/libc.so.6(abort+0x148)[0x7fe25b48ca78]
|
Jul 12 08:48:54 host2 mysqld[48685]: 2024-07-12 08:48:54 0x7fe23645f700 InnoDB: Assertion failure in file /builddir/build/BUILD/cl-MariaDB1011-10.11.8/mariadb-10.11.8/storage/innobase/buf/buf0lru.cc line 281
|
Jul 12 08:48:54 host2 mysqld[48685]: InnoDB: Failing assertion: !block->page.in_file()
|
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] Starting MariaDB 10.11.8-MariaDB-cll-lve source revision 3a069644682e336e445039e48baae9693f9a08ee as process 38070
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] mysqld: Aria engine: starting recovery
|
Jul 12 08:52:23 host2 mysqld[38070]: tables to flush: 3 2 1 0
|
Jul 12 08:52:23 host2 mysqld[38070]: (0.0 seconds);
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] mysqld: Aria engine: recovery done
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.7
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Number of transaction pools: 1
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Using Linux native AIO
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Initializing buffer pool, total size = 9.805GiB, chunk size = 156.875MiB
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Completed initialization of buffer pool
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer
|
Jul 12 08:52:23 host2 mysqld[38070]: 2024-07-12 8:52:23 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=102608836230414
|
Jul 12 08:52:24 host2 mysqld[38070]: 2024-07-12 8:52:24 0 [ERROR] InnoDB: Corrupted page identifier at 102609070806801; set innodb_force_recovery=1 to ignore the record.
|
Jul 12 08:52:24 host2 mysqld[38070]: 2024-07-12 8:52:24 0 [Note] InnoDB: End of log at LSN=102609070806801
|
Jul 12 08:52:24 host2 mysqld[38070]: 2024-07-12 8:52:24 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
|
Jul 12 08:52:24 host2 mysqld[38070]: 2024-07-12 8:52:24 0 [Note] InnoDB: Starting shutdown...
|
Jul 12 08:52:24 host2 mysqld[38070]: 2024-07-12 8:52:24 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
|
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] Starting MariaDB 10.11.8-MariaDB-cll-lve source revision 3a069644682e336e445039e48baae9693f9a08ee as process 4950
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: !!! innodb_force_recovery is set to 1 !!!
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.7
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Number of transaction pools: 1
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Using Linux native AIO
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Initializing buffer pool, total size = 9.805GiB, chunk size = 156.875MiB
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Completed initialization of buffer pool
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=102608836230414
|
Jul 12 08:53:09 host2 mysqld[4950]: 2024-07-12 8:53:09 0 [Note] InnoDB: At LSN: 102608936674584: unable to open file ./u999477289_tovKC/#sql-ib2913140.ibd for tablespace 2912698
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring malformed log record at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring malformed log record at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring malformed log record at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring malformed log record at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Warning] InnoDB: Ignoring corrupted page identifier at LSN 102609070806801
|
Jul 12 08:53:10 host2 mysqld[4950]: 2024-07-12 8:53:10 0 [Note] InnoDB: End of log at LSN=102609071027522
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Note] libgovernor.so found
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Note] All governors functions found too
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Note] Governor connected
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Note] All governors lve functions found too
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Warning] Could not increase number of max_open_files to more than 1048576 (request: 8194079)
|
Jul 12 08:58:57 host2 mysqld[8105]: 2024-07-12 8:58:57 0 [Note] Starting MariaDB 10.11.8-MariaDB-cll-lve source revision 3a069644682e336e445039e48baae9693f9a08ee as process 8105
|
The failing assertion is something that I intentionally left there when in
MDEV-13542I was fixing other crashes on accessing corrupted pages:allowed to fail. If we get a corrupted undo header, we will crash here. */
ut_a(undo_page);
Finding the root causes of corruption is very challenging, unless there is a script that allows the corruption to be reproduced with some reasonable probability. In our internal testing we catch and fix cases, mostly thanks to
MDEV-18976and https://rr-project.org. Since the latest quarterly releases, some potential race conditions in the buffer pool were fixed as well. If you have a staging environment where you can run tests, I would suggest that you download the currently latest 10.11 development snapshot from https://ci.mariadb.org/45877/ and test if the situation has improved. The scheduled quarterly releases should be out soon, but I can’t give an exact date, because MySQL 8.0.37 (containing some security fixes that might be applicable to MariaDB) has not been released yet.