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

thd_wait_end() callback without matching thd_wait_begin()

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      In wait_for_lock() in thr_lock, it is possible that after_wait_callback() is called without matching before_wait_callback(). This happens e.g if thread_var->abort is set.
      This causes assertion in sql/threadpool_unix.cc that checks inside tp_wait_end that begin callback was called.

      Attachments

        Activity

          wlad Vladislav Vaintroub created issue -
          wlad Vladislav Vaintroub made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          serg Sergei Golubchik made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow jira [ 10407 ] defaullt [ 10746 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 10746 ] MariaDB v2 [ 43570 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 43570 ] MariaDB v3 [ 62707 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 62707 ] MariaDB v4 [ 144655 ]

          People

            wlad Vladislav Vaintroub
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.