-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: panic: runtime error: invalid memory address or nil pointer dereference
with go1.22rc1
#64812
Comments
I see
I wonder if this is related |
@MadhavJivrajani Yes, see this for more details: #61035 (comment) |
Duplicated of #62167 |
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]>
Thanks @cuonglm! |
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]>
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]>
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: 18f057f9b74256d45138538a6168802fe96f5e65
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: ad5cf74325652795717d80940e0e04ed5b7c047d
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: b055126537b1e2b59890469dcfbf795596cc8556
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: 18f057f9b74256d45138538a6168802fe96f5e65
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: ad5cf74325652795717d80940e0e04ed5b7c047d
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: b055126537b1e2b59890469dcfbf795596cc8556
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: 18f057f9b74256d45138538a6168802fe96f5e65
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: ad5cf74325652795717d80940e0e04ed5b7c047d
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: b055126537b1e2b59890469dcfbf795596cc8556
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: 18f057f9b74256d45138538a6168802fe96f5e65
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: ad5cf74325652795717d80940e0e04ed5b7c047d
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: b055126537b1e2b59890469dcfbf795596cc8556
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: ad5cf74325652795717d80940e0e04ed5b7c047d
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]> Kubernetes-commit: b055126537b1e2b59890469dcfbf795596cc8556
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]>
* golang 1.22.x support (golang/go#64812) * protobuf: fix CVE-2024-24786
Bumping tools to include the fix for a nil pointer deref error in go/types. See golang/go#64812 for more details. This fix is needed for when we bump to go1.22. Signed-off-by: Madhav Jivrajani <[email protected]>
Mockery is currenty failing on 1.22 due to golang/go#64812
Mockery is currently failing on go 1.22 on Linux due to golang/go#64812 tl;dr, changes in go 1.22 break the popular `x/tools/go/packages.Load` tool, which Mockery uses. Upgrading our tools' `x/tools` (to latest) resolves it, and appears to work fine for go 1.19 and above on both Linux and OSX, and has zero effect on our users.
Go version
go version go1.22rc1 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Started testing Kubernetes with go1.22rc1.
Ref: kubernetes/kubernetes#122410
Steps to reproduce the error:
Clone Kubernetes
Run test
In the root of the repo:
What did you expect to see?
I expected the test to work as before without the panic.
If you run the same test with go1.21.5:
This should pass.
What did you see instead?
On running
You should see:
PS - we get the same result on linux/amd64 as well: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/122410/pull-kubernetes-typecheck/1737348733923758080
The text was updated successfully, but these errors were encountered: