-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: unexpected fault address in math/big #14591
Comments
Happened on the openbsd build bot: http://build.golang.org/log/4125d6f78c1da04049cd603fea2a012e53849b76
|
I have been able to reproduce this using: $ cd crypto/tls My suspicions lie in Verify (crypto/ecdsa/ecdsa.go:238), I think something is not being kept live that should be. The relevant code:
That new(big.Int) gets allocated on the stack. It's a tricky case to get right, as on the other branch of the if it never gets initialized. Is it marked as live at the next call? That's next up in the investigation. |
My suspicion was wrong. Very painful binary search fingers SSA compilation of (*CurveParams).affineFromJacobian Maybe related to #14725 |
CL https://golang.org/cl/20457 mentions this issue. |
See http://build.golang.org/log/1b98f2faca78eb97adbd218ad62fb20d3b62d8e8. But it happened only once on the freebsd-race buildbot.
The text was updated successfully, but these errors were encountered: