[
https://issues.apache.org/jira/browse/MESOS-8729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448927#comment-16448927
]
Benjamin Mahler commented on MESOS-8729:
----------------------------------------
Filed MESOS-8823 to capture the broader effort needed to make process::finalize
safe for use.
> 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, master
> branch, commit `42848653b2`.
> Reporter: Andrei Budnik
> Priority: Major
> Labels: deadlock, libprocess
> 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 sent 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 in
> `libprocess::finalize()`. See attached stacktrace.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)