Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4152

Run test005 twice and get mysqld crash

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.4.3, 1.5.2
    • 5.4.1
    • MDB Plugin
    • None
    • 2020-8

    Description

      If you run test005.sh, it completes fine.
      Run it again and you get segv.

      The problem appears that ha_mcs::condStack ends up with a garbage entry.

      The server reuses handlers, which are created for each table. If a query has a subquery that uses cond_push, it doesn't call cond_pop, leaving the cond on the stack. The next query that uses that handler, has a (now possibly deleted) pointer to a previous query's cond on the condStack.

      Attachments

        Activity

          People

            dleeyh Daniel Lee (Inactive)
            David.Hall David Hall (Inactive)
            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.