-
Notifications
You must be signed in to change notification settings - Fork 18k
sync: apparent deadlock in TestWaitGroupMisuse3 #35774
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
Comments
Hmm, the first failure predates CL 206180, so that can't be implicated. I don't see any other changes to |
I took a shot at pinning this down, but it appears present (on linux/amd64) in go1.13.3 and as long ago as go1.7.6 (the oldest I can easily cross-compile). It's possible that it's become more frequent. With
|
This hasn't happened since November 21. The failure was uncommon before then so this doesn't prove that it's been fixed. But it could have been fixed by https://golang.org/cl/208379, committed November 22. CC @mknyszek . |
When there are concurrent calls to |
Ah, never mind, it's a lot simpler than that. If one of the helper goroutines panics, the main goroutine's |
Change https://golang.org/cl/210218 mentions this issue: |
Looks like there has been a recent regression in
sync.TestWaitGroupMisuse3
.It's not obvious to me whether this is a bug in the test itself, or a bug in the runtime (or the
sync
package) exposed by the test.2019-11-21T23:15:28-bbbc658/linux-amd64-noopt
2019-11-03T01:44:46-d2c039f/openbsd-amd64-62
2019-11-01T07:59:09-5b31021/linux-386-387
CC @aclements @ianlancetaylor @cherrymui @rhysh @CAFxX
The text was updated successfully, but these errors were encountered: