{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/1100","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/1100/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1100/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/1100/events","html_url":"https://github.com/nodejs/io.js/issues/1100","id":60264530,"number":1100,"title":"test-child-process-fork-getconnections intermittently fails on OS X","user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/io.js/labels/os%20x","name":"os x","color":"9944dd"},{"url":"https://api.github.com/repos/nodejs/io.js/labels/test","name":"test","color":"990099"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-08T16:39:09Z","updated_at":"2015-07-16T16:45:29Z","closed_at":null,"body":"Sometimes getting this when testing master (fe36076c78f60e61b67e6439eb7b759c4596faab) on OS X 10.10.2\r\n\r\n```\r\nJeremiahs-MacBook-Pro:io.js Jeremiah$ make test\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make -C out BUILDTYPE=Release V=1\r\nmake[1]: Nothing to be done for `all'.\r\nln -fs out/Release/iojs iojs\r\n/usr/bin/python tools/test.py --mode=release message parallel sequential -J\r\n=== release test-child-process-fork-getconnections ===                         \r\nPath: sequential/test-child-process-fork-getconnections\r\n/Users/Jeremiah/Documents/io.js/test/sequential/test-child-process-fork-getconnections.js:18\r\n          throw new Error('[c] closing by accident!');\r\n                ^\r\nError: [c] closing by accident!\r\n    at Socket.<anonymous> (/Users/Jeremiah/Documents/io.js/test/sequential/test-child-process-fork-getconnections.js:18:17)\r\n    at emitNone (events.js:72:20)\r\n    at Socket.emit (events.js:163:7)\r\n    at _stream_readable.js:891:16\r\n    at process._tickCallback (node.js:349:13)\r\n/Users/Jeremiah/Documents/io.js/test/sequential/test-child-process-fork-getconnections.js:36\r\n      throw new Error('child died unexpectedly!');\r\n            ^\r\nError: child died unexpectedly!\r\n    at ChildProcess.<anonymous> (/Users/Jeremiah/Documents/io.js/test/sequential/test-child-process-fork-getconnections.js:36:13)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:169:7)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:1044:12)\r\nCommand: out/Release/iojs /Users/Jeremiah/Documents/io.js/test/sequential/test-child-process-fork-getconnections.js\r\n```\r\n\r\ncc @bnoordhuis?"},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/122016817","html_url":"https://github.com/nodejs/io.js/issues/1100#issuecomment-122016817","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1100","id":122016817,"user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T16:45:28Z","updated_at":"2015-07-16T16:45:28Z","body":"I'm not certain, but I think there is a race condition somewhere in the code that handles passing sockets between processes (in core, not the test). I've basically rewritten this test from scratch and am seeing sockets being closed just by sending them to the child process."}}