{"action":"created","issue":{"url":"https://api.github.com/repos/GeertJohan/go.hid/issues/14","repository_url":"https://api.github.com/repos/GeertJohan/go.hid","labels_url":"https://api.github.com/repos/GeertJohan/go.hid/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/GeertJohan/go.hid/issues/14/comments","events_url":"https://api.github.com/repos/GeertJohan/go.hid/issues/14/events","html_url":"https://github.com/GeertJohan/go.hid/issues/14","id":137108057,"number":14,"title":"Fails to run with Golang 1.6+","user":{"login":"weingart","id":1229641,"avatar_url":"https://avatars.githubusercontent.com/u/1229641?v=3","gravatar_id":"","url":"https://api.github.com/users/weingart","html_url":"https://github.com/weingart","followers_url":"https://api.github.com/users/weingart/followers","following_url":"https://api.github.com/users/weingart/following{/other_user}","gists_url":"https://api.github.com/users/weingart/gists{/gist_id}","starred_url":"https://api.github.com/users/weingart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weingart/subscriptions","organizations_url":"https://api.github.com/users/weingart/orgs","repos_url":"https://api.github.com/users/weingart/repos","events_url":"https://api.github.com/users/weingart/events{/privacy}","received_events_url":"https://api.github.com/users/weingart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-28T23:00:40Z","updated_at":"2016-02-29T22:06:58Z","closed_at":null,"body":"Unfortunately, this fails to run with the latest Golang:\r\n\r\n> panic: runtime error: cgo argument has Go pointer to Go pointer\r\n> \r\n> goroutine 1 [running]:\r\n> panic(0x4100900, 0xc82005c270)\r\n> \t/usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:464 +0x3e6\r\n> github.com/GeertJohan/cgo%2ewchar.convertWcharStringToGoString(0xc82007c100, 0xa, 0x10, 0x0, 0x0, 0x0, 0x0)\r\n> \t/Users/weingart/src/github.com/GeertJohan/cgo.wchar/convert.go:150 +0x521\r\n> github.com/GeertJohan/cgo%2ewchar.WcharStringPtrToGoString(0x4309800, 0x0, 0x0, 0x0, 0x0)\r\n> \t/Users/weingart/src/github.com/GeertJohan/cgo.wchar/wchar.go:141 +0x91\r\n> github.com/GeertJohan/go%2ehid.Enumerate(0xc800000000, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n> \t/Users/weingart/src/github.com/GeertJohan/go.hid/hid.go:211 +0x3e6\r\n\r\n#sadface\r\n"},"comment":{"url":"https://api.github.com/repos/GeertJohan/go.hid/issues/comments/190418353","html_url":"https://github.com/GeertJohan/go.hid/issues/14#issuecomment-190418353","issue_url":"https://api.github.com/repos/GeertJohan/go.hid/issues/14","id":190418353,"user":{"login":"eduncan911","id":104980,"avatar_url":"https://avatars.githubusercontent.com/u/104980?v=3","gravatar_id":"","url":"https://api.github.com/users/eduncan911","html_url":"https://github.com/eduncan911","followers_url":"https://api.github.com/users/eduncan911/followers","following_url":"https://api.github.com/users/eduncan911/following{/other_user}","gists_url":"https://api.github.com/users/eduncan911/gists{/gist_id}","starred_url":"https://api.github.com/users/eduncan911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduncan911/subscriptions","organizations_url":"https://api.github.com/users/eduncan911/orgs","repos_url":"https://api.github.com/users/eduncan911/repos","events_url":"https://api.github.com/users/eduncan911/events{/privacy}","received_events_url":"https://api.github.com/users/eduncan911/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T22:06:58Z","updated_at":"2016-02-29T22:06:58Z","body":"Go 1.6 changed the rules for passing pointers:\r\n\r\nhttps://golang.org/cmd/cgo/#hdr-Passing_pointers\r\n\r\n"}}