-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: runtime panic due to bad devirtualization #43292
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
The issue is |
We weren't checking |
Change https://golang.org/cl/279352 mentions this issue: |
@kivikakk I believe CL 279352 should fix your issue. Can you try testing that for me please? In case you're not familiar with Gerrit, the procedure to fetch and checkout the change locally are:
(Other options are available if you click the "DOWNLOAD" link at golang.org/cl/279352, but they all amount to fetching that commit ref and then using some git command.) |
Fetching and compiling now, will report back shortly 👍 |
Success! The use case I reported in #42284 (comment) no longer panics: $ ~/Code/go/bin/go version
go version devel +00468b24ae Sun Dec 20 01:16:30 2020 -0800 darwin/arm64
$ ~/Code/go/bin/go run main.go
2020/12/20 20:41:45 online |
@kivikakk Great, thank you for confirming, and again for the report! I've submitted the fix. Cheers. |
This program should run without crashing, but currently panics at tip:
Based on test case reported by @kivikakk in #42284.
The text was updated successfully, but these errors were encountered: