Skip to content

cmd/compile: ICE: couldn't find field Str in struct { ... } #78103

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/analysis/fillstruct" && test == ""

Issue created automatically to collect these failures.

Example (log):

FAIL	golang.org/x/tools/gopls/internal/analysis/fillstruct [build failed]
# honnef.co/go/tools/stylecheck/st1011
<autogenerated>:1: internal compiler error: couldn't find field Str in struct { Size_ uintptr; PtrBytes uintptr; Hash uint32; TFlag uint8; Align_ uint8; FieldAlign_ uint8; Kind_ uint8; Equal unsafe.Pointer; GCData *uint8 }

goroutine 1 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:26 +0x5e
cmd/compile/internal/base.FatalfAt({0x34f59ac?, 0x0?}, {0x35344b9, 0x1c}, {0x18f9c356f3d0, 0x2, 0x2})
	cmd/compile/internal/base/print.go:232 +0x18b
cmd/compile/internal/base.Fatalf(...)
	cmd/compile/internal/base/print.go:197
cmd/compile/internal/rttype.Cursor.Field({0x18f9c3d64b00?, 0xc?, 0x18f9c2eff9e0?}, {0x34f59ac, 0x3})
	cmd/compile/internal/rttype/rttype.go:278 +0x1b2
cmd/compile/internal/reflectdata.dcommontype({0x18f9c3d64b00?, 0xb?, 0x18f9c2eff9e0?}, 0x18f9c35f8d80)
	cmd/compile/internal/reflectdata/reflect.go:527 +0x93a
cmd/compile/internal/reflectdata.writeType(0x18f9c3da8600?)
	cmd/compile/internal/reflectdata/reflect.go:810 +0x69d
cmd/compile/internal/reflectdata.writeType(0x18f9c2eb0960?)
	cmd/compile/internal/reflectdata/reflect.go:895 +0x70a
cmd/compile/internal/reflectdata.WriteRuntimeTypes()
	cmd/compile/internal/reflectdata/reflect.go:1004 +0xa7
cmd/compile/internal/gc.Main(0x3e97c20)
	cmd/compile/internal/gc/main.go:317 +0x1499
main.main()
	cmd/compile/main.go:57 +0xf9

watchflakes

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.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions