806de4ac94
This could happen when a process disappeared while we were reading its file descriptor list. I was able to replicate the problem by running this in another terminal: while :; do for i in $(seq 10); do /bin/true & done >&/dev/null; wait >&/dev/null; done And then running the portlist tests thousands of times. Fixes #339. Signed-off-by: Avery Pennarun <apenwarr@tailscale.com> |
||
---|---|---|
.. | ||
netstat.go | ||
netstat_exec.go | ||
netstat_test.go | ||
poller.go | ||
portlist.go | ||
portlist_ios.go | ||
portlist_linux.go | ||
portlist_macos.go | ||
portlist_other.go | ||
portlist_test.go | ||
portlist_windows.go |