Open
Description
#!stacks
"panicdottypeE" && "persistent.(*Map[...]).Get:=182"
Issue created by stacks.
// Get returns the map value associated with the specified key.
// The ok result indicates whether an entry was found in the map.
func (pm *Map[K, V]) Get(key K) (V, bool) {
node := pm.root
for node != nil {
if key < node.key.(K) { <--------- panic
node = node.left
} else if node.key.(K) < key {
node = node.right
} else {
return node.value.value.(V), true
}
}
var zero V
return zero, false
}
This stack BPhXeQ
was reported by telemetry:
crash/crash
runtime.gopanic:+69
runtime.panicdottypeE:+1
golang.org/x/tools/gopls/internal/util/persistent.(*Map[...]).Get:=182
golang.org/x/tools/gopls/internal/cache.(*packageHandleBuilder).evaluatePackageHandle:+2
golang.org/x/tools/gopls/internal/cache.(*Snapshot).getPackageHandles.func2.1:+8
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/[email protected] go1.23.4 linux/amd64 vscode (1)
Metadata
Metadata
Assignees
Labels
Issues describing a possible bug in the Go implementation.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.This label describes issues relating to any tools in the x/tools repository.Issues related to the Go language server, gopls."can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)