-
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" && "sa4011.run:+0,+0x0"
Issue created by stacks.
Obviously memory (or register) corruption.
This stack tgzFdw was reported by telemetry:
crash/crashruntime.throw:+9,+0x33runtime.sigpanic:+33,+0x213honnef.co/go/tools/staticcheck/sa4011.run:+0,+0x0golang.org/x/tools/gopls/internal/cache.(*action).exec.func6:+31,+0x7fgolang.org/x/tools/gopls/internal/cache.(*action).exec:+199,+0x7b3golang.org/x/tools/gopls/internal/cache.execActions.func1.1:+2,+0x47sync.(*Once).doSlow:+5,+0xdfsync.(*Once).Do:=69,+0x73golang.org/x/tools/gopls/internal/cache.execActions.func1:+2,+0x44runtime.goexit:+0,+0x3
golang.org/x/tools/gopls@v0.20.0 go1.25.1 darwin/arm64 gopls.client=vscode (1)
Use this command to reproduce the executable:
(HOME=$(mktemp -d); GOOS=darwin GOARCH=arm64 GOTOOLCHAIN=go1.25.1 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