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

Memory leak in innodb.innodb_corrupt_bit

Details

    Description

      The function ha_innobase::prepare_inplace_alter_table() is failing to call mem_heap_free(heap) when it notices that a secondary index is corrupted.
      The memory leak is noticed by AddressSanitizer when running the test innodb.innodb_corrupt_bit.

      Attachments

        Activity

          marko Marko Mäkelä created issue -
          marko Marko Mäkelä added a comment - - edited

          I accidentally created this as a task instead of bug.
          The memory leak was introduced in 10.0.26, 10.1.15, 10.2.1 by the following:

          commit c081c978a2c83b9dc9efa84414cf40232460987d
          Merge: 1d21b221552 a482e76e65a
          Author: Sergei Golubchik <serg@mariadb.org>
          Date:   Tue Jun 21 14:11:02 2016 +0200
           
              Merge branch '5.5' into bb-10.0
          

          marko Marko Mäkelä added a comment - - edited I accidentally created this as a task instead of bug. The memory leak was introduced in 10.0.26, 10.1.15, 10.2.1 by the following: commit c081c978a2c83b9dc9efa84414cf40232460987d Merge: 1d21b221552 a482e76e65a Author: Sergei Golubchik <serg@mariadb.org> Date: Tue Jun 21 14:11:02 2016 +0200   Merge branch '5.5' into bb-10.0
          marko Marko Mäkelä made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 79108 ] MariaDB v4 [ 133089 ]

          People

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