-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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/telemetry-wins
Milestone
Description
#!stacks
"types.(*Package).Path" && "golang.org/x/tools/internal/gcimporter.(*exportWriter).exportPath"
Issue created by stacks.
(I assume it's a nil pointer. It could be an invalid pointer if this is yet another instance of memory corruption.)
This stack t1Et8g was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35,+0x393golang.org/x/tools/gopls/internal/util/bug.Reportf:+1,+0x27golang.org/x/tools/internal/gcimporter.iexportCommon.func1:+4,+0x6bruntime.gopanic:+50,+0x123runtime.panicmem:=262,+0x2ffruntime.sigpanic:+19,+0x2ccgo/types.(*Package).Path:=34,+0x6cgolang.org/x/tools/internal/gcimporter.(*exportWriter).exportPath:=696,+0x68golang.org/x/tools/internal/gcimporter.(*exportWriter).pkg:+4,+0x64golang.org/x/tools/internal/gcimporter.(*exportWriter).doTyp:+73,+0x1cfgolang.org/x/tools/internal/gcimporter.(*iexporter).typOff:+4,+0x8bgolang.org/x/tools/internal/gcimporter.(*exportWriter).typ:+1,+0x2fgolang.org/x/tools/internal/gcimporter.(*exportWriter).typeList:+3,+0x7bgolang.org/x/tools/internal/gcimporter.(*exportWriter).doTyp:+27,+0x493golang.org/x/tools/internal/gcimporter.(*iexporter).typOff:+4,+0x8bgolang.org/x/tools/internal/gcimporter.(*exportWriter).typ:+1,+0x2f
golang.org/x/tools/gopls@v0.20.0 go1.24.5 darwin/arm64 neovim,vscode (1)
Dups: siaToA
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/telemetry-wins