Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

update controller-gen to 0.14.0  #155

Closed

Description

@kranurag7

I mostly develop/test things on a baremetal machine and the current version of controller-gen is breaking make generate target.

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa0de4f]

goroutine 130 [running]:
go/types.(*Checker).handleBailout(0xc000520e00, 0xc001549d40)
        /usr/local/go/src/go/types/check.go:367 +0x88
panic({0xbc7860?, 0x12b3880?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0xdc35d8, 0x12bc100})
        /usr/local/go/src/go/types/sizes.go:228 +0x30f
go/types.(*Config).sizeof(...)
        /usr/local/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0xdc35d8?, 0x12bc100?})
        /usr/local/go/src/go/types/const.go:76 +0x9e
go/types.representableConst({0xdc99b0, 0x1286fa0}, 0xc000520e00, 0x12bc100, 0xc001546ed8)
        /usr/local/go/src/go/types/const.go:106 +0x2c7
go/types.(*Checker).representation(0xc000520e00, 0xc00153d400, 0x12bc100)
        /usr/local/go/src/go/types/const.go:256 +0x65
go/types.(*Checker).representable(0xc000520e00, 0xc00153d400, 0x12bc100)
        /usr/local/go/src/go/types/const.go:239 +0x26
go/types.(*Checker).shift(0xc000520e00, 0xc00153d3c0, 0xc00153d400, {0xdc7750, 0xc000b28150}, 0x14)
        /usr/local/go/src/go/types/expr.go:650 +0x1eb
go/types.(*Checker).binary(0xc000520e00, 0xc00153d3c0, {0xdc7750, 0xc000b28150}, {0xdc7c60, 0xc000b23800}, {0xdc7c60, 0xc000b23820}, 0x14, 0xba541)
        /usr/local/go/src/go/types/expr.go:796 +0x150
go/types.(*Checker).exprInternal(0xc000520e00, 0x0, 0xc00153d3c0, {0xdc7750, 0xc000b28150}, {0x0, 0x0})
        /usr/local/go/src/go/types/expr.go:1416 +0x206
go/types.(*Checker).rawExpr(0xc000520e00, 0x0, 0xc00153d3c0, {0xdc7750?, 0xc000b28150?}, {0x0?, 0x0?}, 0x0)
        /usr/local/go/src/go/types/expr.go:979 +0x19e
go/types.(*Checker).expr(0xc000520e00, 0x0?, 0xc00153d3c0, {0xdc7750?, 0xc000b28150?})
        /usr/local/go/src/go/types/expr.go:1513 +0x30
go/types.(*Checker).constDecl(0xc000520e00, 0xc000fbede0, {0x0, 0x0}, {0xdc7750, 0xc000b28150}, 0x0)
        /usr/local/go/src/go/types/decl.go:488 +0x2f1
go/types.(*Checker).objDecl(0xc000520e00, {0xdcf140, 0xc000fbede0}, 0x0)
        /usr/local/go/src/go/types/decl.go:191 +0xa49

This issue tracks updating the same.

Activity

  1. added
    Container
    on Apr 20, 2024
  2. moved this from Backlog to Doing in Sovereign Cloud Stackon Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Container

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions