Coverity analysis defect 149043: Thread deadlock

XMLWordPrintableJSON

    • Server Programmability
    • ALL
    • Programmability 2025-08-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Thread deadlock

      Two threads will be stuck waiting forever if each holds a lock the other needs to acquire. Threads may try to acquire two locks in different orders, potentially causing deadlock
      /src/mongo/util/alarm.cpp:89: ORDER_REVERSAL 149043 Calling "unique_lock" acquires lock "mongo::AlarmSchedulerPrecise._mutex". [Note: The source code implementation of the function has been overridden by a builtin model.]

            Assignee:
            James Bronsted
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: