{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/21196","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/21196/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/21196/comments","events_url":"https://api.github.com/repos/golang/go/issues/21196/events","html_url":"https://github.com/golang/go/issues/21196","id":246187486,"number":21196,"title":"misc/cgo/testsanitizers: never returns","user":{"login":"n2vi","id":8402874,"avatar_url":"https://avatars2.githubusercontent.com/u/8402874?v=4","gravatar_id":"","url":"https://api.github.com/users/n2vi","html_url":"https://github.com/n2vi","followers_url":"https://api.github.com/users/n2vi/followers","following_url":"https://api.github.com/users/n2vi/following{/other_user}","gists_url":"https://api.github.com/users/n2vi/gists{/gist_id}","starred_url":"https://api.github.com/users/n2vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n2vi/subscriptions","organizations_url":"https://api.github.com/users/n2vi/orgs","repos_url":"https://api.github.com/users/n2vi/repos","events_url":"https://api.github.com/users/n2vi/events{/privacy}","received_events_url":"https://api.github.com/users/n2vi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/49","html_url":"https://github.com/golang/go/milestone/49","labels_url":"https://api.github.com/repos/golang/go/milestones/49/labels","id":2053058,"number":49,"title":"Go1.9","description":"","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","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":5,"closed_issues":609,"state":"open","created_at":"2016-10-06T18:17:55Z","updated_at":"2017-07-27T23:38:30Z","due_on":"2017-07-31T07:00:00Z","closed_at":null},"comments":8,"created_at":"2017-07-27T22:26:53Z","updated_at":"2017-07-28T04:14:12Z","closed_at":null,"body":"\r\n[sigquit.txt](https://github.com/golang/go/files/1181424/sigquit.txt)\r\nPlease answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\ngo version go1.9rc1 linux/amd64\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\nuname -a     4.11.9-1-ARCH #1 SMP PREEMPT   Jul 5 2017 x86_64 GNU/Linux\r\n\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"linux\"\r\nGOOS=\"linux\"\r\nGOPATH=\"/home/eric/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/home/eric/golang\"\r\nGOTOOLDIR=\"/home/eric/golang/pkg/tool/linux_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"gcc\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build795230079=/tmp/go-build -gno-record-gcc-switches\"\r\nCXX=\"g++\"\r\nCGO_ENABLED=\"1\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\r\n\r\n### What did you do?\r\nall.bash\r\n\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\n\r\n\r\n### What did you expect to see?\r\nPASS\r\nok\r\n\r\n### What did you see instead?\r\nNever returns from ../misc/cgo/testsanitizers.\r\nSee output attached from SIGQUIT.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/318554548","html_url":"https://github.com/golang/go/issues/21196#issuecomment-318554548","issue_url":"https://api.github.com/repos/golang/go/issues/21196","id":318554548,"user":{"login":"n2vi","id":8402874,"avatar_url":"https://avatars2.githubusercontent.com/u/8402874?v=4","gravatar_id":"","url":"https://api.github.com/users/n2vi","html_url":"https://github.com/n2vi","followers_url":"https://api.github.com/users/n2vi/followers","following_url":"https://api.github.com/users/n2vi/following{/other_user}","gists_url":"https://api.github.com/users/n2vi/gists{/gist_id}","starred_url":"https://api.github.com/users/n2vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n2vi/subscriptions","organizations_url":"https://api.github.com/users/n2vi/orgs","repos_url":"https://api.github.com/users/n2vi/repos","events_url":"https://api.github.com/users/n2vi/events{/privacy}","received_events_url":"https://api.github.com/users/n2vi/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T04:14:12Z","updated_at":"2017-07-28T04:14:12Z","body":"I've only run the full test about five times, but so far it always gets\nstuck at tsan.   I'm not familiar with your test system.  Is there\nsomething shorter I can run repeatedly?\n\nWould it be helpful to you for me to install clang on this exact ArchLinux\nsystem, with no other changes, and rebuild?\n\nOn Thu, Jul 27, 2017 at 8:19 PM, Bryan C. Mills <notifications@github.com>\nwrote:\n\n> How reliably does it fail? It's possible that something about the\n> difference between gcc and clang causes the signal to be delivered to the\n> thread running os.(*Process).blockUntilWaitable instead of the one\n> running runtime.futex.\n>\n> I have a couple of local patches to try to make the runtime more\n> responsive under TSAN, but fundamentally this is a bug in the TSAN\n> implementation itself. (Even in a pure C program, TSAN won't deliver\n> signals during a blocking system call unless the handler for the signal is\n> registered with SA_RESTART, and there is no need for the Go runtime to\n> use SA_RESTART if libc correctly implements POSIX signal semantics.)\n>\n> (I've been talking with @dvyukov <https://github.com/dvyukov> about it,\n> but the underlying TSAN bug is difficult to solve.)\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/golang/go/issues/21196#issuecomment-318546290>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AIA3uuZYcmX3FPeRM8rw7HxNKI7ijqyLks5sSVM-gaJpZM4Ol6qB>\n> .\n>\n"}}
{"actor":{"display_login":"n2vi"}}