Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38452

innodb.101_compatibility fails with assert

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • None
    • None

    Description

      When running in latest 'main', I got once the following error when running mtr:
      (Was not able to repeat)

      innodb.101_compatibility '4k'
      /home/my/maria-atomic/mysql-test/var/21/mysqld.1/data//test/tz.ibd: changing 227
      to 24611
      ...
      2025-12-29 17:49:41 11 [Note] InnoDB: Sync to disk of `test`.`ti` started.
      2025-12-29 17:49:41 11 [Note] InnoDB: Stopping purge
      2025-12-29 17:49:41 11 [Note] InnoDB: Writing table metadata to './test/ti.cfg'
      2025-12-29 17:49:41 11 [Note] InnoDB: Table `test`.`ti` flushed to disk
      2025-12-29 17:49:42 11 [Note] InnoDB: Deleting the meta-data file './test/ti.cfg
      '
      2025-12-29 17:49:42 11 [Note] InnoDB: Resuming purge
      2025-12-29 17:49:42 11 [Note] InnoDB: Importing tablespace for table 'test/ti' t
      hat was exported from host 'storm'
      2025-12-29 17:49:42 11 [Note] InnoDB: Phase I - Update all pages
      2025-12-29 17:49:42 11 [Note] InnoDB: Sync to disk
      2025-12-29 17:49:42 11 [Note] InnoDB: Sync to disk - done!
      2025-12-29 17:49:42 11 [Note] InnoDB: Phase III - Flush changes to disk
      2025-12-29 17:49:42 11 [Note] InnoDB: Phase IV - Flush complete
      ....
      #6 0x00007ffff624bc6a in __assert_fail_base () from /lib64/libc.so.6
      #7 0x00007ffff624bcf2 in __assert_fail () from /lib64/libc.so.6
      #8 0x000000000151a54e in log_t::clear_mmap (this=0x3264000 <log_sys>) at /my/maria-atomic/storage/innobase/log/log0log.cc:1257
      #9 0x00000000015224ff in recv_sys_t::debug_free (this=0x27bbec0 <recv_sys>) at /my/maria-atomic/storage/innobase/log/log0recv.cc:1480
      #10 0x00000000016a9148 in srv_start (create_new_db=false) at /my/maria-atomic/storage/innobase/srv/srv0start.cc:1717
      #11 0x0000000001450137 in innodb_init (p=0x3715068) at /my/maria-atomic/storage/innobase/handler/ha_innodb.cc:4228
      #12 0x0000000000ec773d in ha_initialize_handlerton (plugin_=0x364b750) at /my/maria-atomic/sql/handler.cc:739
      #13 0x0000000000abe6b8 in plugin_do_initialize (plugin=0x364b750, state=@0x7fffffff75ac: 4) at /my/maria-atomic/sql/sql_plugin.cc:1457
      #14 0x0000000000abea53 in plugin_initialize (tmp_root=0x7fffffff78f0, plugin=0x364b750, argc=0x29cb1d8 <remaining_argc>, argv=0x32ddbd0, options_only=false) at /my/maria-atomic/sql/sql_plugin.cc:1511
      #15 0x0000000000abf673 in plugin_init (argc=0x29cb1d8 <remaining_argc>, argv=0x32ddbd0, flags=0) at /my/maria-atomic/sql/sql_plugin.cc:1755
      #16 0x00000000008dd3fb in init_server_components () at /my/maria-atomic/sql/mysqld.cc:5316

      ...

      2025-12-29 17:49:43 0 [Note] InnoDB: Completed initialization of buffer pool
      2025-12-29 17:49:43 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN
      =35164138
      2025-12-29 17:49:43 0 [Note] InnoDB: End of log at LSN=35170605
      2025-12-29 17:49:43 0 [Note] InnoDB: To recover: 53 pages
      2025-12-29 17:49:43 0 [Warning] InnoDB: adjusting FSP_SPACE_FLAGS of file './tes
      t/tz.ibd' from 0x6023 to 0xe3
      2025-12-29 17:49:43 0 [Note] InnoDB: 1 transaction(s) which must be rolled back
      or cleaned up in total 7 row operations to undo
      2025-12-29 17:49:43 0 [Note] InnoDB: Trx id counter is 1510
      mariadbd: /my/maria-atomic/storage/innobase/log/log0log.cc:1257: void log_t::cle
      ar_mmap(): Assertion `get_lsn() == get_flushed_lsn(std::memory_order_relaxed)' failed.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.