-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
AutomationIssues created by gopherbot or watchflakes automation.Issues created by gopherbot or watchflakes automation.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" && "types.(*Checker).ident:+4"
Issue created by stacks.
Similar to #76238, likely more memory corruption.
This stack pNXpPw was reported by telemetry:
crash/crashruntime.throw:+9,+0x47runtime.sigpanic:+33,+0x26bgo/types.(*Checker).ident:+4,+0x7fgo/types.(*Checker).typInternal:+26,+0x8c4go/types.(*Checker).definedType:+1,+0x2ego/types.(*Checker).varType:+1,+0x24go/types.(*Checker).collectParams:+17,+0x245go/types.(*Checker).funcType:+34,+0x1f5go/types.(*Checker).funcDecl:+18,+0xd1go/types.(*Checker).objDecl:+154,+0xa64go/types.(*Checker).ident:+54,+0x364go/types.(*Checker).exprInternal:+11,+0x9b7go/types.(*Checker).rawExpr:+10,+0x18bgo/types.(*Checker).genericExpr:+1,+0x3dgo/types.(*Checker).genericExprList:+77,+0xb6ago/types.(*Checker).callExpr:+134,+0x964
golang.org/x/tools/gopls@v0.21.0 go1.25.2 linux/amd64 gopls.client=other,vscode (1)
Use this command to reproduce the executable:
(HOME=$(mktemp -d); GOOS=linux GOARCH=amd64 GOTOOLCHAIN=go1.25.2 go install golang.org/x/tools/gopls@v0.21.0 && find $HOME/go/bin -type f)
To disassemble: go tool objdump exe | less
Metadata
Metadata
Assignees
Labels
AutomationIssues created by gopherbot or watchflakes automation.Issues created by gopherbot or watchflakes automation.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