Skip to content

panic: sync/atomic: store of inconsistently typed value into Value, apparently at conn.go:189. #32

@filmil

Description

@filmil

My small LSP fails on a regular basis like this. I think it would be nice if we'd at least get a report on what value is expected, vs what value is stored.

[ERROR][2026-03-20 16:15:06] ...p/_transport.lua:36     "rpc"   "/usr/local/google/home/fmil/.local/bin/pcc"    "stderr"        "panic: sync/atomic: store of inconsistently typed value into Value\n\ngoroutine 11 [running]:\nsync/atomic.(*Value).Store(0xc000238218, {0x7a28a0, 0xc0001541e0})\n\tGOROOT/src/sync/atomic/value.go:78 +0xd2\ngo.lsp.dev/jsonrpc2.(*conn).fail("
[ERROR][2026-03-20 16:15:06] ...p/_transport.lua:36     "rpc"   "/usr/local/google/home/fmil/.local/bin/pcc"    "stderr"        "0xc0002381e0, {0x85b120?, 0xc0001541e0?})\n\texternal/gazelle~~go_deps~dev_lsp_go_jsonrpc2/conn.go:243 +0x31\ngo.lsp.dev/jsonrpc2.(*conn).run(0xc0002381e0, {0x85c910, 0xa998c0}, 0xc000034520)\n\texternal/gazelle~~go_deps~dev_lsp_go_jsonrpc2/conn.go:207 +0x2e6\ncreated by go.lsp.dev/jsonrpc2.(*conn).Go in goroutine 1\n\texternal/gazelle~~go_deps~dev_lsp_go_jsonrpc2/conn.go:189 +0x8f\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions