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

thd_wait_end() callback without matching thd_wait_begin()

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

            People

            • Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              wlad Vladislav Vaintroub
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: