-
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
syscall: (*LazyProc).Call does not keep arguments alive (anymore) [1.13 backport] #34642
Comments
@FiloSottile I'm curious your thoughts here. https://go-review.googlesource.com/c/go/+/198043 fixes direct calls to LazyProc.Call. It's minimal and safe and fixes the regression that was introduced in Go 1.8. However, in #34684, I'm currently waiting for a decision on whether we support indirect call to LazyProc.Call too. If we do (which I don't think we handled correctly even back in Go 1.7), a somewhat more invasive fix will be necessary. I'm somewhat inclined to proceed with CL 198043 as-is for now, and backport just that to Go 1.13. And then if we do decide to support indirect LazyProc.Call calls, it's okay to just fix that in Go 1.14 without backporting. |
I'm fairly certain that indirect calls to |
Change https://golang.org/cl/205244 mentions this issue: |
There is insufficient justification to backport this. |
@zx2c4 requested issue #34474 to be considered for backport to the next 1.13 minor release.
The text was updated successfully, but these errors were encountered: