#!stacks
"sigpanic" && "counter.(*mappedFile).cas32"
Issue created by stacks.
This stack 1VO2kg
was reported by telemetry:
crash/crash
runtime.throw:+9,+0x47
runtime.sigpanic:+16,+0x109
sync/atomic.(*Uint32).CompareAndSwap:=147,+0x68b
golang.org/x/telemetry/internal/counter.(*mappedFile).cas32:=600,+0x686
golang.org/x/telemetry/internal/counter.(*mappedFile).newCounter:+79,+0x672
golang.org/x/telemetry/internal/counter.(*file).newCounter1:+12,+0x1a4
golang.org/x/telemetry/internal/counter.(*file).newCounter:+1,+0x17
golang.org/x/telemetry/internal/counter.(*file).lookup:+6,+0x2e
golang.org/x/telemetry/internal/counter.(*Counter).releaseLock:+14,+0x167
golang.org/x/telemetry/internal/counter.(*Counter).Add:+44,+0x390
golang.org/x/telemetry/internal/counter.(*Counter).Inc:+1,+0x17
golang.org/x/tools/gopls/internal/server.(*server).Hover.StartLatencyTimer.func3:+13,+0xfe
golang.org/x/tools/gopls/internal/server.(*server).Hover.func1:+1,+0x2d
runtime.deferreturn:+10,+0x5d
golang.org/x/tools/gopls/internal/server.(*server).Hover:+30,+0x3c7
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+335,+0xe99
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func4:+5,+0x84
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func5:+52,+0x908
golang.org/x/tools/gopls@v0.19.1 go1.24.4 linux/amd64 vscode (1)
Comment From: gabyhelp
Related Issues
- x/tools/gopls: nil deref in x/telemetry/internal/counter.(*Counter).add #73890
- x/tools/gopls: nil deref in Exporter.ProcessEvent #71928
- x/tools/gopls: CodeActions: "end \< start" panic #74394 (closed)
- x/telemetry/cmd/gotelemetry: view/dump commands fail to aggregate `crash/crash` stack counts #65554 (closed)
- x/tools/internal/telemetry/export/metric: panic in (*HistogramFloat64Data).modify #38102 (closed)
- x/tools/gopls: analysisinternal.ZeroValue crash on (presumably) unsafe.Pointer #70585 (closed)
- x/tools/gopls: Hover: nil deref in golang.StdSymbolOf #70969 (closed)
- x/tools/gopls: Implementation (by signatures): nil panic in dynamicFuncCallType #74305 (closed)
- x/tools/gopls: SEGV in HasSuffix (corrupt string) #74348
- x/tools/gopls: Definition: crash on [unsafe.Pointer] doc link #74434 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)