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: index of out of range compiling internal/obj/arm64 on linux-mipsle #19641

Closed
bradfitz opened this issue Mar 21, 2017 · 10 comments
Closed
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bradfitz
Copy link
Contributor

Is this flaky hardware again?

https://build.golang.org/log/b48f08a61d4681905022d8d75068df7dfc745af6

cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
# cmd/internal/obj/arm64
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x634340, 0x8e5cc0)
	/data/mipsle/go/src/runtime/panic.go:531 +0x1a8
bootstrap/cmd/internal/src.(*PosTable).Pos(0x10ccc028, 0x1160c450, 0x1160c748, 0x1181d040, 0x0)
	/data/mipsle/go/src/cmd/internal/src/xpos.go:72 +0x84
bootstrap/cmd/internal/obj.(*Link).OutermostPos(0x10ccc000, 0x1160c450, 0x1160c748, 0x4947e8, 0x1181d073)
	/data/mipsle/go/src/cmd/internal/obj/inl.go:69 +0x5c
bootstrap/cmd/compile/internal/gc.linestr(0x1160c450, 0x1160c748, 0x651b01, 0x494aec)
	/data/mipsle/go/src/cmd/compile/internal/gc/subr.go:90 +0x54
bootstrap/cmd/compile/internal/gc.Fatalf(0x674a54, 0x19, 0x11636d4c, 0x1, 0x1)
	/data/mipsle/go/src/cmd/compile/internal/gc/subr.go:163 +0x58
bootstrap/cmd/compile/internal/gc.dowidth(0x1160bb68)
	/data/mipsle/go/src/cmd/compile/internal/gc/align.go:213 +0x568
bootstrap/cmd/compile/internal/gc.checkwidth(0x1160bb68)
	/data/mipsle/go/src/cmd/compile/internal/gc/align.go:410 +0x1d0
bootstrap/cmd/compile/internal/gc.typecheck1(0x11836000, 0x22, 0x1160c748)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:2142 +0x7cc
bootstrap/cmd/compile/internal/gc.typecheck(0x11836000, 0x22, 0x1128b540)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:199 +0x648
bootstrap/cmd/compile/internal/gc.typecheckas(0x11836060)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:3293 +0x94
bootstrap/cmd/compile/internal/gc.typecheck1(0x11836060, 0x1, 0x100)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:1982 +0x3520
bootstrap/cmd/compile/internal/gc.typecheck(0x11836060, 0x1, 0x11836d20)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:199 +0x648
bootstrap/cmd/compile/internal/gc.typecheckslice(0x1181cec0, 0xf, 0x10, 0x1)
	/data/mipsle/go/src/cmd/compile/internal/gc/typecheck.go:53 +0x7c
bootstrap/cmd/compile/internal/gc.fninit(0x11282000, 0x2b9, 0x540)
	/data/mipsle/go/src/cmd/compile/internal/gc/init.go:163 +0x9c4
bootstrap/cmd/compile/internal/gc.Main(0x683f30)
	/data/mipsle/go/src/cmd/compile/internal/gc/main.go:518 +0x236c
main.main()
	/data/mipsle/go/src/cmd/compile/main.go:49 +0xb4
cmd/internal/obj/s390x
crypto/x509
vendor/golang_org/x/net/lex/httplex
vendor/golang_org/x/net/proxy
net/textproto

/cc @cherrymui @mdempsky

@bradfitz bradfitz added this to the Go1.9Maybe milestone Mar 21, 2017
@vstefanovic
Copy link
Member

I wonder if rebuilding the bootstrap with https://golang.org/cl/38257 would help.

@cherrymui
Copy link
Member

Sounds a good thing to try.

@bradfitz
Copy link
Contributor Author

Who owns this builder? It's not listed in https://github.com/golang/go/wiki/DashboardBuilders

Please document it.

@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Mar 21, 2017
@cherrymui
Copy link
Member

Who owns this builder?

Probably @vstefanovic ?

@vstefanovic
Copy link
Member

I suppose it's Brendan Kirby, he maintains that machine.

@MIPSbkirby
Copy link

I rebuilt the bootstrap environment. It is now at commit 01cd22c:

$ /usr/local/go-bootstrap-mipsle/bin/go version 
go version devel +01cd22c Tue Mar 21 13:25:17 2017 linux/mipsle

which includes commit 24dc8c6.

@bradfitz
Copy link
Contributor Author

Thanks, @MIPSbkirby! You want me to clear some builds with golang.org/x/build/cmd/retrybuilds? Or you're welcome to too.

@bradfitz
Copy link
Contributor Author

I cleared the obvious weirdo candidates. We'll watch it going forward.

@cherrymui
Copy link
Member

Still see occasional failures in bootstrapping, for example
https://build.golang.org/log/0c39fed4846b95602caf257672caa02f939b0d74

@bradfitz bradfitz added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. help wanted labels Jul 20, 2017
@bradfitz bradfitz modified the milestones: Go1.10, Go1.9Maybe Jul 20, 2017
@cherrymui
Copy link
Member

Seems this has not happened for quite a long time. I'm going to close it. We can reopen if we see it again.

@golang golang locked and limited conversation to collaborators Nov 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

5 participants