-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: checkptrAlignment crash on nil pointer #47430
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
Change https://golang.org/cl/338029 mentions this issue: |
@golang/release Do I need to do anything to make sure b39e0f4 is included in Go 1.17? It's a runtime bug that causes valid programs to sporadically fail, albeit only when checkptr is enabled (e.g., when the race detector or msan are used). |
@mdempsky It's marked as a release blocker which means Go 1.17 will not be released until the issue is resolved. This will probably block a second release candidate as well. |
I realize that I didn't answer the question explicitly. The @golang/release will ensure it is included in the Go 1.17 release. |
@mdempsky Is there more work to do on this issue, or is it resolved by the linked CL? |
@cagedmantis Thanks! @toothrot The issue is fixed by b39e0f4. I just reopened for discussion purposes to make sure it wasn't missed. I think we can close it if there's no procedural reason to keep it open any more. |
@mdempsky We've got it, thanks! |
With Go 1.17rc1 (and probably since 4bb0847), this program crashes when run with checkptr enabled (e.g., with -race):
Easy fix is adding an explicit
nil
check at the start ofcheckptrAlignment
.The text was updated successfully, but these errors were encountered: