-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/memory-corruption"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)gopls/telemetry-wins
Milestone
Description
#!stacks
"sigpanic" && "go/types.(*Checker).typInternal:+20"
Issue created by stacks.
This stack Ur-FdQ was reported by telemetry:
crash/crashruntime.throw:+9,+0x47runtime.sigpanic:+33,+0x26bgo/types.(*Checker).typInternal:+20,+0x15bgo/types.(*Checker).definedType:+1,+0x2ego/types.(*Checker).varType:+1,+0x24go/types.(*Checker).typInternal:+132,+0xd84go/types.(*Checker).definedType:+1,+0x2ego/types.(*Checker).varType:+1,+0x24go/types.(*Checker).structType:+46,+0x186go/types.(*Checker).typInternal:+99,+0x1d0go/types.(*Checker).definedType:+1,+0x2ego/types.(*Checker).typeDecl:+94,+0x52ago/types.(*Checker).objDecl:+150,+0x964go/types.(*Checker).packageObjects:+53,+0x4aego/types.(*Checker).checkFiles:+29,+0x284go/types.(*Checker).Files:+13,+0x74
golang.org/x/tools/gopls@v0.20.0 go1.25.0 linux/amd64 gopls.client=vscode (1)
Use this command to reproduce the executable:
(HOME=$(mktemp -d); GOOS=linux GOARCH=amd64 GOTOOLCHAIN=go1.25.0 go install golang.org/x/tools/gopls@v0.20.0 && find $HOME/go/bin -type f)
To disassemble: go tool objdump exe | less
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/memory-corruption"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)gopls/telemetry-wins