{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/11783","labels_url":"https://api.github.com/repos/golang/go/issues/11783/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11783/comments","events_url":"https://api.github.com/repos/golang/go/issues/11783/events","html_url":"https://github.com/golang/go/issues/11783","id":95846912,"number":11783,"title":"runtime: fatal error: unexpected signal during runtime execution (during compilation)","user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-18T18:19:16Z","updated_at":"2015-07-21T01:35:30Z","closed_at":"2015-07-21T01:35:30Z","body":"#### What version of Go are you using (go version)?\r\n\r\n    go version go1.5beta2 linux/amd64\r\n\r\n#### What operating system and processor architecture are you using?\r\n\r\n    Linux flynn 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:13 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n#### What did you do?\r\n\r\nRan the following `go build` command (via the `tup` build system):\r\n\r\n```text\r\nCGO_ENABLED=0 go build -ldflags=\"-X github.com/flynn/flynn/pkg/version.commit=dev -X github.com/flynn/flynn/pkg/version.branch=dev -X github.com/flynn/flynn/pkg/version.tag=none -X github.com/flynn/flynn/pkg/version.dirty=false\" -o bin/flynn-postgres-api -tags=\"\" ./api\r\n```\r\n\r\n#### What did you expect to see?\r\n\r\nThe program compile successfully.\r\n\r\n#### What did you see instead?\r\n\r\nRarely, this error occurs when compiling a package (the package does not appear to be consistently the same):\r\n\r\n```text\r\n# github.com/flynn/flynn/Godeps/_workspace/src/github.com/wadey/cryptorand\r\nfatal error: unexpected signal during runtime execution\r\n[signal 0xb code=0x1 addr=0x0 pc=0x441d11]\r\n\r\nruntime stack:\r\nruntime.throw(0x85e100, 0x2a)\r\n\t/usr/local/go/src/runtime/panic.go:527 +0x96\r\nruntime.sigpanic()\r\n\t/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a\r\nruntime.cfuncname(0x8dbe08, 0xbcac5)\r\n\t/usr/local/go/src/runtime/symtab.go:269 +0x71\r\nruntime.funcname(0x8dbe08, 0x0, 0x0)\r\n\t/usr/local/go/src/runtime/symtab.go:273 +0x2d\r\nruntime.funcspdelta(0x8dbe08, 0x456781, 0x1)\r\n\t/usr/local/go/src/runtime/symtab.go:295 +0x5f\r\nruntime.gentraceback(0x424470, 0xc820028708, 0x0, 0xc820000180, 0x0, 0x0, 0x7fffffff, 0x896968, 0x7ffe7dbbffc0, 0x0, ...)\r\n\t/usr/local/go/src/runtime/traceback.go:219 +0x47f\r\nruntime.copystack(0xc820000180, 0x1000)\r\n\t/usr/local/go/src/runtime/stack1.go:616 +0x1a7\r\nruntime.newstack()\r\n\t/usr/local/go/src/runtime/stack1.go:801 +0xb9b\r\nruntime.morestack()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:330 +0x82\r\n\r\ngoroutine 1 [copystack, locked to thread]:\r\nruntime.init.2()\r\n\t/usr/local/go/src/runtime/mstats.go:146 fp=0xc820028710 sp=0xc820028708\r\nruntime.init()\r\n\t/usr/local/go/src/runtime/zversion.go:9 +0x36e fp=0xc820028770 sp=0xc820028710\r\nruntime.main()\r\n\t/usr/local/go/src/runtime/proc.go:63 +0x112 fp=0xc8200287c0 sp=0xc820028770\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200287c8 sp=0xc8200287c0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/123125245","html_url":"https://github.com/golang/go/issues/11783#issuecomment-123125245","issue_url":"https://api.github.com/repos/golang/go/issues/11783","id":123125245,"user":{"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},"created_at":"2015-07-21T01:35:29Z","updated_at":"2015-07-21T01:35:29Z","body":"Dup of #11792."}}