-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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/telemetry-wins
Milestone
Description
#!stacks
"cache.assert" && "getPackageHandles:+93"
Issue created by stacks.
// Copy handles into the result map.
handles := make(map[PackageID]*packageHandle, len(b.nodes))
for _, v := range b.nodes {
assert(v.ph != nil, "nil handle") <--- here
handles[v.mp.ID] = v.ph
}
This stack DcqCUg
was reported by telemetry:
crash/crash
runtime.gopanic:+69
golang.org/x/tools/gopls/internal/cache.assert:=10
golang.org/x/tools/gopls/internal/cache.(*Snapshot).getPackageHandles:+93
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackage:+37
golang.org/x/tools/gopls/internal/cache.(*Snapshot).PackageDiagnostics:+28
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedFiles:+50
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot:+14
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1:+3
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.gowrap1:+16
runtime.goexit:+0
golang.org/x/tools/gopls@v0.17.1 go1.23.4 linux/amd64 vscode (1)
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/telemetry-wins