We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get this:
go-safer ./... 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=0x2 addr=0x0 pc=0x103062754] goroutine 291 [running]: go/types.(*Checker).handleBailout(0x14000502c00, 0x14000751c38) /usr/local/go/src/go/types/check.go:367 +0x9c panic({0x103232520?, 0x10342bcc0?}) /usr/local/go/src/runtime/panic.go:770 +0x124 go/types.(*StdSizes).Sizeof(0x0, {0x103285710, 0x10342f940}) /usr/local/go/src/go/types/sizes.go:228 +0x314 go/types.(*Config).sizeof(...) /usr/local/go/src/go/types/sizes.go:333 go/types.representableConst.func1({0x103285710?, 0x10342f940?}) /usr/local/go/src/go/types/const.go:76 +0x9c go/types.representableConst({0x103287450, 0x1034245a0}, 0x14000502c00, 0x10342f940, 0x1400012bc68) /usr/local/go/src/go/types/const.go:106 +0x2b0 go/types.(*Checker).conversion.func1({0x103285710?, 0x10342f940?}, 0x1400012bc68) /usr/local/go/src/go/types/conversions.go:24 +0x74 go/types.(*Checker).conversion(0x14000502c00, 0x1400012bc40, {0x103285710, 0x10342f940}) /usr/local/go/src/go/types/conversions.go:44 +0x18c go/types.(*Checker).callExpr(0x14000502c00, 0x1400012bc40, 0x140004e8040) /usr/local/go/src/go/types/call.go:224 +0xa54 go/types.(*Checker).exprInternal(0x14000502c00, 0x0, 0x1400012bc40, {0x103286758, 0x140004e8040}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1374 +0xd0 go/types.(*Checker).rawExpr(0x14000502c00, 0x0, 0x1400012bc40, {0x103286758?, 0x140004e8040?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:979 +0x12c go/types.(*Checker).expr(0x14000502c00, 0x16?, 0x1400012bc40, {0x103286758?, 0x140004e8040?}) /usr/local/go/src/go/types/expr.go:1513 +0x38 go/types.(*Checker).unary(0x14000502c00, 0x1400012bc40, 0x140007ae140) /usr/local/go/src/go/types/expr.go:127 +0x44 go/types.(*Checker).exprInternal(0x14000502c00, 0x0, 0x1400012bc40, {0x103286a88, 0x140007ae140}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1406 +0x1328 go/types.(*Checker).rawExpr(0x14000502c00, 0x0, 0x1400012bc40, {0x103286a88?, 0x140007ae140?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:979 +0x12c go/types.(*Checker).expr(0x14000502c00, 0x6?, 0x1400012bc40, {0x103286a88?, 0x140007ae140?}) /usr/local/go/src/go/types/expr.go:1513 +0x38 go/types.(*Checker).binary(0x14000502c00, 0x1400012bc40, {0x103286a58, 0x14000724150}, {0x103286a88, 0x140007ae140}, {0x103286f68, 0x140007ae160}, 0x15, 0x931c) /usr/local/go/src/go/types/expr.go:783 +0x70 go/types.(*Checker).exprInternal(0x14000502c00, 0x0, 0x1400012bc40, {0x103286a58, 0x14000724150}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1416 +0x1d4 go/types.(*Checker).rawExpr(0x14000502c00, 0x0, 0x1400012bc40, {0x103286a58?, 0x14000724150?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:979 +0x12c go/types.(*Checker).exprInternal(0x14000502c00, 0x0, 0x1400012bc40, {0x1032866c8, 0x140007ae180}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1320 +0x150 go/types.(*Checker).rawExpr(0x14000502c00, 0x0, 0x1400012bc40, {0x1032866c8?, 0x140007ae180?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:979 +0x12c go/types.(*Checker).expr(0x14000502c00, 0x1030071c0?, 0x1400012bc40, {0x1032866c8?, 0x140007ae180?}) /usr/local/go/src/go/types/expr.go:1513 +0x38 go/types.(*Checker).binary(0x14000502c00, 0x1400012bc00, {0x103286a58, 0x14000724180}, {0x103286f68, 0x140007ae0e0}, {0x1032866c8, 0x140007ae180}, 0x14, 0x930f) /usr/local/go/src/go/types/expr.go:784 +0x88 go/types.(*Checker).exprInternal(0x14000502c00, 0x0, 0x1400012bc00, {0x103286a58, 0x14000724180}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1416 +0x1d4 go/types.(*Checker).rawExpr(0x14000502c00, 0x0, 0x1400012bc00, {0x103286a58?, 0x14000724180?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:979 +0x12c go/types.(*Checker).expr(0x14000502c00, 0x1400045a0f0?, 0x1400012bc00, {0x103286a58?, 0x14000724180?}) /usr/local/go/src/go/types/expr.go:1513 +0x38 go/types.(*Checker).constDecl(0x14000502c00, 0x14000723680, {0x0, 0x0}, {0x103286a58, 0x14000724180}, 0x0) /usr/local/go/src/go/types/decl.go:488 +0x23c go/types.(*Checker).objDecl(0x14000502c00, {0x103289d78, 0x14000723680}, 0x0) /usr/local/go/src/go/types/decl.go:191 +0x84c go/types.(*Checker).packageObjects(0x14000502c00) /usr/local/go/src/go/types/resolver.go:693 +0x468 go/types.(*Checker).checkFiles(0x14000502c00, {0x14000218918, 0x3, 0x3}) /usr/local/go/src/go/types/check.go:408 +0x164 go/types.(*Checker).Files(...) /usr/local/go/src/go/types/check.go:372 golang.org/x/tools/go/packages.(*loader).loadPackage(0x1400015c0c0, 0x14000134c60) /Users/Marcello/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:881 +0x5d0 golang.org/x/tools/go/packages.(*loader).loadRecursive.func1() /Users/Marcello/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:728 +0x178 sync.(*Once).doSlow(0x0?, 0x0?) /usr/local/go/src/sync/once.go:74 +0x100 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:65 golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?) /Users/Marcello/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:716 +0x50 golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?) /Users/Marcello/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:723 +0x30 created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 289 /Users/Marcello/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:722 +0x84
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get this:
The text was updated successfully, but these errors were encountered: