#!stacks
"sigpanic" && "counter.(*mappedFile).cas32"
Issue created by stacks.
This stack 1VO2kg was reported by telemetry:
crash/crashruntime.throw:+9,+0x47runtime.sigpanic:+16,+0x109sync/atomic.(*Uint32).CompareAndSwap:=147,+0x68bgolang.org/x/telemetry/internal/counter.(*mappedFile).cas32:=600,+0x686golang.org/x/telemetry/internal/counter.(*mappedFile).newCounter:+79,+0x672golang.org/x/telemetry/internal/counter.(*file).newCounter1:+12,+0x1a4golang.org/x/telemetry/internal/counter.(*file).newCounter:+1,+0x17golang.org/x/telemetry/internal/counter.(*file).lookup:+6,+0x2egolang.org/x/telemetry/internal/counter.(*Counter).releaseLock:+14,+0x167golang.org/x/telemetry/internal/counter.(*Counter).Add:+44,+0x390golang.org/x/telemetry/internal/counter.(*Counter).Inc:+1,+0x17golang.org/x/tools/gopls/internal/server.(*server).Hover.StartLatencyTimer.func3:+13,+0xfegolang.org/x/tools/gopls/internal/server.(*server).Hover.func1:+1,+0x2druntime.deferreturn:+10,+0x5dgolang.org/x/tools/gopls/internal/server.(*server).Hover:+30,+0x3c7golang.org/x/tools/gopls/internal/protocol.serverDispatch:+335,+0xe99golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func4:+5,+0x84golang.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.)