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?
to your account
Seen during an unrelated trybot run on linux-amd64-race builder.
=== RUN TestRaceChanCloseSend
WARNING: DATA RACE
Read by goroutine 60:
Previous write by goroutine 59:
Goroutine 60 (running) created at:
Goroutine 59 (running) created at:
--- FAIL: TestRaceChanCloseSend (0.00s)
The text was updated successfully, but these errors were encountered:
On freebsd-amd64-race builder: http://build.golang.org/log/70e1fc51b96bbac00e875f6c8ca3305dc1c39c12
Sorry, something went wrong.
CL https://golang.org/cl/18968 mentions this issue.
Reopening because that CL can only explain false negatives. This is a false positive.
This test sends on a closed chan. The intention is that only the race is reported but no panic happens, but in this case it actually paniced. It is a legit outcome. Again due to unexpected scheduling order.
No branches or pull requests