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: GOEXPERIMENT=preemptibleloops sometimes fails ssa/check #20675

Closed
dr2chase opened this issue Jun 14, 2017 · 1 comment
Closed

cmd/compile: GOEXPERIMENT=preemptibleloops sometimes fails ssa/check #20675

dr2chase opened this issue Jun 14, 2017 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dr2chase
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.almost9

What operating system and processor architecture are you using (go env)?

amd64

What did you do?

GOEXPERIMENT=preemptibleloops ./make.bash
GOEXPERIMENT=preemptibleloops GO_GCFLAGS=-d=ssa/check/on ./run.bash

It fails like so:

crypto/tls/key_agreement.go:193:44: internal compiler error: inconsistent memory phi v1009 = Phi <mem> v71 v963 1 v963 v962

goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/runtime/debug/stack.go:24 +0xa7
cmd/compile/internal/gc.Fatalf(0x176fcbb, 0x3f, 0xc422c70460, 0x7, 0x7)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/subr.go:181 +0x230
cmd/compile/internal/gc.(*ssafn).Fatalf(0xc4218d2960, 0x2b30200000bb8, 0x176fcbb, 0x3f, 0xc422c70460, 0x7, 0x7)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/ssa.go:5041 +0x67
cmd/compile/internal/ssa.(*Func).Fatalf(0xc4230bfb80, 0x176fcbb, 0x3f, 0xc422c70460, 0x7, 0x7)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/ssa/func.go:500 +0x78
cmd/compile/internal/ssa.memCheck(0xc4230bfb80)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/ssa/check.go:418 +0xcc1
cmd/compile/internal/ssa.checkFunc(0xc4230bfb80)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/ssa/check.go:317 +0xbef
cmd/compile/internal/ssa.Compile(0xc4230bfb80)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/ssa/compile.go:110 +0x395
cmd/compile/internal/gc.buildssa(0xc420f0d8c0, 0x0, 0x0)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/ssa.go:213 +0x881
cmd/compile/internal/gc.compileSSA(0xc420f0d8c0, 0x0)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/pgen.go:240 +0x3c
cmd/compile/internal/gc.compile(0xc420f0d8c0)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/pgen.go:219 +0x218
cmd/compile/internal/gc.funccompile(0xc420f0d8c0)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/dcl.go:1049 +0xb7
cmd/compile/internal/gc.Main(0x1772b48)
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/internal/gc/main.go:582 +0x2839
main.main()
	/Users/drchase/GoogleDrive/work/go-ssa2/src/cmd/compile/main.go:49 +0x95
@dr2chase dr2chase self-assigned this Jun 14, 2017
@bradfitz bradfitz added this to the Go1.9Maybe milestone Jun 14, 2017
@bradfitz bradfitz added the NeedsFix The path to resolution is known, but the work has not been done. label Jun 14, 2017
@gopherbot
Copy link

CL https://golang.org/cl/45791 mentions this issue.

@mikioh mikioh changed the title GOEXPERIMENT=preemptibleloops sometimes fails ssa/check cmd/compile: GOEXPERIMENT=preemptibleloops sometimes fails ssa/check Jul 21, 2017
@golang golang locked and limited conversation to collaborators Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants