{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/1671","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1671/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1671/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1671/events","html_url":"https://github.com/bazelbuild/bazel/issues/1671","id":172443809,"number":1671,"title":"New Linux sandbox sometimes hangs with defunct child process","user":{"login":"philwo","id":504652,"avatar_url":"https://avatars.githubusercontent.com/u/504652?v=3","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/category:%20sandboxing","name":"category: sandboxing","color":"d4c5f9"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/P1","name":"P1","color":"d93f0b"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/type:%20bug","name":"type: bug","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"philwo","id":504652,"avatar_url":"https://avatars.githubusercontent.com/u/504652?v=3","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false},"assignees":[{"login":"philwo","id":504652,"avatar_url":"https://avatars.githubusercontent.com/u/504652?v=3","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-22T12:48:07Z","updated_at":"2016-08-22T12:48:07Z","closed_at":null,"body":"The PID1 process of the new Linux sandbox sometimes doesn't seem to notice that its child process died and gets stuck with this stack trace:\r\n\r\nlinux-sandbox.cc:\r\n#0  0x00007f8c706faa0c in __libc_waitpid (pid=9124, stat_loc=0x7fffc2f6e658, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31\r\n#1  0x0000000000402e0b in WaitForPid1() ()\r\n#2  0x000000000040339d in main ()\r\n\r\nlinux-sandbox-pid1.cc:\r\n#0  do_sigwait (sig=0x7f8c7141cf5c, set=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63\r\n#1  __GI___sigwait (set=<optimized out>, sig=0x7f8c7141cf5c) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:93\r\n#2  0x0000000000409ec3 in WaitForChild() ()\r\n#3  0x0000000000409f85 in Pid1Main(void*) ()\r\n#4  0x00007f8c7073437d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nRunning \"kill -CHLD <PID1>\" lets it continue and the build completes successfully. It seems to happen randomly, about once in three \"bazel build //src:bazel\" clean builds."}}
{"actor":{"display_login":"philwo"}}