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
go/types: crash in unsafe.Offsetof #16902
Labels
Milestone
Comments
I recently touched sizes.go. Could be my fault. |
alandonovan
changed the title
x/tools/cmd/ssadump: crash on any input
go/types: crash in unsafe.Offsetof
Aug 29, 2016
Looks like Offsetof is very broken:
|
@josharian Checking out commit 133d231 just before the Sizeof cache removal (df9eeb1) seems to fix the problem. Assigning to you. |
Sorry for the delay on this. CL 28070 |
CL https://golang.org/cl/28070 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +0d23c28 Sat Aug 27 00:08:36 2016 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
The SSA representation of the program
What did you see instead?
panic: runtime error: index out of range
followed by a stack traceThe text was updated successfully, but these errors were encountered: