{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/12627","labels_url":"https://api.github.com/repos/golang/go/issues/12627/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12627/comments","events_url":"https://api.github.com/repos/golang/go/issues/12627/events","html_url":"https://github.com/golang/go/issues/12627","id":106604237,"number":12627,"title":"cmd/asm: nil deref (4)","user":{"login":"dvyukov","id":1095328,"avatar_url":"https://avatars.githubusercontent.com/u/1095328?v=3","gravatar_id":"","url":"https://api.github.com/users/dvyukov","html_url":"https://github.com/dvyukov","followers_url":"https://api.github.com/users/dvyukov/followers","following_url":"https://api.github.com/users/dvyukov/following{/other_user}","gists_url":"https://api.github.com/users/dvyukov/gists{/gist_id}","starred_url":"https://api.github.com/users/dvyukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvyukov/subscriptions","organizations_url":"https://api.github.com/users/dvyukov/orgs","repos_url":"https://api.github.com/users/dvyukov/repos","events_url":"https://api.github.com/users/dvyukov/events{/privacy}","received_events_url":"https://api.github.com/users/dvyukov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"robpike","id":4324516,"avatar_url":"https://avatars.githubusercontent.com/u/4324516?v=3","gravatar_id":"","url":"https://api.github.com/users/robpike","html_url":"https://github.com/robpike","followers_url":"https://api.github.com/users/robpike/followers","following_url":"https://api.github.com/users/robpike/following{/other_user}","gists_url":"https://api.github.com/users/robpike/gists{/gist_id}","starred_url":"https://api.github.com/users/robpike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpike/subscriptions","organizations_url":"https://api.github.com/users/robpike/orgs","repos_url":"https://api.github.com/users/robpike/repos","events_url":"https://api.github.com/users/robpike/events{/privacy}","received_events_url":"https://api.github.com/users/robpike/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/24","html_url":"https://github.com/golang/go/milestones/Go1.6","labels_url":"https://api.github.com/repos/golang/go/milestones/24/labels","id":1096159,"number":24,"title":"Go1.6","description":"","creator":{"login":"josharian","id":67496,"avatar_url":"https://avatars.githubusercontent.com/u/67496?v=3","gravatar_id":"","url":"https://api.github.com/users/josharian","html_url":"https://github.com/josharian","followers_url":"https://api.github.com/users/josharian/followers","following_url":"https://api.github.com/users/josharian/following{/other_user}","gists_url":"https://api.github.com/users/josharian/gists{/gist_id}","starred_url":"https://api.github.com/users/josharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharian/subscriptions","organizations_url":"https://api.github.com/users/josharian/orgs","repos_url":"https://api.github.com/users/josharian/repos","events_url":"https://api.github.com/users/josharian/events{/privacy}","received_events_url":"https://api.github.com/users/josharian/received_events","type":"User","site_admin":false},"open_issues":326,"closed_issues":128,"state":"open","created_at":"2015-05-05T02:39:06Z","updated_at":"2015-09-15T20:57:16Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-15T17:20:44Z","updated_at":"2015-09-15T20:57:16Z","closed_at":"2015-09-15T20:57:16Z","body":"cmd/asm crashes on the following program:\r\n```\r\nFUNCDATA(SB),0\r\n```\r\n```\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x0 pc=0x4b05b1]\r\n\r\ngoroutine 1 [running]:\r\ncmd/internal/obj.Mconv(0xc82007d830, 0x0, 0x0)\r\n\tsrc/cmd/internal/obj/util.go:460 +0x661\r\ncmd/internal/obj.Dconv(0x70fce0, 0xc82007d830, 0x0, 0x0)\r\n\tsrc/cmd/internal/obj/util.go:384 +0xc0c\r\ncmd/asm/internal/asm.(*Parser).validImmediate(0xc82007de70, 0x60e590, 0x8, 0xc82007d830, 0x7)\r\n\tsrc/cmd/asm/internal/asm/asm.go:92 +0x8f\r\ncmd/asm/internal/asm.(*Parser).asmFuncData(0xc82007de70, 0xc8200102d0, 0x8, 0xc82007db28, 0x2, 0x3)\r\n\tsrc/cmd/asm/internal/asm/asm.go:320 +0xe7\r\ncmd/asm/internal/asm.(*Parser).pseudo(0xc82007de70, 0x7, 0xc8200102d0, 0x8, 0xc82007db28, 0x2, 0x3)\r\n\tsrc/cmd/asm/internal/asm/parse.go:225 +0xae\r\ncmd/asm/internal/asm.(*Parser).line(0xc82007de70, 0xc82000a3a0)\r\n\tsrc/cmd/asm/internal/asm/parse.go:185 +0x990\r\ncmd/asm/internal/asm.(*Parser).Parse(0xc82007de70, 0xc82000a3a0, 0xc8200182a0)\r\n\tsrc/cmd/asm/internal/asm/parse.go:85 +0x21\r\nmain.main()\r\n\tsrc/cmd/asm/main.go:59 +0xb85\r\n```\r\ngo version devel +a1aafdb Tue Sep 15 16:12:59 2015 +0000 linux/amd64"}}