Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1548

C++ proactor_container_impl deadlock in schedule

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.18.0
    • Fix Version/s: proton-c-0.18.0
    • Component/s: cpp-binding
    • Labels:
      None

      Description

      The proactor container can deadlock on connect(), open_sender(), etc.

      In the case of the test program, the lock is acquired just before
      run_timer_jobs() when handling PN_PROACTOR_TIMEOUT. Deadlock occurs
      in container::impl::connect() when the lock is attempted to be taken a
      second time.

        Attachments

        1. hang.cpp
          1 kB
          Clifford Jansen

          Issue Links

            Activity

              People

              • Assignee:
                astitcher Andrew Stitcher
                Reporter:
                cliffjansen Clifford Jansen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: