You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2018/08/20 22:42:00 UTC

[jira] [Assigned] (MESOS-8729) Libprocess: deadlock in process::finalize

     [ https://issues.apache.org/jira/browse/MESOS-8729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kone reassigned MESOS-8729:
---------------------------------

        Shepherd: Benjamin Mahler
        Assignee: Andrei Budnik
          Sprint: Mesosphere Sprint 2018-28
    Story Points: 3

> 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
>            Assignee: 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)