{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/12791","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/12791/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/12791/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/12791/events","html_url":"https://github.com/dotnet/corefx/pull/12791","id":184024374,"number":12791,"title":"Fix parsing of procfs stat files when comm name contains spaces","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-19T17:23:26Z","updated_at":"2016-10-19T18:29:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/12791","html_url":"https://github.com/dotnet/corefx/pull/12791","diff_url":"https://github.com/dotnet/corefx/pull/12791.diff","patch_url":"https://github.com/dotnet/corefx/pull/12791.patch"},"body":"If a process or thread name contains a space, our procfs stat file parsing logic breaks as it sees the space in the name as a separator between elements.  This in turn causes Process.GetProcesses() and other such functions that rely on these stat files to fail with InvalidDataExceptions.  This commit fixes it by adding knowledge of '(' and ')' groupings to the parser.\r\n\r\nFixes https://github.com/dotnet/corefx/issues/12755\r\ncc: @ellismg, @ianhays, @mellinoe, @AndreyAkinshin"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/254900442","html_url":"https://github.com/dotnet/corefx/pull/12791#issuecomment-254900442","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/12791","id":254900442,"user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T18:29:48Z","updated_at":"2016-10-19T18:29:48Z","body":"> assume that, if there are any parentheses, then the name is whatever is between the outer matching pair of parentheses\r\n\r\nOk, I'll do that."}}
{"actor":{"display_login":"stephentoub"}}