{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/17028","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/17028/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/17028/comments","events_url":"https://api.github.com/repos/golang/go/issues/17028/events","html_url":"https://github.com/golang/go/issues/17028","id":175840114,"number":17028,"title":"arm is segfaulting for kube-apiserver on kubernetes HEAD","user":{"login":"luxas","id":5442475,"avatar_url":"https://avatars.githubusercontent.com/u/5442475?v=3","gravatar_id":"","url":"https://api.github.com/users/luxas","html_url":"https://github.com/luxas","followers_url":"https://api.github.com/users/luxas/followers","following_url":"https://api.github.com/users/luxas/following{/other_user}","gists_url":"https://api.github.com/users/luxas/gists{/gist_id}","starred_url":"https://api.github.com/users/luxas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxas/subscriptions","organizations_url":"https://api.github.com/users/luxas/orgs","repos_url":"https://api.github.com/users/luxas/repos","events_url":"https://api.github.com/users/luxas/events{/privacy}","received_events_url":"https://api.github.com/users/luxas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-08T19:20:51Z","updated_at":"2016-09-08T21:39:05Z","closed_at":null,"body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\ngo1.6.3\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\nlinux/arm\r\n\r\n### What did you do?\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\nJust run\r\n`docker run -it gcr.io/google_containers/kube-apiserver-arm:v1.4.0-alpha.3 /usr/local/bin/kube-apiserver`\r\n\r\n### What did you expect to see?\r\nkube-apiserver starting\r\n\r\n### What did you see instead?\r\n```\r\nunexpected fault address 0x40d62ec\r\nfatal error: fault\r\n[signal 0xb code=0x2 addr=0x40d62ec pc=0x40d62ec]\r\n\r\ngoroutine 1 [running, locked to thread]:\r\nruntime.throw(0x2cc9010, 0x5)\r\n\t/usr/local/go/src/runtime/panic.go:547 +0x78 fp=0x1482beec sp=0x1482bee0\r\nruntime.sigpanic()\r\n\t/usr/local/go/src/runtime/sigpanic_unix.go:27 +0x280 fp=0x1482bf18 sp=0x1482beec\r\nk8s.io/kubernetes/vendor/github.com/docker/engine-api/types/versions.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/docker/engine-api/types/versions/compare.go:62 +0x4c fp=0x1482bf20 sp=0x1482bf1c\r\nk8s.io/kubernetes/vendor/github.com/docker/engine-api/types/filters.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/docker/engine-api/types/filters/parse.go:295 +0x5c fp=0x1482bf34 sp=0x1482bf20\r\nk8s.io/kubernetes/vendor/github.com/docker/engine-api/types.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/docker/engine-api/types/types.go:473 +0x5c fp=0x1482bf38 sp=0x1482bf34\r\nk8s.io/kubernetes/pkg/credentialprovider.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/credentialprovider/provider.go:123 +0x7c fp=0x1482bf6c sp=0x1482bf38\r\nk8s.io/kubernetes/pkg/credentialprovider/aws.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/credentialprovider/aws/aws_credentials.go:232 +0x70 fp=0x1482bf70 sp=0x1482bf6c\r\nk8s.io/kubernetes/pkg/cloudprovider/providers/aws.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/aws/sets_ippermissions.go:146 +0xb0 fp=0x1482bf90 sp=0x1482bf70\r\nk8s.io/kubernetes/pkg/cloudprovider/providers.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/providers.go:30 +0x4c fp=0x1482bf94 sp=0x1482bf90\r\nk8s.io/kubernetes/cmd/kube-apiserver/app.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-apiserver/app/server.go:310 +0x4c fp=0x1482bf98 sp=0x1482bf94\r\nmain.init()\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-apiserver/apiserver.go:53 +0x5c fp=0x1482bf9c sp=0x1482bf98\r\nruntime.main()\r\n\t/usr/local/go/src/runtime/proc.go:177 +0x274 fp=0x1482bfc4 sp=0x1482bf9c\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_arm.s:990 +0x4 fp=0x1482bfc4 sp=0x1482bfc4\r\n\r\ngoroutine 5 [chan receive]:\r\nk8s.io/kubernetes/vendor/github.com/golang/glog.(*loggingT).flushDaemon(0x462d1f8)\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/golang/glog/glog.go:879 +0x60\r\ncreated by k8s.io/kubernetes/vendor/github.com/golang/glog.init.1\r\n\t/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/golang/glog/glog.go:410 +0x2cc\r\n```\r\n\r\nSeems like Kubernetes with it's deps just grew too big for arm :(\r\nAny help here would be **really appreciated**. We're releasing Kubernetes in about 10 days\r\n\r\nI need help from some Go guru here that knows how the internals work!\r\nI assume this is a Go issue rather than a Kubernetes issue, since the file that's segfaulting doesn't have an `init()`\r\n\r\nPlease take a look as quickly as possible!\r\n-> @lavalamp @smarterclayton @ixdy @rsc @davecheney @wojtek-t @jfrazelle @bradfitz "},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/245750018","html_url":"https://github.com/golang/go/issues/17028#issuecomment-245750018","issue_url":"https://api.github.com/repos/golang/go/issues/17028","id":245750018,"user":{"login":"luxas","id":5442475,"avatar_url":"https://avatars.githubusercontent.com/u/5442475?v=3","gravatar_id":"","url":"https://api.github.com/users/luxas","html_url":"https://github.com/luxas","followers_url":"https://api.github.com/users/luxas/followers","following_url":"https://api.github.com/users/luxas/following{/other_user}","gists_url":"https://api.github.com/users/luxas/gists{/gist_id}","starred_url":"https://api.github.com/users/luxas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxas/subscriptions","organizations_url":"https://api.github.com/users/luxas/orgs","repos_url":"https://api.github.com/users/luxas/repos","events_url":"https://api.github.com/users/luxas/events{/privacy}","received_events_url":"https://api.github.com/users/luxas/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T21:39:05Z","updated_at":"2016-09-08T21:39:05Z","body":"@laboger Thanks a lot!\r\nYeah, there's the issue. \r\n`0x408cce4` == `67685604` which is `576740` bigger than `67108864` (2**26)\r\n\r\nalso broke with `pc=0x4018784` == `67209092` which is `100228` bigger than 2**26\r\n\r\nat commit kubernetes/kubernetes@a81732ba76944ae7015c2d55d61b2f0b05900109 it didn't break, but with kubernetes/kubernetes@ff9980e2035210f14a4a9a3f6c756f28c23c883a it does break.\r\n\r\nThe difference there is only 300 commits, but the binary clearly passes the `0x4000000` (2**26) mark just there.\r\n\r\nWell, now we know what the problem is.\r\nDo anyone have suggestions on what to do? Can we change something in golang to solve it or is it just a hard limit for 32-bit overall?\r\n"}}
{"actor":{"display_login":"luxas"}}