-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: missed write barrier with race detector #12068
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
@aclements @RLH FYI, but I don't think this is the GC's fault. |
A more accurate description of my git-bisect attempts is that there have been a number of commits that made this occur with increasing frequency. Ranging from once every 20min of testing at the above commit to every 3-4 seconds with tip. These changes tend to be at a point where the gc has been tweaked. |
Variant that exits, for testing:
|
Fix in CL 13364. |
Thanks, @rsc! |
Reported on golang-dev by carl@stripe.com. This program, reduced from a much larger one, crashes due to GC missing objects when run under the race detector. Best suspect is missed write barrier in that mode.
Damian Gryski suggests perhaps the bug was introduced on github.com/golang/go/commit/8f34b25318e712a18c3847bb1cc3e8d87076c211.
The text was updated successfully, but these errors were encountered: