Closed AlexsJones closed 2 years ago
hello Alex
i tried to build using go1.18.1 on a darwin/arm64
and that seems fine
$ go version
go version go1.18.1 darwin/arm64
$ make policy-tester
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/core/proto/core.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_stdio.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/plugin.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/identity.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing.pb.go
CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=05108e3 -X sigs.k8s.io/release-utils/version.gitCommit=05108e3476df8d9078d7cbc3d181f0060dd23df8 -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate=2022-07-07T22:02:20Z" -o policy-tester ./cmd/tester
$ ./policy-tester
Usage of ./policy-tester:
-image string
image to compare against policy
-policy string
path to ClusterImagePolicy
Looks like an actual bug in 1.18.1
It provides non-deterministic build output
❯ make policy-tester
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/core/proto/core.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_stdio.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/plugin.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/identity.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing.pb.go
CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=05108e3 -X sigs.k8s.io/release-utils/version.gitCommit=05108e3476df8d9078d7cbc3d181f0060dd23df8 -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate=2022-07-07T22:02:20Z" -o policy-tester ./cmd/tester
# google.golang.org/grpc/internal/transport
../../.gvm/pkgsets/go1.18.1/global/pkg/mod/google.golang.org/grpc@v1.47.0/internal/transport/http2_server.go:1035:85: undefined:
# net/http/pprof
unexpected fault address 0x8cccfc
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8cccfc pc=0x1043aa5d8]
goroutine 52 [running]:
runtime.throw({0x1047ffff7?, 0x1043aa524?})
/Users/alexjones/.gvm/gos/go1.18.1/src/runtime/panic.go:992 +0x50 fp=0x1400080d240 sp=0x1400080d210 pc=0x1040837a0
runtime.sigpanic()
/Users/alexjones/.gvm/gos/go1.18.1/src/runtime/signal_unix.go:825 +0x1a4 fp=0x1400080d270 sp=0x1400080d240 pc=0x10409a634
cmd/compile/internal/ssa.(*regAllocState).addUse(0x14000637500?, 0x3b?, 0x19?, {0x0?, 0x0?})
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:744 +0x138 fp=0x1400080d2d0 sp=0x1400080d280 pc=0x1043aa5d8
cmd/compile/internal/ssa.(*regAllocState).regalloc(0x14000637500, 0x14000576700)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:908 +0x67a0 fp=0x1400080de40 sp=0x1400080d2d0 pc=0x1043b15d0
cmd/compile/internal/ssa.regalloc(0x14000576700?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:148 +0x44 fp=0x1400080de80 sp=0x1400080de40 pc=0x1043a7654
cmd/compile/internal/ssa.Compile(0x14000576700)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0 fp=0x14000811b00 sp=0x1400080de80 pc=0x104350b30
cmd/compile/internal/ssagen.buildssa(0x14000125a20, 0x2)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88 fp=0x14000811e80 sp=0x14000811b00 pc=0x10462f928
cmd/compile/internal/ssagen.Compile(0x14000125a20, 0x1047dae08?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30 fp=0x14000811f50 sp=0x14000811e80 pc=0x104626850
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:153 +0x40 fp=0x14000811f90 sp=0x14000811f50 pc=0x1047dacd0
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:140 +0x4c fp=0x14000811fd0 sp=0x14000811f90 pc=0x1047dae1c
runtime.goexit()
/Users/alexjones/.gvm/gos/go1.18.1/src/runtime/asm_arm64.s:1259 +0x4 fp=0x14000811fd0 sp=0x14000811fd0 pc=0x1040b4ca4
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x1400043bd50?)
/Users/alexjones/.gvm/gos/go1.18.1/src/runtime/sema.go:56 +0x2c
sync.(*WaitGroup).Wait(0x1400043bd50)
/Users/alexjones/.gvm/gos/go1.18.1/src/sync/waitgroup.go:136 +0x88
cmd/compile/internal/gc.compileFunctions()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:165 +0x1e0
cmd/compile/internal/gc.Main(0x104a3f120)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/main.go:310 +0x1170
main.main()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/main.go:55 +0xf8
goroutine 12 [runnable]:
runtime.Gosched(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/runtime/proc.go:317
cmd/compile/internal/abi.(*ABIParamResultInfo).preAllocateParams(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/abi/abiutils.go:335
cmd/compile/internal/abi.(*ABIConfig).ABIAnalyzeFuncType(0x140000ee800, 0x140008ceae0)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/abi/abiutils.go:390 +0x124
cmd/compile/internal/abi.(*ABIConfig).ABIAnalyze(0x140000e6900?, 0x140007fcfc0?, 0x60?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/abi/abiutils.go:432 +0x48
cmd/compile/internal/ssagen.(*state).call(0x140000e6900, 0x14000ab6120, 0x48?, 0x0)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:5026 +0x7a8
cmd/compile/internal/ssagen.(*state).callResult(0x140000e6900?, 0x0?, 0x40?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:4931 +0x24
cmd/compile/internal/ssagen.(*state).exprCheckPtr(0x140000e6900, {0x104a46c88?, 0x14000ab6120?}, 0x1)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:3207 +0x15b0
cmd/compile/internal/ssagen.(*state).expr(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:2560
cmd/compile/internal/ssagen.(*state).stmt(0x140000e6900, {0x104a468a0, 0x14000ab06e0?})
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1633 +0xa80
cmd/compile/internal/ssagen.(*state).stmtList(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x140000e6900, {0x104a47908, 0x14000d245b0?})
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1703 +0x3784
cmd/compile/internal/ssagen.(*state).stmtList(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x140000e6900, {0x104a488a8, 0x14000ab8770?})
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1875 +0x31d4
cmd/compile/internal/ssagen.(*state).stmtList(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.buildssa(0x140003906e0, 0x1)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:582 +0x1b7c
cmd/compile/internal/ssagen.Compile(0x140003906e0, 0x1047dae08?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 50 [runnable]:
cmd/compile/internal/ssa.(*regAllocState).regspec(0x140004a0c00?, 0x14000b0b360)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:812 +0x398
cmd/compile/internal/ssa.(*regAllocState).computeLive(0x140004a0c00)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:2572 +0xfdc
cmd/compile/internal/ssa.(*regAllocState).init(0x140004a0c00, 0x140000eb340)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:680 +0x8b4
cmd/compile/internal/ssa.regalloc(0x140000eb340?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/regalloc.go:147 +0x38
cmd/compile/internal/ssa.Compile(0x140000eb340)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0
cmd/compile/internal/ssagen.buildssa(0x1400078c840, 0x0)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88
cmd/compile/internal/ssagen.Compile(0x1400078c840, 0x1047dae08?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 53 [runnable]:
cmd/compile/internal/ssa.StaticAuxCall(0x14000af0000?, 0x14000557c80?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssa/op.go:306 +0x114
cmd/compile/internal/ssagen.(*state).call(0x1400051b300, 0x14000c3e090, 0x20?, 0x0)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:5138 +0x1384
cmd/compile/internal/ssagen.(*state).callResult(0x1400051b300?, 0x0?, 0xe0?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:4931 +0x24
cmd/compile/internal/ssagen.(*state).exprCheckPtr(0x1400051b300, {0x104a46c88?, 0x14000c3e090?}, 0x1)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:3207 +0x15b0
cmd/compile/internal/ssagen.(*state).expr(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:2560
cmd/compile/internal/ssagen.(*state).stmt(0x1400051b300, {0x104a468a0, 0x14000d08d20?})
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1633 +0xa80
cmd/compile/internal/ssagen.(*state).stmtList(...)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.buildssa(0x14000390580, 0x3)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/ssa.go:582 +0x1b7c
cmd/compile/internal/ssagen.Compile(0x14000390580, 0x1047dae08?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 54 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 55 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 56 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 57 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 58 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
goroutine 59 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.1/src/cmd/compile/internal/gc/compile.go:138 +0x80
# github.com/prometheus/client_golang/prometheus
runtime: marked free object in span 0x128beb010, elemsize=80 freeindex=0 (bad use of unsafe.Pointer? try -d=checkptr)
0x14001968000 alloc marked
0x14001968050 alloc marked
0x140019680a0 free unmarked
0x140019680f0 alloc marked
0x14001968140 alloc marked
0x14001968190 alloc marked
0x140019681e0 alloc marked
0x14001968230 alloc marked
0x14001968280 alloc marked
0x140019682d0 alloc marked
0x14001968320 free unmarked
0x14001968370 free unmarked
0x140019683c0 free unmarked
0x14001968410 free unmarked
0x14001968460 alloc marked
0x140019684b0 alloc marked
0x14001968500 free unmarked
0x14001968550 alloc marked
0x140019685a0 alloc marked
0x140019685f0 alloc marked
0x14001968640 alloc marked
0x14001968690 free marked zombie
0x0000014001968690: 0x0014002000000032 0x0000000000000441
0x00000140019686a0: 0x0000014001962f50 0x0000000000000000
0x00000140019686b0: 0x0000000000000000 0x0000000000000000
0x00000140019686c0: 0x0000000000000000 0x00000001012f0268
0x00000140019686d0: 0x000001400195b450 0x0000000000000000
0x140019686e0 free unmarked
0x14001968730 free marked zombie
0x0000014001968730: 0x0014002000000032 0x0000000000000416
0x0000014001968740: 0x0000000000000000 0x0000000000000000
0x0000014001968750: 0x0000000000000000 0x00000001012f0970
0x0000014001968760: 0x0000014001958a80 0x0000000000000000
0x0000014001968770: 0x00000001012f0268 0x00000140003ea750
0x14001968780 alloc marked
0x140019687d0 alloc marked
0x14001968820 alloc marked
0x14001968870 alloc marked
0x140019688c0 alloc marked
0x14001968910 alloc marked
0x14001968960 alloc marked
0x140019689b0 alloc marked
0x14001968a00 alloc marked
0x14001968a50 alloc marked
0x14001968aa0 alloc marked
0x14001968af0 alloc marked
0x14001968b40 alloc marked
0x14001968b90 alloc marked
0x14001968be0 alloc marked
0x14001968c30 alloc marked
0x14001968c80 alloc marked
0x14001968cd0 alloc marked
0x14001968d20 alloc marked
0x14001968d70 alloc marked
0x14001968dc0 alloc marked
0x14001968e10 alloc marked
0x14001968e60 alloc marked
0x14001968eb0 alloc marked
0x14001968f00 alloc marked
0x14001968f50 alloc marked
0x14001968fa0 alloc marked
0x14001968ff0 alloc marked
0x14001969040 alloc marked
0x14001969090 alloc marked
0x140019690e0 alloc marked
0x14001969130 alloc marked
0x14001969180 alloc marked
0x140019691d0 alloc marked
0x14001969220 alloc marked
0x14001969270 free unmarked
0x140019692c0 free unmarked
0x14001969310 free unmarked
0x14001969360 alloc marked
0x140019693b0 alloc marked
0x14001969400 free unmarked
0x14001969450 alloc marked
0x140019694a0 alloc marked
0x140019694f0 alloc marked
0x14001969540 alloc marked
0x14001969590 alloc marked
0x140019695e0 alloc marked
0x14001969630 alloc marked
0x14001969680 alloc marked
0x140019696d0 alloc marked
0x14001969720 alloc marked
0x14001969770 alloc marked
0x140019697c0 alloc marked
0x14001969810 alloc marked
0x14001969860 alloc marked
0x140019698b0 alloc marked
0x14001969900 alloc marked
0x14001969950 alloc marked
0x140019699a0 alloc marked
0x140019699f0 alloc marked
0x14001969a40 alloc marked
0x14001969a90 alloc marked
0x14001969ae0 alloc marked
0x14001969b30 free unmarked
0x14001969b80 alloc marked
0x14001969bd0 alloc marked
0x14001969c20 alloc marked
0x14001969c70 alloc marked
0x14001969cc0 alloc marked
0x14001969d10 alloc marked
0x14001969d60 alloc marked
0x14001969db0 alloc marked
0x14001969e00 alloc marked
0x14001969e50 alloc marked
0x14001969ea0 alloc marked
0x14001969ef0 alloc marked
0x14001969f40 alloc marked
0x14001969f90 alloc marked
fatal error: found pointer to free object
interesting. but i would say update your go to the latest,which today is 1.18.3 next week they will release 1.18.4
Maybe it's an arm64 thing 😢
❯ gvm use go1.18.3
Now using version go1.18.3
☸ microk8s in policy-controller on main via 🐹 v1.18.3
❯ make policy-tester
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/core/proto/core.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/letsencrypt/boulder/sa/proto/sa.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_bsd.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_default.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_android.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/ifaddrs.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr/route_info_linux.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-uuid/uuid.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_stdio.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-rootcerts/rootcerts_base.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unix.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/go-secure-stdlib/mlock/mlock_unavail.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/plugin.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/logical/identity.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing_grpc.pb.go
./third_party/VENDOR-LICENSE/github.com/hashicorp/vault/sdk/helper/pluginutil/multiplexing.pb.go
CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=05108e3 -X sigs.k8s.io/release-utils/version.gitCommit=05108e3476df8d9078d7cbc3d181f0060dd23df8 -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate=2022-07-07T22:02:20Z" -o policy-tester ./cmd/tester
go: downloading github.com/sigstore/cosign v1.9.1-0.20220609115017-4cdc883eac63
go: downloading go.uber.org/zap v1.21.0
go: downloading github.com/google/go-containerregistry v0.10.0
go: downloading knative.dev/pkg v0.0.0-20220325200448-1f7514acd0c2
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20220413173345-f1b065c6cb3d
go: downloading github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7
go: downloading github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3
go: downloading github.com/sigstore/sigstore v1.2.1-0.20220610135223-ec8f2d403e07
go: downloading k8s.io/api v0.23.5
go: downloading k8s.io/apimachinery v0.23.5
go: downloading k8s.io/client-go v0.23.5
go: downloading github.com/aws/aws-sdk-go-v2 v1.16.7
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading go.uber.org/atomic v1.9.0
go: downloading go.uber.org/multierr v1.7.0
go: downloading github.com/coreos/go-oidc/v3 v3.2.0
go: downloading github.com/prometheus/client_golang v1.12.1
go: downloading github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795
go: downloading github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21
go: downloading github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20220301182634-bfe2ffc6b6bd
go: downloading github.com/docker/cli v20.10.16+incompatible
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
go: downloading github.com/blendle/zapdriver v1.3.1
go: downloading github.com/go-openapi/runtime v0.24.1
go: downloading github.com/go-openapi/strfmt v0.21.2
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/spf13/viper v1.12.0
go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading k8s.io/klog/v2 v2.60.1-0.20220317184644-43cc75f9ae89
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.1
go: downloading github.com/google/gofuzz v1.2.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/go-chi/chi v4.1.2+incompatible
go: downloading github.com/letsencrypt/boulder v0.0.0-20220331220046-b23ab962616e
go: downloading github.com/theupdateframework/go-tuf v0.3.0
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401
go: downloading gopkg.in/square/go-jose.v2 v2.6.0
go: downloading golang.org/x/net v0.0.0-20220607020251-c690dde0001d
go: downloading k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/common v0.32.1
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading google.golang.org/protobuf v1.28.0
go: downloading github.com/docker/docker-credential-helpers v0.6.4
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.11
go: downloading github.com/docker/distribution v2.8.1+incompatible
go: downloading github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
go: downloading github.com/go-openapi/errors v0.20.2
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/oklog/ulid v1.3.1
go: downloading go.mongodb.org/mongo-driver v1.8.3
go: downloading github.com/go-openapi/swag v0.21.1
go: downloading github.com/Azure/go-autorest/autorest v0.11.27
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading github.com/go-playground/validator/v10 v10.10.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74
go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
go: downloading github.com/secure-systems-lab/go-securesystemslib v0.4.0
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading cuelang.org/go v0.4.3
go: downloading github.com/in-toto/in-toto-golang v0.3.4-0.20211211042327-af1f9fb822bf
go: downloading github.com/google/go-cmp v0.5.8
go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20210823021906-dc406ceaf94b
go: downloading github.com/transparency-dev/merkle v0.0.1
go: downloading github.com/googleapis/gnostic v0.5.5
go: downloading github.com/google/uuid v1.3.0
go: downloading go.opencensus.io v0.23.0
go: downloading github.com/evanphx/json-patch/v5 v5.6.0
go: downloading gomodules.xyz/jsonpatch/v2 v2.2.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2
go: downloading github.com/fsnotify/fsnotify v1.5.4
go: downloading github.com/spf13/afero v1.8.2
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/evanphx/json-patch v4.12.0+incompatible
go: downloading github.com/spf13/pflag v1.0.5
go: downloading golang.org/x/time v0.0.0-20220609170525-579cf78fd858
go: downloading github.com/PaesslerAG/jsonpath v0.1.1
go: downloading github.com/docker/docker v20.10.16+incompatible
go: downloading golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68
go: downloading github.com/go-logr/logr v1.2.3
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/json-iterator/go v1.1.12
go: downloading cloud.google.com/go/compute v1.6.1
go: downloading github.com/aws/aws-sdk-go-v2/config v1.15.10
go: downloading github.com/aws/aws-sdk-go-v2/service/ecr v1.15.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.12.0
go: downloading github.com/aws/smithy-go v1.12.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading github.com/Azure/azure-sdk-for-go v65.0.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.18
go: downloading github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198
go: downloading github.com/go-openapi/validate v0.21.0
go: downloading github.com/go-openapi/analysis v0.21.2
go: downloading github.com/go-openapi/loads v0.21.1
go: downloading github.com/go-openapi/spec v0.20.4
go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
go: downloading cloud.google.com/go v0.100.2
go: downloading google.golang.org/grpc v1.47.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
go: downloading github.com/go-playground/universal-translator v0.18.0
go: downloading github.com/leodido/go-urn v1.2.1
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/spf13/cobra v1.4.0
go: downloading sigs.k8s.io/release-utils v0.6.0
go: downloading github.com/open-policy-agent/opa v0.40.0
go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.5
go: downloading github.com/Azure/go-autorest/logger v0.2.1
go: downloading github.com/dimchansky/utfbom v1.1.1
go: downloading github.com/google/certificate-transparency-go v1.1.2
go: downloading k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/kelseyhightower/envconfig v1.4.0
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d
go: downloading contrib.go.opencensus.io/exporter/prometheus v0.4.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/shibumi/go-pathspec v1.3.0
go: downloading github.com/subosito/gotenv v1.3.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.66.4
go: downloading github.com/magiconair/properties v1.8.6
go: downloading github.com/pelletier/go-toml/v2 v2.0.1
go: downloading github.com/PaesslerAG/gval v1.0.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.12.5
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.6
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.13
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.11.8
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.16.7
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/golang-jwt/jwt/v4 v4.3.0
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/go-openapi/jsonreference v0.19.6
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/go-playground/locales v0.14.0
go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/imdario/mergo v0.3.12
go: downloading github.com/go-stack/stack v1.8.1
go: downloading github.com/census-instrumentation/opencensus-proto v0.3.0
go: downloading google.golang.org/api v0.83.0
go: downloading github.com/prometheus/statsd_exporter v0.21.0
go: downloading github.com/cockroachdb/apd/v2 v2.0.1
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6
go: downloading google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6
go: downloading github.com/xanzy/go-gitlab v0.68.0
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/containerd/stargz-snapshotter/estargz v0.11.4
go: downloading github.com/jedisct1/go-minisign v0.0.0-20210703085342-c1f07ee84431
go: downloading github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de
go: downloading github.com/google/go-github/v42 v42.0.0
go: downloading github.com/go-kit/log v0.1.0
go: downloading github.com/klauspost/compress v1.15.4
go: downloading github.com/vbatts/tar-split v0.11.2
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-retryablehttp v0.7.1
go: downloading github.com/go-logfmt/logfmt v0.5.0
go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
go: downloading github.com/OneOfOne/xxhash v1.2.8
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/yashtewari/glob-intersection v0.1.0
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
# github.com/open-policy-agent/opa/internal/jwx/jwk
../../.gvm/pkgsets/go1.18.3/global/pkg/mod/github.com/open-policy-agent/opa@v0.40.0/internal/jwx/jwk/jwk.go:82:12: internal compiler error: 'parse': panic during tighten while compiling parse:
runtime error: index out of range [1] with length 0
goroutine 50 [running]:
cmd/compile/internal/ssa.Compile.func1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:50 +0x70
panic({0x104dbfa40, 0x14000c9d7a0})
/Users/alexjones/.gvm/gos/go1.18.3/src/runtime/panic.go:838 +0x204
cmd/compile/internal/ssa.(*lcaRange).find(0x1400067b800?, 0xe?, 0x14000329800?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/lca.go:110 +0x180
cmd/compile/internal/ssa.tighten(0x14000eaf6c0)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/tighten.go:87 +0x864
cmd/compile/internal/ssa.Compile(0x14000eaf6c0)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0
cmd/compile/internal/ssagen.buildssa(0x14000784f20, 0x3)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88
cmd/compile/internal/ssagen.Compile(0x14000784f20, 0x104b88e38?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:138 +0x80
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
# github.com/sigstore/rekor/pkg/generated/client/index
../../.gvm/pkgsets/go1.18.3/global/pkg/mod/github.com/sigstore/rekor@v0.4.1-0.20220114213500-23f583409af3/pkg/generated/client/index/search_index_parameters.go:134:1: internal compiler error: '(*SearchIndexParams).SetHTTPClient': panic during expand calls while compiling (*SearchIndexParams).SetHTTPClient:
runtime error: invalid memory address or nil pointer dereference
goroutine 79 [running]:
cmd/compile/internal/ssa.Compile.func1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:50 +0x70
panic({0x1055b1ca0, 0x105a9cfe0})
/Users/alexjones/.gvm/gos/go1.18.3/src/runtime/panic.go:838 +0x204
cmd/compile/internal/ssa.expandCalls(0x1400009cc40)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/expand_calls.go:1349 +0x228c
cmd/compile/internal/ssa.Compile(0x1400009cc40)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0
cmd/compile/internal/ssagen.buildssa(0x14000951e40, 0x2)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88
cmd/compile/internal/ssagen.Compile(0x14000951e40, 0x1053b8e38?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:138 +0x80
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
# contrib.go.opencensus.io/exporter/prometheus
../../.gvm/pkgsets/go1.18.3/global/pkg/mod/contrib.go.opencensus.io/exporter/prometheus@v0.4.0/prometheus.go:55:19: internal compiler error: 'NewExporter': panic during dse while compiling NewExporter:
runtime error: index out of range [32] with length 0
goroutine 10 [running]:
cmd/compile/internal/ssa.Compile.func1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:50 +0x70
panic({0x10335fa40, 0x140000a4dc8})
/Users/alexjones/.gvm/gos/go1.18.3/src/runtime/panic.go:838 +0x204
cmd/compile/internal/ssa.(*sparseMap).get(...)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/sparsemap.go:45
cmd/compile/internal/ssa.dse(0x1400053fc00)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/deadstore.go:98 +0xd94
cmd/compile/internal/ssa.Compile(0x1400053fc00)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0
cmd/compile/internal/ssagen.buildssa(0x140009fe2c0, 0x3)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88
cmd/compile/internal/ssagen.Compile(0x140009fe2c0, 0x103128e38?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
/Users/alexjones/.gvm/gos/go1.18.3/src/cmd/compile/internal/gc/compile.go:138 +0x80
this is on linux?
It's on MacOS. I haven't ruled out it being an issue with gvm
- will investigate
Thanks again /close
Description
The
make policy-tester
build faults on a dependency when usinggo1.18.1
onarm64
Example
Version
commit 05108e3476df8d9078d7cbc3d181f0060dd23df8 (HEAD -> main, origin/main, origin/HEAD)