{"action":"opened","issue":{"url":"https://api.github.com/repos/camlistore/camlistore/issues/563","labels_url":"https://api.github.com/repos/camlistore/camlistore/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/camlistore/camlistore/issues/563/comments","events_url":"https://api.github.com/repos/camlistore/camlistore/issues/563/events","html_url":"https://github.com/camlistore/camlistore/issues/563","id":53982605,"number":563,"title":"panic: send on closed channel","user":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-01-11T05:37:23Z","updated_at":"2015-01-11T05:37:23Z","closed_at":null,"body":"```\r\npanic: send on closed channel\r\n\r\ngoroutine 53 [running]:\r\ncamlistore.org/pkg/search.(*wsHub).run(0xc208d34180)\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/pkg/search/websocket.go:85 +0x685\r\ncreated by camlistore.org/pkg/search.NewHandler\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/pkg/search/handler.go:89 +0x341\r\n\r\ngoroutine 1 [chan send (nil chan)]:\r\nmain.Main(0x0, 0x0)\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/server/camlistored/camlistored.go:415 +0x131a\r\nmain.main()\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/server/camlistored/camlistored.go:317 +0x30\r\n\r\ngoroutine 51 [chan receive]:\r\nmain.handleSignals(0xc2088c8120)\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/server/camlistored/camlistored.go:244 +0x294\r\ncreated by main.Main\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/server/camlistored/camlistored.go:340 +0x67b\r\n\r\ngoroutine 52 [chan receive]:\r\ncamlistore.org/pkg/server.(*SyncHandler).runSync(0xc20850ab00, 0xe88800, 0x4, 0xc209100000, 0x0)\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/pkg/server/sync.go:514 +0x43f\r\ncamlistore.org/pkg/server.(*SyncHandler).syncLoop(0xc20850ab00)\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/pkg/server/sync.go:530 +0xc3\r\ncreated by camlistore.org/pkg/server.newSyncFromConfig\r\n        /home/bradfitz/src/camlistore.org/tmp/build-gopath/src/camlistore.org/pkg/server/sync.go:188 +0xa10\r\n\r\ngoroutine 50 [syscall]:\r\nos/signal.loop()\r\n        /home/bradfitz/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init·1\r\n        /home/bradfitz/go/src/os/signal/signal_unix.go:27 +0x35\r\n\r\ngoroutine 49 [syscall, locked to thread]:\r\nruntime.goexit()\r\n        /home/bradfitz/go/src/runtime/asm_amd64.s:2232 +0x1\r\n```"}}