-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/memory-corruption"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)gopls/telemetry-wins
Milestone
Description
#!stacks
"sigpanic" && "abi.Name.IsExported" && "json.Marshal"
Issue created by stacks.
More memory corruption, no doubt.
This stack Kmi83g was reported by telemetry:
crash/crashruntime.throw:+9,+0x33runtime.sigpanic:+33,+0x213internal/abi.Name.IsExported:=610,+0x58reflect.Value.Field:+14,+0x48encoding/json.structEncoder.encode:+15,+0x2d3encoding/json.structEncoder.encode-fm:+0,+0x63encoding/json.arrayEncoder.encode:+7,+0xbfencoding/json.arrayEncoder.encode-fm:+0,+0x4bencoding/json.sliceEncoder.encode:+20,+0x25bencoding/json.sliceEncoder.encode-fm:+0,+0x4bencoding/json.(*encodeState).reflectValue:+1,+0x6fencoding/json.(*encodeState).marshal:+10,+0xa7encoding/json.Marshal:+4,+0x83golang.org/x/tools/internal/jsonrpc2.marshalToRaw:=233,+0x43golang.org/x/tools/internal/jsonrpc2.NewResponse:+1,+0x78golang.org/x/tools/internal/jsonrpc2.(*conn).run.(*conn).replier.func1:+10,+0xabgolang.org/x/tools/gopls/internal/protocol.Handlers.CancelHandler.func3.1:+6,+0xa7golang.org/x/tools/gopls/internal/protocol.Handlers.CancelHandler.CancelHandler.func4.1:+4,+0x9f
golang.org/x/tools/[email protected] go1.25.1 darwin/arm64 other,vscode (1)
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/memory-corruption"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)gopls/telemetry-wins