[ https://issues.apache.org/jira/browse/MESOS-7988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329516#comment-16329516 ]
Gilbert Song commented on MESOS-7988: ------------------------------------- I updated the fix version to 1.5.0 /cc [~jpe...@apache.org] [~andschwa] > Mesos attempts to open handle for the system idle process > --------------------------------------------------------- > > Key: MESOS-7988 > URL: https://issues.apache.org/jira/browse/MESOS-7988 > Project: Mesos > Issue Type: Bug > Components: stout > Environment: Windows 10 > Reporter: Andrew Schwartzmeyer > Assignee: Andrew Schwartzmeyer > Priority: Major > Labels: windows > Fix For: 1.5.0 > > > While running {{mesos-tests}} under Application Verifier, I found that we > were inadvertently attempting to get a handle for the System Idle Process. > This is not permitted by the OS, and so the {{OpenProcess}} system call was > failing. I further found that we were incorrectly checking the failure > condition of {{OpenProcess}}. We were attempting to open this handle when > opening handles for all PIDs returned by {{os::pids}}, and the Windows API > {{EnumProcess}} includes PID 0 (System Idle Process). As this PID is not > useful, we can safely remove it from the {{os::pids}} API. Attempting to do > _anything_ with PID 0 will likely result in failure, as it is a special > process on Windows, and so we can help to prevent these errors by filtering > out PID 0. -- This message was sent by Atlassian JIRA (v7.6.3#76005)