You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x/tools/gopls: EXCEPTION_ACCESS_VIOLATION panic in Signature.RecvTypeParams #81102
Possible memory corruption? sig is either nil (impossible for a method) or invalid (due to hardware fault).
More concerning is the apparent off-by-one line numbering.
sig, _:=m.Type().(*types.Signature)
// Receiver type parameters are type arguments of the receiver type, so// their name must be qualified before exporting recv.ifrparams:=sig.RecvTypeParams(); rparams.Len() >0 {
Use this command to reproduce the executable: (HOME=$(mktemp -d); GOOS=windows GOARCH=amd64 GOTOOLCHAIN=go1.25.7 go install golang.org/x/tools/gopls@v0.21.1 && find $HOME/go/bin -type f)
To disassemble: go tool objdump exe | less
Dups: d9TIig
Use this command to reproduce the executable: (HOME=$(mktemp -d); GOOS=windows GOARCH=amd64 GOTOOLCHAIN=go1.25.7 go install golang.org/x/tools/gopls@v0.21.1 && find $HOME/go/bin -type f)
To disassemble: go tool objdump exe | less
Activity
adonovan commentedon Aug 25, 2026
Found new stacks for predicate:
This stack
d9TIigwas reported by telemetry:gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35,+0x40dgolang.org/x/tools/gopls/internal/util/bug.Reportf:+1,+0x24golang.org/x/tools/internal/gcimporter.iexportCommon.func1:+4,+0x67runtime.gopanic:+50,+0x131runtime.panicmem:=262,+0x197runtime.sigpanic:+9,+0x167go/types.(*Signature).RecvTypeParams:=112,+0x999golang.org/x/tools/internal/gcimporter.(*iexporter).doDecl:+132,+0x9b6golang.org/x/tools/internal/gcimporter.iexportCommon:+62,+0x39cgolang.org/x/tools/internal/gcimporter.IExportShallow:+8,+0x73golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackageForImport.func3:+1,+0x49runtime.goexit:+0,+0x0Use this command to reproduce the executable:
(HOME=$(mktemp -d); GOOS=windows GOARCH=amd64 GOTOOLCHAIN=go1.25.7 go install golang.org/x/tools/gopls@v0.21.1 && find $HOME/go/bin -type f)To disassemble:
go tool objdump exe | lessgopherbot commentedon Aug 25, 2026
Change https://go.dev/cl/821200 mentions this issue:
x/tools: assert that *types.Signature is non-nilx/tools: assert that *types.Signature is non-nil