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

fts_slots is being accessed after it gets freed.

    XMLWordPrintable

Details

    Description

      fts_optimize_callback() does encounter the message FTS_MSG_STOP and frees the
      fts_slots. Again fts_optimize_callback() is being called due to timer initiated callback.
      This problem exists in 10.6 due to the following commit:

      commit 38fd7b7d9170369b16ff553f01669182e70bc9b5
      Author: Marko Mäkelä <marko.makela@mariadb.com>
      Date:   Fri Dec 4 16:18:04 2020 +0200
       
          MDEV-21452: Replace all direct use of os_event_t
      
      

      InnoDB fts_optimize_callback() should detect whether the FTS_STOP_MSG has been processed.

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.