You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I found that fastping could panic when call RemoveIP() in other goroutine: fastping fatal error: concurrent map iteration and map write
The panic point in sendICMP():
...
for key, addr := range p.addrs {
...
Which an unprotected p.addrs in concurrent enviroment.
So when I was running p.RunLoop() without p.Stop(), and call p.RemoveIP() in another goroutine.
A panic will happen: fastping fatal error: concurrent map iteration and map write
The text was updated successfully, but these errors were encountered:
Hi
I found that fastping could panic when call RemoveIP() in other goroutine:
fastping fatal error: concurrent map iteration and map write
The panic point in sendICMP():
Which an unprotected p.addrs in concurrent enviroment.
So when I was running p.RunLoop() without p.Stop(), and call p.RemoveIP() in another goroutine.
A panic will happen:
fastping fatal error: concurrent map iteration and map write
The text was updated successfully, but these errors were encountered: