Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: internal compiler errors in test flakes #55257

Open
rsc opened this issue Sep 20, 2022 · 2 comments
Open

cmd/compile: internal compiler errors in test flakes #55257

rsc opened this issue Sep 20, 2022 · 2 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@rsc
Copy link
Contributor

rsc commented Sep 20, 2022

#!watchflakes
default <- `: internal compiler error:`

This issue collects build dashboard flakes due to internal compiler errors.

@rsc rsc added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 20, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Sep 20, 2022
@gopherbot
Copy link

gopherbot commented Sep 20, 2022

Found new matching flaky dashboard failures for:

#!watchflakes
post <- `: internal compiler error:`
2022-08-31 21:10 linux-ppc64-sid-buildlet go@52d9e7f5 flag (log)
go/src/flag/flag.go:213:44: internal compiler error: '(*uintValue).Get': panic during regalloc while compiling (*uintValue).Get:

runtime error: index out of range [-1]

goroutine 144 [running]:
cmd/compile/internal/ssa.Compile.func1()
	/workdir/go/src/cmd/compile/internal/ssa/compile.go:50 +0x7c
panic({0x8dda80, 0xc0006a92f0})
	/workdir/go/src/runtime/panic.go:884 +0x244
cmd/compile/internal/ssa.(*sparseMap).set(...)
...
cmd/compile/internal/ssagen.buildssa(0xc00042fa40, 0x1)
	/workdir/go/src/cmd/compile/internal/ssagen/ssa.go:574 +0x1dbc
cmd/compile/internal/ssagen.Compile(0xc00042fa40, 0x0?)
	/workdir/go/src/cmd/compile/internal/ssagen/pgen.go:187 +0x48
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
	/workdir/go/src/cmd/compile/internal/gc/compile.go:153 +0x4c
cmd/compile/internal/gc.compileFunctions.func3.1()
	/workdir/go/src/cmd/compile/internal/gc/compile.go:140 +0x54
created by cmd/compile/internal/gc.compileFunctions.func3
	/workdir/go/src/cmd/compile/internal/gc/compile.go:138 +0x8c

watchflakes

@bcmills
Copy link
Member

bcmills commented Sep 20, 2022

2022-08-31 21:10 linux-ppc64-sid-buildlet go@52d9e7f5

That particular crash bears a strong resemblance to #54906.

@rsc rsc changed the title cmd/compile: flaky internal compiler errors cmd/compile: internal compiler errors in test flakes Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Status: Active
Development

No branches or pull requests

3 participants