{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/14471","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/14471/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14471/comments","events_url":"https://api.github.com/repos/golang/go/issues/14471/events","html_url":"https://github.com/golang/go/issues/14471","id":135556201,"number":14471,"title":"runtime: goexitsall: FP in note handler","user":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/OS-Plan9","name":"OS-Plan9","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"0intro","id":6043744,"avatar_url":"https://avatars.githubusercontent.com/u/6043744?v=3","gravatar_id":"","url":"https://api.github.com/users/0intro","html_url":"https://github.com/0intro","followers_url":"https://api.github.com/users/0intro/followers","following_url":"https://api.github.com/users/0intro/following{/other_user}","gists_url":"https://api.github.com/users/0intro/gists{/gist_id}","starred_url":"https://api.github.com/users/0intro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0intro/subscriptions","organizations_url":"https://api.github.com/users/0intro/orgs","repos_url":"https://api.github.com/users/0intro/repos","events_url":"https://api.github.com/users/0intro/events{/privacy}","received_events_url":"https://api.github.com/users/0intro/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/6","html_url":"https://github.com/golang/go/milestones/Unplanned","labels_url":"https://api.github.com/repos/golang/go/milestones/6/labels","id":1055141,"number":6,"title":"Unplanned","description":"No plan to fix in any specific release.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":1249,"closed_issues":253,"state":"open","created_at":"2015-04-06T20:47:19Z","updated_at":"2016-02-24T18:05:31Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-22T21:52:10Z","updated_at":"2016-02-24T18:05:31Z","closed_at":"2016-02-24T18:05:31Z","body":"A recurring theme of the plan9 port, this time due to duffzero being called from goexitsall.\r\n\r\nDisabling duffzero on plan9 is an option, but I'm considering if we could hack around using the normal zero and copy routines in plan9 note handling, so that duffzero/duffcopy can be enabled for plan9 without issues. This might reduce the chance of new cases of FP in note handlers popping up. I am not sure whether this can be done in any sane manner, but I'll keep thinking about it for a while and experiment a bit.\r\n\r\nI'll post the error messages and trace later (I don't have them available right now), but it is goexitsall that fails, which seems very plausible seeing that it starts with a XORPS and a call to duffzero, most likely inserted by zerorange() to clear buf.\r\n\r\n**Test code**\r\nAnything that returns from main it seems.\r\n\r\n**Platform**\r\n9front amd64\r\n\r\n**Revision**\r\nf28bbb776a050cc3edca2bbe1241d81217a7a251"}}