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

InnoDB may crash when btr_page_alloc() fails

Details

    Description

      Due to an incorrect merge from MySQL 5.6 to MySQL 5.7 a bug fix and a test that were included in MySQL 5.6 were omitted from MySQL 5.7.
      That is, contrary to the claim in MySQL Bug #77497 the bug was not fixed in MySQL 5.7.10 nor 8.0.0 (née 5.8.0).

      The first affected version is MariaDB 10.2.2, because it imported MySQL 5.7.9.

      Also the fix in MySQL 5.6.28 looks incomplete; all callers of btr_page_alloc() should check for NULL value and always propagate the error to the caller. I think we should improve this in MariaDB 10.0 already.

      In MariaDB, the test was introduced as innodb.create-index-debug as part of MDEV-13625. In MySQL, the test was added to innodb.create-index, which in MariaDB does not depend on a debug server.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Marko Mäkelä made transition -
            Open Confirmed
            81d 21h 54m 1
            Marko Mäkelä made transition -
            Confirmed In Progress
            1628d 4h 56m 1
            Marko Mäkelä made transition -
            In Progress Closed
            30d 23h 43m 1

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.