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/gc: panic in buildssa #41077

Closed
bcmills opened this issue Aug 27, 2020 · 3 comments
Closed

cmd/compile/internal/gc: panic in buildssa #41077

bcmills opened this issue Aug 27, 2020 · 3 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Aug 27, 2020

There appears to be a regression in buildssa that occasionally causes panics in the builders:

        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0xaafefc]
        
        goroutine 26 [running]:
        cmd/compile/internal/gc.buildssa(0x0, 0x2, 0x0)
        	/workdir/go/src/cmd/compile/internal/gc/ssa.go:315 +0xfc
        cmd/compile/internal/gc.compileSSA(0x0, 0x2)
        	/workdir/go/src/cmd/compile/internal/gc/pgen.go:317 +0x5d
        cmd/compile/internal/gc.compileFunctions.func2(0xc00081a6c0, 0xc000393e40, 0x2)
        	/workdir/go/src/cmd/compile/internal/gc/pgen.go:382 +0x4d
        created by cmd/compile/internal/gc.compileFunctions
        	/workdir/go/src/cmd/compile/internal/gc/pgen.go:380 +0x129

2020-08-27T18:33:37-ac2a1f8/linux-amd64-sid
2020-08-14T17:45:39-a20cb4c/linux-amd64-nocgo

Marking as release-blocker at least until we understand whether it is actually a regression.

CC @randall77 @dr2chase @mdempsky @cuonglm

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Aug 27, 2020
@bcmills bcmills added this to the Go1.16 milestone Aug 27, 2020
@bcmills
Copy link
Contributor Author

bcmills commented Aug 27, 2020

This may be a duplicate of (or related to) #38463.

@bcmills
Copy link
Contributor Author

bcmills commented Aug 27, 2020

May also be related to #32026.

@randall77
Copy link
Contributor

I'm pretty sure this is a dup of #38463. Closing in favor of that one.

@golang golang locked and limited conversation to collaborators Aug 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants