-
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/telemetry-wins
Description
#!stacks
"crash/crash" &&
("go/types.(*Named).resolve:+0" || "go/types.(*Named).Underlying:+0") &&
"go/types.(*Named).under:+1" &&
"go/types.(*gcSizes).Alignof:+7" &&
"go/types.(*gcSizes).Alignof:+29"
Issue created by stacks.
Looks like Alignof was applied to a named struct type (illegally) containing itself as its first field.
This stack gYYnog was reported by telemetry:
crash/crashgo/types.(*Named).resolve:+0go/types.(*Named).Underlying:+2go/types.(*Named).under:+1go/types.under:+2go/types.(*gcSizes).Alignof:+7go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29go/types.(*gcSizes).Alignof:+29
golang.org/x/tools/gopls@v0.17.1 go1.23.3 windows/amd64 vscode (1)
Dups: 2Xy8hA
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