{"action":"created","issue":{"url":"https://api.github.com/repos/limetext/qml-go/issues/5","repository_url":"https://api.github.com/repos/limetext/qml-go","labels_url":"https://api.github.com/repos/limetext/qml-go/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/limetext/qml-go/issues/5/comments","events_url":"https://api.github.com/repos/limetext/qml-go/issues/5/events","html_url":"https://github.com/limetext/qml-go/pull/5","id":172054280,"number":5,"title":"Go 1.6","user":{"login":"ricochet1k","id":76901,"avatar_url":"https://avatars.githubusercontent.com/u/76901?v=3","gravatar_id":"","url":"https://api.github.com/users/ricochet1k","html_url":"https://github.com/ricochet1k","followers_url":"https://api.github.com/users/ricochet1k/followers","following_url":"https://api.github.com/users/ricochet1k/following{/other_user}","gists_url":"https://api.github.com/users/ricochet1k/gists{/gist_id}","starred_url":"https://api.github.com/users/ricochet1k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricochet1k/subscriptions","organizations_url":"https://api.github.com/users/ricochet1k/orgs","repos_url":"https://api.github.com/users/ricochet1k/repos","events_url":"https://api.github.com/users/ricochet1k/events{/privacy}","received_events_url":"https://api.github.com/users/ricochet1k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-19T04:53:57Z","updated_at":"2016-08-19T11:24:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/limetext/qml-go/pulls/5","html_url":"https://github.com/limetext/qml-go/pull/5","diff_url":"https://github.com/limetext/qml-go/pull/5.diff","patch_url":"https://github.com/limetext/qml-go/pull/5.patch"},"body":"Store all the folds in a map and pass an atomically incremented key instead of a Go pointer. This works well, but currently, nothing can ever be garbage collected once it passes through the map. This is obviously a problem and is going to need to be fixed soon. Ideas?"},"comment":{"url":"https://api.github.com/repos/limetext/qml-go/issues/comments/240993706","html_url":"https://github.com/limetext/qml-go/pull/5#issuecomment-240993706","issue_url":"https://api.github.com/repos/limetext/qml-go/issues/5","id":240993706,"user":{"login":"erbridge","id":1027364,"avatar_url":"https://avatars.githubusercontent.com/u/1027364?v=3","gravatar_id":"","url":"https://api.github.com/users/erbridge","html_url":"https://github.com/erbridge","followers_url":"https://api.github.com/users/erbridge/followers","following_url":"https://api.github.com/users/erbridge/following{/other_user}","gists_url":"https://api.github.com/users/erbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/erbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erbridge/subscriptions","organizations_url":"https://api.github.com/users/erbridge/orgs","repos_url":"https://api.github.com/users/erbridge/repos","events_url":"https://api.github.com/users/erbridge/events{/privacy}","received_events_url":"https://api.github.com/users/erbridge/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T11:24:02Z","updated_at":"2016-08-19T11:24:02Z","body":"On first run of lime-qml built with this and the `go16` branch of `gopy`, I get this panic:\r\n\r\n```\r\nPanic in RunMain func: runtime error: hash of unhashable type func()\r\ngoroutine 1 [running, locked to thread]:\r\nruntime/debug.Stack(0x0, 0x0, 0x0)\r\n\t/usr/lib/go/src/runtime/debug/stack.go:24 +0x80\r\nruntime/debug.PrintStack()\r\n\t/usr/lib/go/src/runtime/debug/stack.go:16 +0x18\r\ngithub.com/limetext/qml-go.hookIdleTimer.func1.1()\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:253 +0xbf\r\npanic(0x861960, 0xc820658e50)\r\n\t/usr/lib/go/src/runtime/panic.go:443 +0x4e9\r\ngithub.com/limetext/qml-go.(*Common).On.func1()\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/qmlcommon.go:444 +0x281\r\ngithub.com/limetext/qml-go.RunMain(0xc820610960)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:110 +0x1b1\r\ngithub.com/limetext/qml-go.(*Common).On(0xc8202e1080, 0x8fb950, 0x9, 0x7bad20, 0xc820658e30)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/qmlcommon.go:449 +0x2da\r\ngithub.com/limetext/qml-go.(*Common).setAddr(0xc8202e1080, 0x2f5d730)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/qmlcommon.go:48 +0xe4\r\ngithub.com/limetext/qml-go.NewEngine.func1()\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/qmlengine.go:45 +0x6b\r\ngithub.com/limetext/qml-go.hookIdleTimer.func1(0xc82004fc38)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:257 +0x3e\r\ngithub.com/limetext/qml-go.hookIdleTimer()\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:258 +0x1a3\r\ngithub.com/limetext/qml-go._cgoexpwrap_838a2abd9f94_hookIdleTimer()\r\n\t??:0 +0x14\r\ngithub.com/limetext/qml-go._Cfunc_applicationExec()\r\n\t??:0 +0x36\r\ngithub.com/limetext/qml-go.RunArgs(0xc82000a2d0, 0x1, 0x1, 0xc820391b50, 0x0, 0x0)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:98 +0x347\r\ngithub.com/limetext/qml-go.Run(0xc820391b50, 0x0, 0x0)\r\n\t/home/felix/dev/golang/src/github.com/limetext/qml-go/bridge.go:58 +0x51\r\nmain.initFrontend()\r\n\t/home/felix/dev/golang/src/github.com/limetext/lime-qml/main/frontend.go:63 +0x10a\r\nmain.main()\r\n\t/home/felix/dev/golang/src/github.com/limetext/lime-qml/main/main.go:34 +0x12d\r\nfatal error: concurrent map writes\r\n```"}}
{"actor":{"display_login":"erbridge"}}