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

possible deadlocks between rwlocks and mutexes

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.40
    • OTHER
    • None

    Description

      safe_mutex has built-in deadlock detection, but it only works for mutexes.
      Still, compiling with -DUSE_MUTEX_INSTEAD_OF_RW_LOCKS we can magically turn all rwlocks into mutexes.

      When done, safe_mutex reports new locking order violations, the server doesn't even start.

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              serg Sergei Golubchik
              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.