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

runtime: TestPanicSystemstack flake on linux-amd64-longtest #33626

Open
bcmills opened this issue Aug 13, 2019 · 0 comments
Open

runtime: TestPanicSystemstack flake on linux-amd64-longtest #33626

bcmills opened this issue Aug 13, 2019 · 0 comments
Milestone

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Aug 13, 2019

On the linux-amd64-longtest builder (https://build.golang.org/log/d032877df5968710842d285d5874a466cd80c986):

--- FAIL: TestPanicSystemstack (5.09s)
    crash_unix_test.go:229: traceback missing user stack:
         SIGQUIT: quit
        PC=0x467315 m=0 sigcode=0
        
        goroutine 0 [idle]:
        runtime.write(0x2, 0x66a462, 0x2)
        	/workdir/go/src/runtime/sys_linux_amd64.s:98 +0x15 fp=0x7ffe6832dec0 sp=0x7ffe6832deb8 pc=0x467315
        runtime.writeErr(...)
        	/workdir/go/src/runtime/write_err.go:12
        runtime.gwrite(0x66a462, 0x2, 0x2)
        	/workdir/go/src/runtime/print.go:98 +0xa3 fp=0x7ffe6832df00 sp=0x7ffe6832dec0 pc=0x432b73
        runtime.printstring(0x66a462, 0x2)
        	/workdir/go/src/runtime/print.go:242 +0x78 fp=0x7ffe6832df50 sp=0x7ffe6832df00 pc=0x433398
        runtime.blockOnSystemStackInternal()
        	/workdir/go/src/runtime/export_test.go:363 +0x3b fp=0x7ffe6832df70 sp=0x7ffe6832df50 pc=0x45df4b
        runtime.systemstack(0x463834)
        	/workdir/go/src/runtime/asm_amd64.s:370 +0x66 fp=0x7ffe6832df78 sp=0x7ffe6832df70 pc=0x4639a6
        runtime.mstart()
        	/workdir/go/src/runtime/proc.go:1146 fp=0x7ffe6832df80 sp=0x7ffe6832df78 pc=0x4365c0
        
        goroutine 1 [running, locked to thread]:
        runtime.systemstack_switch()
        	/workdir/go/src/runtime/asm_amd64.s:330 fp=0xc00004eeb8 sp=0xc00004eeb0 pc=0x463930
        runtime.BlockOnSystemStack(...)
        	/workdir/go/src/runtime/export_test.go:359
        runtime_test.testPanicSystemstackInternal()
        	/workdir/go/src/runtime/crash_unix_test.go:246 +0x2d fp=0xc00004eed0 sp=0xc00004eeb8 pc=0x58399d
        runtime_test.init.2()
        	/workdir/go/src/runtime/crash_unix_test.go:241 +0x7a fp=0xc00004ef00 sp=0xc00004eed0 pc=0x58393a
        runtime.doInit(0x818dc0)
        	/workdir/go/src/runtime/proc.go:5222 +0x8a fp=0xc00004ef30 sp=0xc00004ef00 pc=0x43fe5a
        runtime.doInit(0x815640)
        	/workdir/go/src/runtime/proc.go:5217 +0x57 fp=0xc00004ef60 sp=0xc00004ef30 pc=0x43fe27
        runtime.main()
        	/workdir/go/src/runtime/proc.go:190 +0x1da fp=0xc00004efe0 sp=0xc00004ef60 pc=0x43395a
        runtime.goexit()
        	/workdir/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc00004efe8 sp=0xc00004efe0 pc=0x465a01
        
        goroutine 2 [force gc (idle)]:
        runtime.gopark(0x67e938, 0x832550, 0x1411, 0x1)
        	/workdir/go/src/runtime/proc.go:304 +0xe0 fp=0xc000040fb0 sp=0xc000040f90 pc=0x433d70
        runtime.goparkunlock(...)
        	/workdir/go/src/runtime/proc.go:310
        runtime.forcegchelper()
        	/workdir/go/src/runtime/proc.go:253 +0xb7 fp=0xc000040fe0 sp=0xc000040fb0 pc=0x433c27
        runtime.goexit()
        	/workdir/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x465a01
        created by runtime.init.5
        	/workdir/go/src/runtime/proc.go:242 +0x35
        
        goroutine 3 [GC sweep wait]:
        runtime.gopark(0x67e938, 0x832940, 0x140c, 0x1)
        	/workdir/go/src/runtime/proc.go:304 +0xe0 fp=0xc0000417a8 sp=0xc000041788 pc=0x433d70
        runtime.goparkunlock(...)
        	/workdir/go/src/runtime/proc.go:310
        runtime.bgsweep(0xc000014070)
        	/workdir/go/src/runtime/mgcsweep.go:70 +0x9c fp=0xc0000417d8 sp=0xc0000417a8 pc=0x4253fc
        runtime.goexit()
        	/workdir/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000417e0 sp=0xc0000417d8 pc=0x465a01
        created by runtime.gcenable
        	/workdir/go/src/runtime/mgc.go:210 +0x5c
        
        goroutine 4 [GC scavenge wait]:
        runtime.gopark(0x67e938, 0x832b00, 0x140d, 0x1)
        	/workdir/go/src/runtime/proc.go:304 +0xe0 fp=0xc000041f38 sp=0xc000041f18 pc=0x433d70
        runtime.goparkunlock(...)
        	/workdir/go/src/runtime/proc.go:310
        runtime.bgscavenge(0xc000014070)
        	/workdir/go/src/runtime/mgcscavenge.go:257 +0xe1 fp=0xc000041fd8 sp=0xc000041f38 pc=0x424a51
        runtime.goexit()
        	/workdir/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000041fe0 sp=0xc000041fd8 pc=0x465a01
        created by runtime.gcenable
        	/workdir/go/src/runtime/mgc.go:211 +0x7e
        
        goroutine 18 [finalizer wait]:
        runtime.gopark(0x67e938, 0x84ec18, 0x1410, 0x1)
        	/workdir/go/src/runtime/proc.go:304 +0xe0 fp=0xc000040758 sp=0xc000040738 pc=0x433d70
        runtime.goparkunlock(...)
        	/workdir/go/src/runtime/proc.go:310
        runtime.runfinq()
        	/workdir/go/src/runtime/mfinal.go:175 +0xa3 fp=0xc0000407e0 sp=0xc000040758 pc=0x41acd3
        runtime.goexit()
        	/workdir/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x465a01
        created by runtime.createfing
        	/workdir/go/src/runtime/mfinal.go:156 +0x61
        
        goroutine 5 [running]:
        	goroutine running on other thread; stack unavailable
        created by runtime_test.init.2
        	/workdir/go/src/runtime/crash_unix_test.go:240 +0x75
        
        rax    0x2
        rbx    0x0
        rcx    0x467315
        rdx    0x2
        rdi    0x2
        rsi    0x66a462
        rbp    0x7ffe6832def0
        rsp    0x7ffe6832deb8
        r8     0x2
        r9     0x2
        r10    0x4
        r11    0x246
        r12    0xf1
        r13    0x0
        r14    0x6b2fa8
        r15    0x0
        rip    0x467315
        rflags 0x246
        cs     0x33
        fs     0x0
        gs     0x0
        
        -----
        
        
FAIL
FAIL	runtime	174.345s

I've only seen this once, so it's not clear to me whether this is an existing issue, but see previously #26393.

CC @aclements @mknyszek

@bcmills bcmills added this to the Go1.14 milestone Aug 13, 2019
@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.