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: escape analysis ICE on go/defer call to variadic function without variadic arguments #31573

Closed
mdempsky opened this issue Apr 19, 2019 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker Soon This needs to be done soon. (regressions, serious bugs, outages)
Milestone

Comments

@mdempsky
Copy link
Member

This program crashes with "panic: runtime error: index out of range [0] with length 0" at escape.go:845:

package p

func f(...int) {}

func g() {
	go f()
}
@mdempsky mdempsky self-assigned this Apr 19, 2019
@mdempsky mdempsky added this to the Go1.13 milestone Apr 19, 2019
@mdempsky mdempsky added NeedsFix The path to resolution is known, but the work has not been done. release-blocker Soon This needs to be done soon. (regressions, serious bugs, outages) labels Apr 19, 2019
@gopherbot
Copy link

Change https://golang.org/cl/173019 mentions this issue: cmd/compile: fix ICE from go/defer call to variadic function

@golang golang locked and limited conversation to collaborators Apr 18, 2020
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. release-blocker Soon This needs to be done soon. (regressions, serious bugs, outages)
Projects
None yet
Development

No branches or pull requests

2 participants