Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic possible on sending from closed channel during high-volume readstream #482

Open
edaniszewski opened this issue Jan 12, 2021 · 0 comments

Comments

@edaniszewski
Copy link
Contributor

This was captured in the backgrorund, so there isn't much context around what exactly was running at the time, the throughput, etc, but looks like when there was A LOT of data streaming through, this happened once:

time="2021-01-11T01:15:28.596Z" level=info msg="closing read stream" id=1bc95670-c4a3-4b8a-94fc-28225fa67782
panic: send on closed channel

goroutine 425 [running]:
github.com/vapor-ware/synse-sdk/sdk.(*ReadStream).listen(0xc000618880)
	/go/pkg/mod/github.com/vapor-ware/[email protected]/sdk/stream.go:53 +0x4ba
created by github.com/vapor-ware/synse-sdk/sdk.(*server).ReadStream
	/go/pkg/mod/github.com/vapor-ware/[email protected]/sdk/server.go:530 +0xa09

will need additional investigation and RCA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant