-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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).basicLit:+1"
Issue created by stacks.
The BasicLit pointer is nil or invalid.
This stack 84VhpQ was reported by telemetry:
crash/crashruntime.throw:+9,+0x47runtime.sigpanic:+33,+0x26bgo/types.(*Checker).basicLit:+1,+0x2fgo/types.(*Checker).exprInternal:+19,+0x19ego/types.(*Checker).rawExpr:+10,+0x18bgo/types.(*Checker).expr:+1,+0x2fgo/types.(*Checker).binary:+4,+0xcbgo/types.(*Checker).exprInternal:+134,+0x8e4go/types.(*Checker).rawExpr:+10,+0x18bgo/types.(*Checker).expr:+1,+0x2fgo/types.(*Checker).stmt:+200,+0x10cego/types.(*Checker).stmtList:+9,+0x84go/types.(*Checker).funcBody:+24,+0x310go/types.(*Checker).funcDecl.func1:+1,+0x39go/types.(*Checker).processDelayed:+18,+0x1e1go/types.(*Checker).checkFiles:+32,+0x2f8
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