Skip to content

x/tools/gopls: SEGV while clearing memory in newobject #71561

Description

@adonovan
#!stacks
"runtime.sigpanic:+3" && "runtime.memclrNoHeapPointers:+172" && "runtime.mallocgc" && "runtime.newobject:+1"

Issue created by stacks.

Possibly another manifestation of #71425?
Telemetry blames the RET instruction. Can it be? That's a read from the stack, but there's no way a rogue write to memory could clobber this thread's SP register.

This stack FpcsIw was reported by telemetry:

golang.org/x/tools/gopls@v0.17.1 go1.23.4 darwin/amd64 vscode (1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues 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.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.gopls/memory-corruption"can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)gopls/telemetry-wins

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions