Andrei Budnik created MESOS-8729: ------------------------------------ Summary: Libprocess: deadlock in process::finalize Key: MESOS-8729 URL: https://issues.apache.org/jira/browse/MESOS-8729 Project: Mesos Issue Type: Bug Components: libprocess Affects Versions: 1.6.0 Environment: The issue has been reproduced on Ubuntu 16.04 on mesos master brunch, commit `42848653b2`. Reporter: Andrei Budnik Attachments: deadlock.txt
Since we are calling [`libprocess::finalize()`|https://github.com/apache/mesos/blob/02ebf9986ab5ce883a71df72e9e3392a3e37e40e/src/slave/containerizer/mesos/io/switchboard_main.cpp#L157] before returning from the IOSwitchboard's main function, we expect that all http responses are going to be send back to clients before IOSwitchboard terminates. However, after [adding|https://reviews.apache.org/r/66147/] `libprocess::finalize()` we have seen that IOSwitchboard might get stuck on `libprocess::finalize()`. See attached stacktrace. -- This message was sent by Atlassian JIRA (v7.6.3#76005)