Skip to content

x/tools/gopls: crash in append (invalid string data pointer) #73586

Open
@adonovan

Description

@adonovan
#!stacks
"crash/crash" && "runtime.memmove" && "strings.(*Builder).WriteString"

Issue created by stacks.

The crashing instruction was a load from the first word of the string data:

move_65through128:
	MOVOU	(SI), X0

indicating that the string is corrupt (data pointer is nil or points to bad memory).

This stack 1Ihixg was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.23.6 linux/amd64 other,vscode (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    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