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/ssa: TestDebugLinesSayHi failures #60285

Closed
gopherbot opened this issue May 18, 2023 · 10 comments
Closed

cmd/compile/internal/ssa: TestDebugLinesSayHi failures #60285

gopherbot opened this issue May 18, 2023 · 10 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@gopherbot
Copy link

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestDebugLinesSayHi (3.58s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test3543785546; HOSTNAME=power_04 GO_BUILDER_ENV=host-linux-ppc64le-osu GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=300ms WORKDIR=/workdir GOROOT_BOOTSTRAP=/workdir/go1.4 GO_BUILDER_NAME=linux-ppc64le-buildlet GO_BUILDER_FLAKY_NET=1 GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64le GOENV=off GOHOSTARCH=ppc64le GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64le 'GOVERSION=devel 774f60223f9a2b1a4e2f3c042e5cea93fc90c6a8' GCCGO=gccgo GOPPC64=power8 AR=ar CC=gcc CXX=g++ CGO_ENABLED=1 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test3543785546 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x65ee64]

        goroutine 1424 [running]:
        panic({0x8d4ca0?, 0xf55b30?})
...
        cmd/compile/internal/ssagen.Compile(0xc002469ce0, 0x0?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48 fp=0xc000b43f30 sp=0xc000b43d60 pc=0x6508d8
        cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c fp=0xc000b43f80 sp=0xc000b43f30 pc=0x8526cc
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48 fp=0xc000b43fc0 sp=0xc000b43f80 pc=0x852a98
        runtime.goexit()
        	runtime/asm_ppc64x.s:912 +0x4 fp=0xc000b43fc0 sp=0xc000b43fc0 pc=0x94a74
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 178
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 18, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-18 09:16 linux-ppc64le-buildlet go@774f6022 cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (3.58s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test3543785546; HOSTNAME=power_04 GO_BUILDER_ENV=host-linux-ppc64le-osu GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=300ms WORKDIR=/workdir GOROOT_BOOTSTRAP=/workdir/go1.4 GO_BUILDER_NAME=linux-ppc64le-buildlet GO_BUILDER_FLAKY_NET=1 GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64le GOENV=off GOHOSTARCH=ppc64le GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64le 'GOVERSION=devel 774f60223f9a2b1a4e2f3c042e5cea93fc90c6a8' GCCGO=gccgo GOPPC64=power8 AR=ar CC=gcc CXX=g++ CGO_ENABLED=1 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test3543785546 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x65ee64]

        goroutine 1424 [running]:
        panic({0x8d4ca0?, 0xf55b30?})
...
        cmd/compile/internal/ssagen.Compile(0xc002469ce0, 0x0?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48 fp=0xc000b43f30 sp=0xc000b43d60 pc=0x6508d8
        cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c fp=0xc000b43f80 sp=0xc000b43f30 pc=0x8526cc
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48 fp=0xc000b43fc0 sp=0xc000b43f80 pc=0x852a98
        runtime.goexit()
        	runtime/asm_ppc64x.s:912 +0x4 fp=0xc000b43fc0 sp=0xc000b43fc0 pc=0x94a74
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 178
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label May 18, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-23 19:50 linux-ppc64-sid-power10 go@be91040e cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (2.68s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test1344799368; HOSTNAME=power_03 GO_BUILDER_ENV=host-linux-ppc64-sid-power10 GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=400ms WORKDIR=/workdir GO_BUILDER_NAME=linux-ppc64-sid-power10 GO_BUILDER_FLAKY_NET=1 GOPPC64=power10 GOROOT_BOOTSTRAP=/usr/local/go-bootstrap GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64 GOENV=off GOHOSTARCH=ppc64 GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLCHAIN=auto GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64 'GOVERSION=devel be91040ea72dac0f48ec1e6f8c4f19ba85af6697' GCCGO=gccgo AR=ar CC=gcc CXX=g++ CGO_ENABLED=0 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test1344799368 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        ../../go/src/runtime/malloc.go:888:6: internal compiler error: 'nextFreeFast': value .autotmp_158 (nil) incorrectly live at entry

        goroutine 1413 [running]:
        runtime/debug.Stack()
        	runtime/debug/stack.go:24 +0x6c
...
        cmd/compile/internal/ssagen.buildssa(0xc001a3e000, 0x3)
        	cmd/compile/internal/ssagen/ssa.go:548 +0x2374
        cmd/compile/internal/ssagen.Compile(0xc001a3e000, 0x0?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48
        cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 108
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-23 20:25 linux-ppc64-sid-buildlet go@74af79bc cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (5.89s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test2650880563; HOSTNAME=power_02 GO_BUILDER_ENV=host-linux-ppc64-sid GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GOMAXPROCS=4 GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=500ms WORKDIR=/workdir GOROOT_BOOTSTRAP=/workdir/go1.4 GO_BUILDER_NAME=linux-ppc64-sid-buildlet GO_BUILDER_FLAKY_NET=1 GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64 GOENV=off GOHOSTARCH=ppc64 GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLCHAIN=auto GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64 'GOVERSION=devel 74af79bcf6b1efde7b91ac3e519338c6815efda9' GCCGO=gccgo GOPPC64=power8 AR=ar CC=gcc CXX=g++ CGO_ENABLED=0 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test2650880563 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # reflect
        runtime: marked free object in span 0x7fff48712238, elemsize=160 freeindex=0 (bad use of unsafe.Pointer? try -d=checkptr)
        0xc002000000 free  marked   zombie
        0x000000c002000000:  0x00000007002080d0  0x1e01000000000000 
        0x000000c002000010:  0x0000000000000000  0x0000000000000000 
        0x000000c002000020:  0x0000000000000000  0x0000000000000000 
...
        fatal error: found pointer to free object

        goroutine 3 [running]:
        runtime.throw({0x977c4b?, 0xc0020000a0?})
        	runtime/panic.go:1077 +0x40 fp=0xc000043558 sp=0xc000043518 pc=0x58f10
        runtime.(*mspan).reportZombies(0x7fff48712238)
        	runtime/mgcsweep.go:861 +0x30c fp=0xc0000435e8 sp=0xc000043558 pc=0x42dcc
        runtime.(*sweepLocked).sweep(0x103b3e0?, 0x0)
        	runtime/mgcsweep.go:639 +0x394 fp=0xc000043708 sp=0xc0000435e8 pc=0x41b44
        runtime.sweepone(...)
        	runtime/mgcsweep.go:393
        runtime.bgsweep(0x0?)
        	runtime/mgcsweep.go:301 +0x1e4 fp=0xc000043798 sp=0xc000043708 pc=0x40a64
        runtime.gcenable.func1()
        	runtime/mgc.go:178 +0x4c fp=0xc0000437c0 sp=0xc000043798 pc=0x32e0c
        runtime.goexit()
        	runtime/asm_ppc64x.s:912 +0x4 fp=0xc0000437c0 sp=0xc0000437c0 pc=0x94cb4
        created by runtime.gcenable in goroutine 1
        	runtime/mgc.go:178 +0x7c

watchflakes

@mknyszek
Copy link
Contributor

This looks related to #60368. It looks like #60368 maybe had its watchflakes expression updated after the last failure here? I'm not sure if they're getting redirected. In any case, nothing new to do here. Closing as dupe.

@mknyszek mknyszek closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2023
@gopherbot gopherbot reopened this May 24, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-24 21:55 linux-ppc64-sid-power10 go@c5ba9d22 cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (1.62s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test803739682; HOSTNAME=power_04 GO_BUILDER_ENV=host-linux-ppc64-sid-power10 GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=300ms WORKDIR=/workdir GO_BUILDER_NAME=linux-ppc64-sid-power10 GO_BUILDER_FLAKY_NET=1 GOPPC64=power10 GOROOT_BOOTSTRAP=/usr/local/go-bootstrap GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64 GOENV=off GOHOSTARCH=ppc64 GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLCHAIN=auto GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64 'GOVERSION=devel c5ba9d2232695816a3bd55d360aa6ef7aa1f63ed' GCCGO=gccgo AR=ar CC=gcc CXX=g++ CGO_ENABLED=0 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test803739682 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        ../../go/src/runtime/metrics.go:137:24: internal compiler error: '(*hmap).noldbuckets': unhandled stmt +

        goroutine 2121 [running]:
        runtime/debug.Stack()
        	runtime/debug/stack.go:24 +0x6c
...
        cmd/compile/internal/ssagen.buildssa(0xc001a7c420, 0x1)
        	cmd/compile/internal/ssagen/ssa.go:548 +0x2374
        cmd/compile/internal/ssagen.Compile(0xc001a7c420, 0x81bc50?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48
        cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 135
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-25 00:56 linux-ppc64-sid-power10 go@d5a05a05 cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (1.56s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test1735128261; HOSTNAME=power_05 GO_BUILDER_ENV=host-linux-ppc64-sid-power10 GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=300ms WORKDIR=/workdir GO_BUILDER_NAME=linux-ppc64-sid-power10 GO_BUILDER_FLAKY_NET=1 GOPPC64=power10 GOROOT_BOOTSTRAP=/usr/local/go-bootstrap GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64 GOENV=off GOHOSTARCH=ppc64 GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLCHAIN=auto GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64 'GOVERSION=devel d5a05a0510eba98565b04e383e825bb53a5bc637' GCCGO=gccgo AR=ar CC=gcc CXX=g++ CGO_ENABLED=0 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test1735128261 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        :1763:91: internal compiler error: 'cstring': unhandled stmt XXX

        goroutine 1360 [running]:
        runtime/debug.Stack()
        	runtime/debug/stack.go:24 +0x6c
...
        cmd/compile/internal/ssagen.buildssa(0xc0018442c0, 0x0)
        	cmd/compile/internal/ssagen/ssa.go:548 +0x2374
        cmd/compile/internal/ssagen.Compile(0xc0018442c0, 0x1?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48
        cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 140
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/compile/internal/ssa" && test == "TestDebugLinesSayHi"
2023-05-30 16:05 linux-ppc64-sid-buildlet go@bfa25c3f cmd/compile/internal/ssa.TestDebugLinesSayHi (log)
--- FAIL: TestDebugLinesSayHi (2.41s)
    debug_lines_test.go:162: error running cmd (cd /workdir/tmp/debug_lines_test3303092096; HOSTNAME=power_05 GO_BUILDER_ENV=host-linux-ppc64-sid GO_BUILD_KEY_PATH=/buildkey/gobuildkey GO_BUILD_KEY_DELETE_AFTER_READ=true DEBIAN_FRONTEND=noninteractive GOMAXPROCS=4 GO_STAGE0_NET_DELAY=100ms GO_STAGE0_DL_DELAY=400ms WORKDIR=/workdir GOROOT_BOOTSTRAP=/workdir/go1.4 GO_BUILDER_NAME=linux-ppc64-sid-buildlet GO_BUILDER_FLAKY_NET=1 GO_TEST_TIMEOUT_SCALE=2 GOROOT=/workdir/go GOPATH=/workdir/gopath GOPROXY=off TMPDIR=/workdir/tmp GOCACHE=/workdir/gocache GOPLSCACHE=/workdir/goplscache GOARCH=ppc64 GOENV=off GOHOSTARCH=ppc64 GOHOSTOS=linux GOMODCACHE=/workdir/gopath/pkg/mod GOOS=linux GOSUMDB=sum.golang.org GOTOOLCHAIN=auto GOTOOLDIR=/workdir/go/pkg/tool/linux_ppc64 'GOVERSION=devel bfa25c3f6c72829cd36f5701418f726702de9c06' GCCGO=gccgo GOPPC64=power8 AR=ar CC=gcc CXX=g++ CGO_ENABLED=0 TERM=dumb GO386=sse2 GOAMD64=v1 GOARM=7 GOMIPS=hardfloat GOMIPS64=hardfloat GOROOT_FINAL=/workdir/go GOBIN=/workdir/go/bin LANG=C LANGUAGE=en_US.UTF8 GOWORK=off GOTRACEBACK=system PWD=/workdir/go/src/cmd/compile/internal/ssa GOSSADIR=/workdir/tmp/debug_lines_test3303092096 /workdir/go/bin/go build -o foo.o '-gcflags=-d=ssa/genssa/dump=sayhi -N -l' /workdir/go/src/cmd/compile/internal/ssa/testdata/sayhi.go ): exit status 1
        stdout:
        stderr:
        # runtime
        ../../go/src/runtime/type.go:375:2: internal compiler error: 'Stack.func1': unhandled stmt ==

        goroutine 1534 [running]:
        runtime/debug.Stack()
        	runtime/debug/stack.go:24 +0x6c
...
        cmd/compile/internal/ssagen.buildssa(0xc00482f4a0, 0x3)
        	cmd/compile/internal/ssagen/ssa.go:548 +0x24e0
        cmd/compile/internal/ssagen.Compile(0xc00482f4a0, 0xc005d37f20?)
        	cmd/compile/internal/ssagen/pgen.go:187 +0x48
        cmd/compile/internal/gc.compileFunctions.func5.1(0xc005d4a3c0?)
        	cmd/compile/internal/gc/compile.go:184 +0x4c
        cmd/compile/internal/gc.compileFunctions.func3.1()
        	cmd/compile/internal/gc/compile.go:166 +0x48
        created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 12
        	cmd/compile/internal/gc/compile.go:165 +0x20c

watchflakes

@laboger
Copy link
Contributor

laboger commented Jun 2, 2023

This should be fixed by https://go.dev/cl/499679. The logs are similar to the other failures fixed by this CL, which started after PGO was used to build the compiler. That uncovered the bug where R29 was not preserved by gcWriteBarrier. (PGO -> more inlining -> larger functions -> more registers live at once -> R29 more likely to be allocated.)

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 13, 2023
@bcmills
Copy link
Contributor

bcmills commented Jun 13, 2023

CL 499679 has landed — should this issue be closed now?

@laboger
Copy link
Contributor

laboger commented Jun 15, 2023

CL 499679 has landed — should this issue be closed now?

I think this can be closed -- I just tried building the toolchain before this CL and can make this test fail quite easily, but cannot make the latest toolchain fail. I tried it on power8 BE & LE.

@bcmills bcmills closed this as completed Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
Status: Done
Development

No branches or pull requests

4 participants