{"action":"created","issue":{"url":"https://api.github.com/repos/nats-io/nats/issues/192","repository_url":"https://api.github.com/repos/nats-io/nats","labels_url":"https://api.github.com/repos/nats-io/nats/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/nats-io/nats/issues/192/comments","events_url":"https://api.github.com/repos/nats-io/nats/issues/192/events","html_url":"https://github.com/nats-io/nats/issues/192","id":158096845,"number":192,"title":"Panic when publishing","user":{"login":"dahankzter","id":171091,"avatar_url":"https://avatars.githubusercontent.com/u/171091?v=3","gravatar_id":"","url":"https://api.github.com/users/dahankzter","html_url":"https://github.com/dahankzter","followers_url":"https://api.github.com/users/dahankzter/followers","following_url":"https://api.github.com/users/dahankzter/following{/other_user}","gists_url":"https://api.github.com/users/dahankzter/gists{/gist_id}","starred_url":"https://api.github.com/users/dahankzter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahankzter/subscriptions","organizations_url":"https://api.github.com/users/dahankzter/orgs","repos_url":"https://api.github.com/users/dahankzter/repos","events_url":"https://api.github.com/users/dahankzter/events{/privacy}","received_events_url":"https://api.github.com/users/dahankzter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kozlovic","id":13736691,"avatar_url":"https://avatars.githubusercontent.com/u/13736691?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovic","html_url":"https://github.com/kozlovic","followers_url":"https://api.github.com/users/kozlovic/followers","following_url":"https://api.github.com/users/kozlovic/following{/other_user}","gists_url":"https://api.github.com/users/kozlovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovic/subscriptions","organizations_url":"https://api.github.com/users/kozlovic/orgs","repos_url":"https://api.github.com/users/kozlovic/repos","events_url":"https://api.github.com/users/kozlovic/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovic/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-06-02T09:29:50Z","updated_at":"2016-06-02T21:32:03Z","closed_at":null,"body":"I saw this by accident and have no idea really why. Just thought I would drop it here.\r\n\r\n```bash\r\npanic: sync: WaitGroup is reused before previous Wait has returned\r\n\r\ngoroutine 249599 [running]:\r\npanic(0x7eba60, 0xc83d589f70)\r\n\t/usr/local/go/src/runtime/panic.go:481 +0x3e6\r\nsync.(*WaitGroup).Wait(0xc8200598e8)\r\n\t/usr/local/go/src/sync/waitgroup.go:129 +0x114\r\ngithub.com/nats-io/nats.(*Conn).waitForExits(0xc820059800)\r\n\t/data/jenkins/jobs/tgm_ng deploy/workspace/vendor/src/github.com/nats-io/nats/nats.go:733 +0x6a\r\ngithub.com/nats-io/nats.(*Conn).doReconnect(0xc820059800)\r\n\t/data/jenkins/jobs/tgm_ng deploy/workspace/vendor/src/github.com/nats-io/nats/nats.go:1084 +0x25\r\ncreated by github.com/nats-io/nats.(*Conn).processOpErr\r\n\t/data/jenkins/jobs/tgm_ng deploy/workspace/vendor/src/github.com/nats-io/nats/nats.go:1232 +0x25f\r\n```"},"comment":{"url":"https://api.github.com/repos/nats-io/nats/issues/comments/223429065","html_url":"https://github.com/nats-io/nats/issues/192#issuecomment-223429065","issue_url":"https://api.github.com/repos/nats-io/nats/issues/192","id":223429065,"user":{"login":"kozlovic","id":13736691,"avatar_url":"https://avatars.githubusercontent.com/u/13736691?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovic","html_url":"https://github.com/kozlovic","followers_url":"https://api.github.com/users/kozlovic/followers","following_url":"https://api.github.com/users/kozlovic/following{/other_user}","gists_url":"https://api.github.com/users/kozlovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovic/subscriptions","organizations_url":"https://api.github.com/users/kozlovic/orgs","repos_url":"https://api.github.com/users/kozlovic/repos","events_url":"https://api.github.com/users/kozlovic/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovic/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T21:32:03Z","updated_at":"2016-06-02T21:32:03Z","body":"What about the client version? The stack shows that the client was trying to reconnect after processing an error. It can be after a socket read error, a parsing error or few other places. Unfortunately, we don't see what's the trigger. If you have restarted one of the server, that could be a valid reason for the client to try to reconnect. "}}
{"actor":{"display_login":"kozlovic"}}