go/types: stack overflow in Alignof #71143
Labels
BugReport
Issues describing a possible bug in the Go implementation.
gopls/telemetry-wins
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
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/crash
go/types.(*Named).resolve:+0
go/types.(*Named).Underlying:+2
go/types.(*Named).under:+1
go/types.under:+2
go/types.(*gcSizes).Alignof:+7
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
go/types.(*gcSizes).Alignof:+29
The text was updated successfully, but these errors were encountered: