{"action":"closed","number":690,"pull_request":{"url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690","id":184237406,"html_url":"https://github.com/dmtcp/dmtcp/pull/690","diff_url":"https://github.com/dmtcp/dmtcp/pull/690.diff","patch_url":"https://github.com/dmtcp/dmtcp/pull/690.patch","issue_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/690","number":690,"state":"closed","locked":false,"title":"Fix deadlock when a process is forked in the resume phase","user":{"login":"rohgarg","id":1672104,"avatar_url":"https://avatars0.githubusercontent.com/u/1672104?v=4","gravatar_id":"","url":"https://api.github.com/users/rohgarg","html_url":"https://github.com/rohgarg","followers_url":"https://api.github.com/users/rohgarg/followers","following_url":"https://api.github.com/users/rohgarg/following{/other_user}","gists_url":"https://api.github.com/users/rohgarg/gists{/gist_id}","starred_url":"https://api.github.com/users/rohgarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohgarg/subscriptions","organizations_url":"https://api.github.com/users/rohgarg/orgs","repos_url":"https://api.github.com/users/rohgarg/repos","events_url":"https://api.github.com/users/rohgarg/events{/privacy}","received_events_url":"https://api.github.com/users/rohgarg/received_events","type":"User","site_admin":false},"body":"We need to reset the `preResumeThreadCount` in the child process in the\r\natfork_child handler. Otherwise, if a process is forked in the resume\r\nphase, this can lead to a deadlock, where the checkpoint thread that's\r\ncreated for the child process in the fork() wrapper gets blocked in\r\nwaitForUserThreadsToFinishPreResumeCB(). This is because the child process\r\ninherits the non-zero value of `preResumeThreadCount` from the parent.","created_at":"2018-04-26T06:25:21Z","updated_at":"2018-04-26T13:58:00Z","closed_at":"2018-04-26T13:58:00Z","merged_at":null,"merge_commit_sha":"4e0b9429334405e03e4288082729959f84d652b6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gc00","id":1207321,"avatar_url":"https://avatars1.githubusercontent.com/u/1207321?v=4","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},{"login":"jiajuncao","id":6911345,"avatar_url":"https://avatars0.githubusercontent.com/u/6911345?v=4","gravatar_id":"","url":"https://api.github.com/users/jiajuncao","html_url":"https://github.com/jiajuncao","followers_url":"https://api.github.com/users/jiajuncao/followers","following_url":"https://api.github.com/users/jiajuncao/following{/other_user}","gists_url":"https://api.github.com/users/jiajuncao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiajuncao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiajuncao/subscriptions","organizations_url":"https://api.github.com/users/jiajuncao/orgs","repos_url":"https://api.github.com/users/jiajuncao/repos","events_url":"https://api.github.com/users/jiajuncao/events{/privacy}","received_events_url":"https://api.github.com/users/jiajuncao/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":712555373,"url":"https://api.github.com/repos/dmtcp/dmtcp/labels/2.6.0","name":"2.6.0","color":"f9d0c4","default":false},{"id":131326963,"url":"https://api.github.com/repos/dmtcp/dmtcp/labels/bug","name":"bug","color":"fc2929","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690/commits","review_comments_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690/comments","review_comment_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/690/comments","statuses_url":"https://api.github.com/repos/dmtcp/dmtcp/statuses/24a3642519198328067cd8fbdc6e47fef4e149c1","head":{"label":"rohgarg:fix-threadsync-3.0","ref":"fix-threadsync-3.0","sha":"24a3642519198328067cd8fbdc6e47fef4e149c1","user":{"login":"rohgarg","id":1672104,"avatar_url":"https://avatars0.githubusercontent.com/u/1672104?v=4","gravatar_id":"","url":"https://api.github.com/users/rohgarg","html_url":"https://github.com/rohgarg","followers_url":"https://api.github.com/users/rohgarg/followers","following_url":"https://api.github.com/users/rohgarg/following{/other_user}","gists_url":"https://api.github.com/users/rohgarg/gists{/gist_id}","starred_url":"https://api.github.com/users/rohgarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohgarg/subscriptions","organizations_url":"https://api.github.com/users/rohgarg/orgs","repos_url":"https://api.github.com/users/rohgarg/repos","events_url":"https://api.github.com/users/rohgarg/events{/privacy}","received_events_url":"https://api.github.com/users/rohgarg/received_events","type":"User","site_admin":false},"repo":{"id":30499837,"name":"dmtcp-1","full_name":"rohgarg/dmtcp-1","owner":{"login":"rohgarg","id":1672104,"avatar_url":"https://avatars0.githubusercontent.com/u/1672104?v=4","gravatar_id":"","url":"https://api.github.com/users/rohgarg","html_url":"https://github.com/rohgarg","followers_url":"https://api.github.com/users/rohgarg/followers","following_url":"https://api.github.com/users/rohgarg/following{/other_user}","gists_url":"https://api.github.com/users/rohgarg/gists{/gist_id}","starred_url":"https://api.github.com/users/rohgarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohgarg/subscriptions","organizations_url":"https://api.github.com/users/rohgarg/orgs","repos_url":"https://api.github.com/users/rohgarg/repos","events_url":"https://api.github.com/users/rohgarg/events{/privacy}","received_events_url":"https://api.github.com/users/rohgarg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohgarg/dmtcp-1","description":"DMTCP: Distributed MultiThreaded CheckPointing","fork":true,"url":"https://api.github.com/repos/rohgarg/dmtcp-1","forks_url":"https://api.github.com/repos/rohgarg/dmtcp-1/forks","keys_url":"https://api.github.com/repos/rohgarg/dmtcp-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohgarg/dmtcp-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohgarg/dmtcp-1/teams","hooks_url":"https://api.github.com/repos/rohgarg/dmtcp-1/hooks","issue_events_url":"https://api.github.com/repos/rohgarg/dmtcp-1/issues/events{/number}","events_url":"https://api.github.com/repos/rohgarg/dmtcp-1/events","assignees_url":"https://api.github.com/repos/rohgarg/dmtcp-1/assignees{/user}","branches_url":"https://api.github.com/repos/rohgarg/dmtcp-1/branches{/branch}","tags_url":"https://api.github.com/repos/rohgarg/dmtcp-1/tags","blobs_url":"https://api.github.com/repos/rohgarg/dmtcp-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohgarg/dmtcp-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohgarg/dmtcp-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohgarg/dmtcp-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohgarg/dmtcp-1/statuses/{sha}","languages_url":"https://api.github.com/repos/rohgarg/dmtcp-1/languages","stargazers_url":"https://api.github.com/repos/rohgarg/dmtcp-1/stargazers","contributors_url":"https://api.github.com/repos/rohgarg/dmtcp-1/contributors","subscribers_url":"https://api.github.com/repos/rohgarg/dmtcp-1/subscribers","subscription_url":"https://api.github.com/repos/rohgarg/dmtcp-1/subscription","commits_url":"https://api.github.com/repos/rohgarg/dmtcp-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohgarg/dmtcp-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohgarg/dmtcp-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohgarg/dmtcp-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/rohgarg/dmtcp-1/contents/{+path}","compare_url":"https://api.github.com/repos/rohgarg/dmtcp-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohgarg/dmtcp-1/merges","archive_url":"https://api.github.com/repos/rohgarg/dmtcp-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohgarg/dmtcp-1/downloads","issues_url":"https://api.github.com/repos/rohgarg/dmtcp-1/issues{/number}","pulls_url":"https://api.github.com/repos/rohgarg/dmtcp-1/pulls{/number}","milestones_url":"https://api.github.com/repos/rohgarg/dmtcp-1/milestones{/number}","notifications_url":"https://api.github.com/repos/rohgarg/dmtcp-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohgarg/dmtcp-1/labels{/name}","releases_url":"https://api.github.com/repos/rohgarg/dmtcp-1/releases{/id}","deployments_url":"https://api.github.com/repos/rohgarg/dmtcp-1/deployments","created_at":"2015-02-08T17:56:51Z","updated_at":"2016-11-11T16:06:13Z","pushed_at":"2018-04-26T06:24:46Z","git_url":"git://github.com/rohgarg/dmtcp-1.git","ssh_url":"git@github.com:rohgarg/dmtcp-1.git","clone_url":"https://github.com/rohgarg/dmtcp-1.git","svn_url":"https://github.com/rohgarg/dmtcp-1","homepage":"http://dmtcp.sourceforge.net/","size":15071,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmtcp:master","ref":"master","sha":"4b5c158fd64fbc04bdf3c8c09f75c2b5c199bfbd","user":{"login":"dmtcp","id":1207316,"avatar_url":"https://avatars3.githubusercontent.com/u/1207316?v=4","gravatar_id":"","url":"https://api.github.com/users/dmtcp","html_url":"https://github.com/dmtcp","followers_url":"https://api.github.com/users/dmtcp/followers","following_url":"https://api.github.com/users/dmtcp/following{/other_user}","gists_url":"https://api.github.com/users/dmtcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtcp/subscriptions","organizations_url":"https://api.github.com/users/dmtcp/orgs","repos_url":"https://api.github.com/users/dmtcp/repos","events_url":"https://api.github.com/users/dmtcp/events{/privacy}","received_events_url":"https://api.github.com/users/dmtcp/received_events","type":"Organization","site_admin":false},"repo":{"id":24297650,"name":"dmtcp","full_name":"dmtcp/dmtcp","owner":{"login":"dmtcp","id":1207316,"avatar_url":"https://avatars3.githubusercontent.com/u/1207316?v=4","gravatar_id":"","url":"https://api.github.com/users/dmtcp","html_url":"https://github.com/dmtcp","followers_url":"https://api.github.com/users/dmtcp/followers","following_url":"https://api.github.com/users/dmtcp/following{/other_user}","gists_url":"https://api.github.com/users/dmtcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtcp/subscriptions","organizations_url":"https://api.github.com/users/dmtcp/orgs","repos_url":"https://api.github.com/users/dmtcp/repos","events_url":"https://api.github.com/users/dmtcp/events{/privacy}","received_events_url":"https://api.github.com/users/dmtcp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmtcp/dmtcp","description":"DMTCP: Distributed MultiThreaded CheckPointing","fork":false,"url":"https://api.github.com/repos/dmtcp/dmtcp","forks_url":"https://api.github.com/repos/dmtcp/dmtcp/forks","keys_url":"https://api.github.com/repos/dmtcp/dmtcp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmtcp/dmtcp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmtcp/dmtcp/teams","hooks_url":"https://api.github.com/repos/dmtcp/dmtcp/hooks","issue_events_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/events{/number}","events_url":"https://api.github.com/repos/dmtcp/dmtcp/events","assignees_url":"https://api.github.com/repos/dmtcp/dmtcp/assignees{/user}","branches_url":"https://api.github.com/repos/dmtcp/dmtcp/branches{/branch}","tags_url":"https://api.github.com/repos/dmtcp/dmtcp/tags","blobs_url":"https://api.github.com/repos/dmtcp/dmtcp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmtcp/dmtcp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmtcp/dmtcp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmtcp/dmtcp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmtcp/dmtcp/statuses/{sha}","languages_url":"https://api.github.com/repos/dmtcp/dmtcp/languages","stargazers_url":"https://api.github.com/repos/dmtcp/dmtcp/stargazers","contributors_url":"https://api.github.com/repos/dmtcp/dmtcp/contributors","subscribers_url":"https://api.github.com/repos/dmtcp/dmtcp/subscribers","subscription_url":"https://api.github.com/repos/dmtcp/dmtcp/subscription","commits_url":"https://api.github.com/repos/dmtcp/dmtcp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmtcp/dmtcp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmtcp/dmtcp/contents/{+path}","compare_url":"https://api.github.com/repos/dmtcp/dmtcp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmtcp/dmtcp/merges","archive_url":"https://api.github.com/repos/dmtcp/dmtcp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmtcp/dmtcp/downloads","issues_url":"https://api.github.com/repos/dmtcp/dmtcp/issues{/number}","pulls_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls{/number}","milestones_url":"https://api.github.com/repos/dmtcp/dmtcp/milestones{/number}","notifications_url":"https://api.github.com/repos/dmtcp/dmtcp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmtcp/dmtcp/labels{/name}","releases_url":"https://api.github.com/repos/dmtcp/dmtcp/releases{/id}","deployments_url":"https://api.github.com/repos/dmtcp/dmtcp/deployments","created_at":"2014-09-21T17:21:59Z","updated_at":"2018-04-24T07:01:57Z","pushed_at":"2018-04-26T06:25:22Z","git_url":"git://github.com/dmtcp/dmtcp.git","ssh_url":"git@github.com:dmtcp/dmtcp.git","clone_url":"https://github.com/dmtcp/dmtcp.git","svn_url":"https://github.com/dmtcp/dmtcp","homepage":"http://dmtcp.sourceforge.net/","size":42931,"stargazers_count":110,"watchers_count":110,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":67,"mirror_url":null,"archived":false,"open_issues_count":182,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":67,"open_issues":182,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690"},"html":{"href":"https://github.com/dmtcp/dmtcp/pull/690"},"issue":{"href":"https://api.github.com/repos/dmtcp/dmtcp/issues/690"},"comments":{"href":"https://api.github.com/repos/dmtcp/dmtcp/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/dmtcp/dmtcp/statuses/24a3642519198328067cd8fbdc6e47fef4e149c1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"rohgarg"}}