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

possible deadlocks between rwlocks and mutexes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 5.5.40
    • Component/s: OTHER
    • Labels:
      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

              Assignee:
              svoj Sergey Vojtovich
              Reporter:
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: