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 can not give you the source as it is closed source. But maybe this helps you find the root cause:
Do you need additional info?
❯ refdir --verbose ./... 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=0x598faf] goroutine 39 [running]: go/types.(*Checker).handleBailout(0xc002cc4380, 0xc002cd9c30) /usr/local/go/src/go/types/check.go:404 +0x88 panic({0x725460?, 0x9bbbb0?}) /usr/local/go/src/runtime/panic.go:785 +0x132 go/types.(*StdSizes).Sizeof(0x0, {0x7f3030, 0x9bf900}) /usr/local/go/src/go/types/sizes.go:229 +0x30f go/types.(*Config).sizeof(...) /usr/local/go/src/go/types/sizes.go:334 go/types.representableConst.func1({0x7f3030?, 0x9bf900?}) /usr/local/go/src/go/types/const.go:77 +0x86 go/types.representableConst({0x7f4970, 0xc001380880}, 0xc002cc4380, 0x9bf900, 0xc002cd8a08) /usr/local/go/src/go/types/const.go:93 +0x173 go/types.(*Checker).representation(0xc002cc4380, 0xc0004d13c0, 0x9bf900) /usr/local/go/src/go/types/const.go:257 +0x65 go/types.(*Checker).implicitTypeAndValue(0xc002cc4380, 0xc0004d13c0, {0x7f3030, 0x9bf900}) /usr/local/go/src/go/types/expr.go:377 +0x2d7 go/types.(*Checker).assignment(0xc002cc4380, 0xc0004d13c0, {0x7f3030, 0x9bf900}, {0xc0013808b0, 0xf}) /usr/local/go/src/go/types/assignments.go:70 +0x451 go/types.(*Checker).arguments(0xc002cc4380, 0xc0004d0180, 0xc0004d12c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0xc0015a4580, ...}, ...) /usr/local/go/src/go/types/call.go:653 +0x1373 go/types.(*Checker).callExpr(0xc002cc4380, 0xc0004d1280, 0xc0004d0180) /usr/local/go/src/go/types/call.go:298 +0x705 go/types.(*Checker).exprInternal(0xc002cc4380, 0x0, 0xc0004d1280, {0x7f4460, 0xc0004d0180}, {0x0, 0x0}) /usr/local/go/src/go/types/expr.go:1410 +0xf8 go/types.(*Checker).rawExpr(0xc002cc4380, 0x0, 0xc0004d1280, {0x7f4460?, 0xc0004d0180?}, {0x0?, 0x0?}, 0x0) /usr/local/go/src/go/types/expr.go:981 +0x18c go/types.(*Checker).expr(0xc002cc4380, 0x0?, 0xc0004d1280, {0x7f4460?, 0xc0004d0180?}) /usr/local/go/src/go/types/expr.go:1549 +0x30 go/types.(*Checker).varDecl(0xc002cc4380, 0xc002cc2d80, {0xc001640200, 0x1, 0x1}, {0x0, 0x0}, {0x7f4460, 0xc0004d0180}) /usr/local/go/src/go/types/decl.go:513 +0x17b go/types.(*Checker).objDecl(0xc002cc4380, {0x7f76f8, 0xc002cc2d80}, 0x0) /usr/local/go/src/go/types/decl.go:188 +0x9a5 go/types.(*Checker).packageObjects(0xc002cc4380) /usr/local/go/src/go/types/resolver.go:714 +0x454 go/types.(*Checker).checkFiles(0xc002cc4380, {0xc001640008, 0x1, 0x1}) /usr/local/go/src/go/types/check.go:459 +0x15a go/types.(*Checker).Files(0xc00020a000?, {0xc001640008?, 0xc002cc2660?, 0x6?}) /usr/local/go/src/go/types/check.go:422 +0x75 golang.org/x/tools/go/packages.(*loader).loadPackage(0xc00020a000, 0xc000fc1440) /home/guettli/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:1044 +0x90a golang.org/x/tools/go/packages.(*loader).loadRecursive.func1() /home/guettli/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:851 +0x1a9 sync.(*Once).doSlow(0xc000150f98?, 0x405997?) /usr/local/go/src/sync/once.go:76 +0xb4 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:67 golang.org/x/tools/go/packages.(*loader).loadRecursive(0x67141e?, 0xc000150fd0?) /home/guettli/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:839 +0x3b golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?) /home/guettli/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:846 +0x26 created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 86 /home/guettli/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:845 +0x94
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can not give you the source as it is closed source. But maybe this helps you find the root cause:
Do you need additional info?
The text was updated successfully, but these errors were encountered: