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

go-fastping randomly crash with panic: close of closed channel #36

Open
mateuszbbb opened this issue Jun 18, 2018 · 0 comments
Open

go-fastping randomly crash with panic: close of closed channel #36

mateuszbbb opened this issue Jun 18, 2018 · 0 comments

Comments

@mateuszbbb
Copy link

Got random panic errors. Any way to fix this?

`time="2018-06-18T22:55:32+02:00" level=debug msg="Pinger iteration finished"
panic: close of closed channel

goroutine 10 [running]:
github.com/tatsushid/go-fastping.(*Pinger).run(0xc4202842d0, 0xc42010ce01)
/usr/local/src/go/src/github.com/tatsushid/go-fastping/fastping.go:479 +0x7c4
github.com/tatsushid/go-fastping.(*Pinger).Run(0xc4202842d0, 0x0, 0x0)
/usr/local/src/go/src/github.com/tatsushid/go-fastping/fastping.go:329 +0xee
main.ping_hosts_single(0xc4202c2dc0)
/usr/local/src/go/src/nlbhealthmonitor/main.go:261 +0xca
main.is_icmp_status_ok(0xc420210081)
/usr/local/src/go/src/nlbhealthmonitor/main.go:217 +0x37
`

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