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

row_log_table_apply_ops runtime error: applying non-zero offset 1048576 to null pointer

    XMLWordPrintable

Details

    • Not for Release Notes
    • Q3/2025 Maintenance

    Description

      In Debug build only (obvious by error location being in debug defines) the following UBSAN error occurred.

      built with MSAN container per https://mariadb.com/kb/en/compile-and-using-mariadb-with-sanitizers-asan-ubsan-tsan-msan/

      10.11-6e56839d49be323519de325c97e9a2c0fd68b54e

      rpl.rpl_start_alter_5 'row'              w3 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2025-06-18 04:39:11
      line
      /source/storage/innobase/row/row0log.cc:2695:6: runtime error: applying non-zero offset 1048576 to null pointer
      

      Also tests: rpl.rpl_start_alter_3 rpl.rpl_start_alter_4 rpl.rpl_start_alter_5 rpl.rpl_start_alter_6 rpl.rpl_start_alter_1 rpl.rpl_start_alter_2 rpl.rpl_start_alter_mysqlbinlog_1

      storage/innobase/row/row0log.cc:2693-2695

      #ifdef UNIV_DEBUG
      	if (next_mrec_end == index->online_log->head.block
      	    + srv_sort_buf_size) {
      

      So the index->online_log->head.block is a nullptr. I

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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