{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/17570","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/17570/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/17570/comments","events_url":"https://api.github.com/repos/golang/go/issues/17570/events","html_url":"https://github.com/golang/go/issues/17570","id":184958079,"number":17570,"title":"runtime: fatal error: MSpanList_Insert stack trace on go get","user":{"login":"donrudo","id":1015626,"avatar_url":"https://avatars.githubusercontent.com/u/1015626?v=3","gravatar_id":"","url":"https://api.github.com/users/donrudo","html_url":"https://github.com/donrudo","followers_url":"https://api.github.com/users/donrudo/followers","following_url":"https://api.github.com/users/donrudo/following{/other_user}","gists_url":"https://api.github.com/users/donrudo/gists{/gist_id}","starred_url":"https://api.github.com/users/donrudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donrudo/subscriptions","organizations_url":"https://api.github.com/users/donrudo/orgs","repos_url":"https://api.github.com/users/donrudo/repos","events_url":"https://api.github.com/users/donrudo/events{/privacy}","received_events_url":"https://api.github.com/users/donrudo/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/38","html_url":"https://github.com/golang/go/milestones/Go1.8","labels_url":"https://api.github.com/repos/golang/go/milestones/38/labels","id":1709363,"number":38,"title":"Go1.8","description":"","creator":{"login":"griesemer","id":8528975,"avatar_url":"https://avatars.githubusercontent.com/u/8528975?v=3","gravatar_id":"","url":"https://api.github.com/users/griesemer","html_url":"https://github.com/griesemer","followers_url":"https://api.github.com/users/griesemer/followers","following_url":"https://api.github.com/users/griesemer/following{/other_user}","gists_url":"https://api.github.com/users/griesemer/gists{/gist_id}","starred_url":"https://api.github.com/users/griesemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griesemer/subscriptions","organizations_url":"https://api.github.com/users/griesemer/orgs","repos_url":"https://api.github.com/users/griesemer/repos","events_url":"https://api.github.com/users/griesemer/events{/privacy}","received_events_url":"https://api.github.com/users/griesemer/received_events","type":"User","site_admin":false},"open_issues":253,"closed_issues":423,"state":"open","created_at":"2016-04-15T16:30:23Z","updated_at":"2016-10-25T23:23:38Z","due_on":"2017-01-31T00:00:00Z","closed_at":null},"comments":7,"created_at":"2016-10-24T21:21:20Z","updated_at":"2016-10-25T23:42: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\n1.7.3 (UPDATE: installed from brew)\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/carlos.morales/Code/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/go\"\r\nGOTOOLDIR=\"/usr/local/go/pkg/tool/darwin_amd64\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/zl/mzwmc4fn12zfnnp_67sc_vm9yflzkj/T/go-build360470061=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\n```\r\n\r\n```\r\nDarwin 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64\r\n```\r\n\r\n\r\n### What did you do?\r\nupgraded to 1.7.3 \r\n\r\nrun any of\r\n\r\n```\r\ngo get -u golang.org/x/tools/...\r\n```\r\n```\r\ngo get -v -x -u github.com/rogpeppe/godef/...\r\n```\r\n```\r\ngo get -u -v -x github.com/constabulary/gb/...\r\n```\r\n```\r\n go get -u -v -x gopkg.in/olivere/elastic.v2/...\r\n```\r\n```\r\ngo get -u -v -x github.com/derekparker/delve/cmd/dlv/...\r\n```\r\n\r\n### What did you expect to see?\r\nI was expecting to be able to setup common tools like \r\n\r\n### What did you see instead?\r\n```\r\nfailed MSpanList_Insert 0x47bd10 0x189339c26f5e9 0x0 0x0\r\nfatal error: MSpanList_Insert\r\n\r\nruntime stack:\r\nruntime.throw(0x2a3340, 0x10)\r\n\t/usr/local/go/src/runtime/panic.go:530 +0x90\r\nruntime.(*mSpanList).insert(0x3a58a8, 0x47bd10)\r\n\t/usr/local/go/src/runtime/mheap.go:933 +0x293\r\nruntime.(*mheap).freeSpanLocked(0x3a50a0, 0x47bd10, 0x100, 0x0)\r\n\t/usr/local/go/src/runtime/mheap.go:809 +0x4be\r\nruntime.(*mheap).grow(0x3a50a0, 0x8, 0x0)\r\n\t/usr/local/go/src/runtime/mheap.go:675 +0x2a0\r\nruntime.(*mheap).allocSpanLocked(0x3a50a0, 0x1, 0x47bc98)\r\n\t/usr/local/go/src/runtime/mheap.go:553 +0x4e3\r\nruntime.(*mheap).alloc_m(0x3a50a0, 0x1, 0x1e, 0x47bca8)\r\n\t/usr/local/go/src/runtime/mheap.go:437 +0x119\r\nruntime.(*mheap).alloc.func1()\r\n\t/usr/local/go/src/runtime/mheap.go:502 +0x41\r\nruntime.systemstack(0xc820043e58)\r\n\t/usr/local/go/src/runtime/asm_amd64.s:307 +0xab\r\nruntime.(*mheap).alloc(0x3a50a0, 0x1, 0x1000000001e, 0xeedf)\r\n\t/usr/local/go/src/runtime/mheap.go:503 +0x63\r\nruntime.(*mcentral).grow(0x3a7090, 0x0)\r\n\t/usr/local/go/src/runtime/mcentral.go:209 +0x93\r\nruntime.(*mcentral).cacheSpan(0x3a7090, 0xc800000000)\r\n\t/usr/local/go/src/runtime/mcentral.go:89 +0x47d\r\nruntime.(*mcache).refill(0x400960, 0xc80000001e, 0xc82566b608)\r\n\t/usr/local/go/src/runtime/mcache.go:119 +0xcc\r\nruntime.mallocgc.func2()\r\n\t/usr/local/go/src/runtime/malloc.go:642 +0x2b\r\nruntime.systemstack(0xc820020000)\r\n\t/usr/local/go/src/runtime/asm_amd64.s:291 +0x79\r\nruntime.mstart()\r\n\t/usr/local/go/src/runtime/proc.go:1048\r\n\r\ngoroutine 1 [running]:\r\nruntime.systemstack_switch()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc82566b190 sp=0xc82566b188\r\nruntime.mallocgc(0x380, 0x1e8be0, 0xc800000000, 0x0)\r\n\t/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0xc82566b268 sp=0xc82566b190\r\nruntime.newobject(0x1e8be0, 0x0)\r\n\t/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0xc82566b290 sp=0xc82566b268\r\ncmd/link/internal/ld.writelines()\r\n\t/usr/local/go/src/cmd/link/internal/ld/dwarf.go:1651 +0xefc fp=0xc82566b648 sp=0xc82566b290\r\ncmd/link/internal/ld.Dwarfemitdebugsections()\r\n\t/usr/local/go/src/cmd/link/internal/ld/dwarf.go:2108 +0xa59 fp=0xc82566b830 sp=0xc82566b648\r\ncmd/link/internal/amd64.asmb()\r\n\t/usr/local/go/src/cmd/link/internal/amd64/asm.go:663 +0x8bb fp=0xc82566b9c0 sp=0xc82566b830\r\ncmd/link/internal/ld.Ldmain()\r\n\t/usr/local/go/src/cmd/link/internal/ld/pobj.go:248 +0x1f5d fp=0xc82566be40 sp=0xc82566b9c0\r\ncmd/link/internal/amd64.Main()\r\n\t/usr/local/go/src/cmd/link/internal/amd64/obj.go:44 +0x19 fp=0xc82566be48 sp=0xc82566be40\r\nmain.main()\r\n\t/usr/local/go/src/cmd/link/main.go:27 +0x36f fp=0xc82566bf20 sp=0xc82566be48\r\nruntime.main()\r\n\t/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc82566bf70 sp=0xc82566bf20\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82566bf78 sp=0xc82566bf70\r\n```\r\n\r\nSome runs will fail if retried with a similar stack in other tool, until it is able to go through all the tools without errors after some retries like godef, dlv and x/tools; others will keep failing (like gb)\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/256210634","html_url":"https://github.com/golang/go/issues/17570#issuecomment-256210634","issue_url":"https://api.github.com/repos/golang/go/issues/17570","id":256210634,"user":{"login":"aclements","id":2688315,"avatar_url":"https://avatars.githubusercontent.com/u/2688315?v=3","gravatar_id":"","url":"https://api.github.com/users/aclements","html_url":"https://github.com/aclements","followers_url":"https://api.github.com/users/aclements/followers","following_url":"https://api.github.com/users/aclements/following{/other_user}","gists_url":"https://api.github.com/users/aclements/gists{/gist_id}","starred_url":"https://api.github.com/users/aclements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aclements/subscriptions","organizations_url":"https://api.github.com/users/aclements/orgs","repos_url":"https://api.github.com/users/aclements/repos","events_url":"https://api.github.com/users/aclements/events{/privacy}","received_events_url":"https://api.github.com/users/aclements/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T23:42:05Z","updated_at":"2016-10-25T23:42:05Z","body":"/cc @quentinmit. Random timestamp values corrupting memory on Darwin. Sounds right up your alley. :)"}}
{"actor":{"display_login":"aclements"}}