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
runtime: fatal error: bad pointer in write barrier on linux-s390x-ibm #15270
Comments
/cc @mundaym |
It looks like atomic.Storep1 on s390 generates a write barrier. On other platforms it does not (that's what Going a little further down, here's where the "bad pointer write" actually happened:
This is actually a scalar write (the zerosize global), but we're doing it using an atomic pointer write (yuck!). I'll send a CL. |
CL https://golang.org/cl/21993 mentions this issue. |
CL https://golang.org/cl/21994 mentions this issue. |
Make it clear that the point of this function stores a pointer *without* a write barrier. sed -i -e 's/Storep1/StorepNoWB/' $(git grep -l Storep1) Updates #15270. Change-Id: Ifad7e17815e51a738070655fe3b178afdadaecf6 Reviewed-on: https://go-review.googlesource.com/21994 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
See http://build.golang.org/log/0c4bb957f324e4371f4364878cc79d42c57187b5
/CC @aclements
The text was updated successfully, but these errors were encountered: