Open
Description
#!stacks
"sigpanic" && "metadata.(*Graph).Update:+0"
Issue created by stacks.
These are the only instructions at the indicated line:
TEXT golang.org/x/tools/gopls/internal/cache/metadata.(*Graph).Update(SB) /tmp/stacks-cache/tools/gopls/internal/ca
che/metadata/graph.go
graph.go:40 0x100762910 f9400b90 MOVD 16(R28), R16 <---- SEGV
graph.go:40 0x100762914 d102c3f1 SUB $176, RSP, R17
graph.go:40 0x100762918 eb10023f CMP R16, R17
graph.go:40 0x10076291c 540018e9 BLS 199(PC)
graph.go:40 0x100762920 d104c3f4 SUB $304, RSP, R20
graph.go:40 0x100762924 a93ffa9d STP (R29, R30), -8(R20)
graph.go:40 0x100762928 9100029f MOVD R20, RSP
graph.go:40 0x10076292c d10023fd SUB $8, RSP, R29
Only the initial load (MOVD) or later store (STP) can SEGV, so this indicates either a bad g register, or a g struct with a bad stack pointer.
This stack Lb6hkg
was reported by telemetry:
crash/crash
runtime.throw:+9
runtime.sigpanic:+33
golang.org/x/tools/gopls/internal/cache/metadata.(*Graph).Update:+0
golang.org/x/tools/gopls/internal/cache.(*Snapshot).load:+248
golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize:+89
golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3:+2
runtime.goexit:+0
golang.org/x/tools/[email protected] go1.23.5 darwin/arm64 other,vscode-insiders (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)