Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8729

Libprocess: deadlock in process::finalize

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: libprocess
    • Environment:

      The issue has been reproduced on Ubuntu 16.04, master branch, commit `42848653b2`. 

      Description

      Since we are calling `libprocess::finalize()` before returning from the IOSwitchboard's main function, we expect that all http responses are going to be sent back to clients before IOSwitchboard terminates. However, after adding `libprocess::finalize()` we have seen that IOSwitchboard might get stuck in `libprocess::finalize()`. See attached stacktrace.

        Attachments

        1. deadlock.txt
          87 kB
          Andrei Budnik

          Issue Links

            Activity

              People

              • Assignee:
                abudnik Andrei Budnik
                Reporter:
                abudnik Andrei Budnik
                Shepherd:
                Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: