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/gc: internal compiler error: fault #8017

Closed
dvyukov opened this issue May 17, 2014 · 6 comments
Closed

cmd/gc: internal compiler error: fault #8017

dvyukov opened this issue May 17, 2014 · 6 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented May 17, 2014

go version devel +386c6757d94c Sat May 17 00:06:56 2014 +0000 darwin/amd64

Program:
http://play.golang.org/p/z-JN1vha-D

$ go build bug.go
bug.go:77: internal compiler error: fault
@dvyukov
Copy link
Member Author

dvyukov commented May 17, 2014

Comment 1:

Probably it's a dup, but needs to be verified after the fix:
http://play.golang.org/p/VkY0x7U1mG

@dvyukov
Copy link
Member Author

dvyukov commented May 18, 2014

Comment 2:

Another one:
http://play.golang.org/p/Vj4vzNR-_q
Since they all are "internal compiler error: fault", difficult to say whether they are
dups or not, until we start fixing them one by one.

@ianlancetaylor
Copy link
Contributor

Comment 3:

Labels changed: added repo-main, release-go1.4.

@griesemer
Copy link
Contributor

Comment 4:

Simplified version: http://play.golang.org/p/pmkScYv0JO
package main
func main() {
    var ch chan int
    select {
    case <-ch:
    case <-make(chan int, len([2][]int{([][]int{})[len(ch)], []int{}})):
    }
}

Status changed to Accepted.

@gopherbot
Copy link

Comment 5:

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

@remyoudompheng
Copy link
Contributor

Comment 6:

This issue was closed by revision e024ed5.

Status changed to Fixed.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jun 25, 2018
During anylit run, nodes such as SLICEARR(statictmp, [:])
may be generated and are expected to be found unchanged by
gen_as_init.

In some walks (in particular walkselect), the statement
may be walked again and lowered to its usual form, leading to a
crash.

Fixes golang#8017.
Fixes golang#8024.
Fixes golang#8058.

LGTM=rsc
R=golang-codereviews, dvyukov, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/112080043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 9, 2018
During anylit run, nodes such as SLICEARR(statictmp, [:])
may be generated and are expected to be found unchanged by
gen_as_init.

In some walks (in particular walkselect), the statement
may be walked again and lowered to its usual form, leading to a
crash.

Fixes golang#8017.
Fixes golang#8024.
Fixes golang#8058.

LGTM=rsc
R=golang-codereviews, dvyukov, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/112080043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 30, 2018
During anylit run, nodes such as SLICEARR(statictmp, [:])
may be generated and are expected to be found unchanged by
gen_as_init.

In some walks (in particular walkselect), the statement
may be walked again and lowered to its usual form, leading to a
crash.

Fixes golang#8017.
Fixes golang#8024.
Fixes golang#8058.

LGTM=rsc
R=golang-codereviews, dvyukov, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/112080043
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants