Skip to content

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

Closed as duplicate

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

Activity

  1. gopherbot commented on Mar 12, 2026

    @gopherbot
    ContributorAuthor

    Found new dashboard test flakes for:

    #!watchflakes
    default <- pkg == "golang.org/x/tools/gopls/internal/analysis/fillstruct" && test == ""
    
    2026-03-11 18:53 x_tools-gotip-darwin-amd64-nocgo tools@3dd57fba go@6b776340 x/tools/gopls/internal/analysis/fillstruct (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

  2. added
    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.
    on Mar 12, 2026
  3. added this to the Unreleased milestone on Mar 12, 2026
  4. changed the title [-]x/tools/gopls/internal/analysis/fillstruct: unrecognized failures[/-] [+]cmd/compile: ICE: couldn't find field Str in struct { ... }[/+] on Mar 12, 2026
  5. removed
    goplsIssues related to the Go language server, gopls.
    on Mar 12, 2026
  6. cherrymui commented on Mar 18, 2026

    @cherrymui
    Member

    Looks like #77515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions