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: runtime: unexpected return pc for go/parser.(*resolver).Visit on openbsd-amd64-70 TryBot #51487

Closed
bcmills opened this issue Mar 4, 2022 · 5 comments
Labels
NeedsInvestigation OS-OpenBSD WaitingForInfo
Milestone

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Mar 4, 2022

From https://storage.googleapis.com/go-build-log/7d7b9bbc/openbsd-amd64-70_b14b6b42.log (a TryBot run on CL 390075):

runtime: unexpected return pc for go/parser.(*resolver).Visit called from 0x4000
--- FAIL: TestGeneratedFiles (21.88s)
    gorename_test.go:291: 3: -from "mytest/0.go::f" -to "g": unexpected command output: runtime: unexpected return pc for go/parser.(*resolver).Visit called from 0x4000
        stack: frame={sp:0xc00042d340, fp:0xc00042dba8} stack=[0xc000426000,0xc00042e000)
        0x000000c00042d240:  0x0000000000000010  0x000000c00003a800 
        0x000000c00042d250:  0x000000c0002c1370  0x000000c00025eea0 
        0x000000c00042d260:  0x000000000060f320  0x000000c00042d290 
        0x000000c00042d270:  0x000000000040a216 <runtime.convI2I+0x0000000000000036>  0x00000000005ef9a0 
        0x000000c00042d280:  0x00000000005f0f20  0x000000c00025b300 
        0x000000c00042d290:  0x000000c00042d330  0x000000000050094e <go/parser.(*resolver).walkBody+0x000000000000022e> 
        0x000000c00042d2a0:  0x0000000000668088  0x000000c000050ea0 
        0x000000c00042d2b0:  0x0000000000668c40  0x000000c0001dfd40 
        0x000000c00042d2c0:  0x0000000000000000  0x000000c0003c65f0 
        0x000000c00042d2d0:  0x0000000000000000  0x000000c0000171a3 
        0x000000c00042d2e0:  0x010000c000186140  0x0000000000000006 
        0x000000c00042d2f0:  0x0000000000000001  0x000000c0001dfd40 
        0x000000c00042d300:  0x0000000000000000  0x000000c00024e510 
        0x000000c00042d310:  0x000000c0003c2d80  0x00000000005009a0 <go/parser.(*resolver).walkBody.func1+0x0000000000000000> 
        0x000000c00042d320:  0x000000c000050ea0  0x000000c00042d318 
        0x000000c00042d330:  0x000000c00042db98  0x00000000004ff517 <go/parser.(*resolver).Visit+0x00000000000029d7> 
        0x000000c00042d340: <0x000000c000050ea0  0x000000c0002c7bc0 
        0x000000c00042d350:  0x0000000000000001  0x000000c000050ea0 
        0x000000c00042d360:  0x00000000005ed560  0x000000c0001dfb80 
        0x000000c00042d370:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d380:  0x000000c0002c1360  0x0000000000000004 
        0x000000c00042d390:  0x00000000006695e0  0x000000c0003c0080 
        0x000000c00042d3a0:  0x0000000000000008  0x000000c0003220c0 
        0x000000c00042d3b0:  0x00000000000379e9  0x000000c00022fc38 
        0x000000c00042d3c0:  0x00000000004f3a7f <go/parser.(*parser).parseUnaryExpr+0x000000000000033f>  0x000000c000322000 
        0x000000c00042d3d0:  0x0000000000000000  0x000000c0004774a8 
        0x000000c00042d3e0:  0x00000000004f3eb0 <go/parser.(*parser).parseBinaryExpr+0x0000000000000170>  0x000000c000322000 
        0x000000c00042d3f0:  0x000000c000477470  0x0000000000000001 
        0x000000c00042d400:  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf>  0x000000c000322020 
        0x000000c00042d410:  0x0000000000000002  0x000000c000000000 
        0x000000c00042d420:  0x000000c00042d340  0x00000000004fccc5 <go/parser.(*resolver).Visit+0x0000000000000185> 
        0x000000c00042d430:  0x000000c00042daa8  0x0000000000000000 
        0x000000c00042d440:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d450:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d460:  0x00000000006695e0  0x000000c0003c0080 
        0x000000c00042d470:  0x000000c000477608  0x0000007d004e7b3e 
        0x000000c00042d480:  0x000000000000ba5b  0x00000002e04537d0 
        0x000000c00042d490:  0x0000000000000010  0x00000000000379f7 
        0x000000c00042d4a0:  0x0000000000000010  0x000000c00003a800 
        0x000000c00042d4b0:  0x000000c0002c0f10  0x000000c00025eea0 
        0x000000c00042d4c0:  0x0000000000000000  0x000000c0004774c0 
        0x000000c00042d4d0:  0x0000000000000030  0x000000c000477558 
        0x000000c00042d4e0:  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007>  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf> 
        0x000000c00042d4f0:  0x000000c000322020  0x000000c0003c00c0 
        0x000000c00042d500:  0x0000000000000000  0x0000000000000003 
        0x000000c00042d510:  0x0000000000000000  0x000000c0001100e8 
        0x000000c00042d520:  0x000000c000477560  0x00000000004b5be7 <go/scanner.(*Scanner).next+0x0000000000000047> 
        0x000000c00042d530:  0x000000c0001100c0  0x000000000000ba5d 
        0x000000c00042d540:  0x000000c0004775e8  0x0000000000000030 
        0x000000c00042d550:  0x000000c0004776f0  0x000000c0004776f0 
        0x000000c00042d560:  0x000000c000477610  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5> 
        0x000000c00042d570:  0x000100c000322020  0x000000c000062180 
        0x000000c00042d580:  0x0000000000000040  0x00000002c35fef18 
        0x000000c00042d590:  0x00000000006695e0  0x000000c00003a800 
        0x000000c00042d5a0:  0x000000c0003220c8  0x000000c00025eea0 
        0x000000c00042d5b0:  0x000000000000ba5c  0x000000c0004775f0 
        0x000000c00042d5c0:  0x000000000041199d <runtime.mapaccess2_faststr+0x000000000000019d>  0x0000000000000006 
        0x000000c00042d5d0:  0x0000000000000000  0x00000000004b7200 <go/scanner.(*Scanner).scanIdentifier+0x0000000000000100> 
        0x000000c00042d5e0:  0x000000c0001100e8  0x000000c000477628 
        0x000000c00042d5f0:  0x00000000004b5be7 <go/scanner.(*Scanner).next+0x0000000000000047>  0x000000c0001100c0 
        0x000000c00042d600:  0x000000000000ba65  0x000000c00057da5e 
        0x000000c00042d610:  0x000000c000070380  0x000000c000322020 
        0x000000c00042d620:  0x000000c0004776d0  0x000000c0004776d8 
        0x000000c00042d630:  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5>  0x000000c000322020 
        0x000000c00042d640:  0x000000c00022fc42  0x000000c0004776f8 
        0x000000c00042d650:  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5>  0x000000c000322020 
        0x000000c00042d660:  0x0000000000000001  0x00000072cff5cfff 
        0x000000c00042d670:  0x0000000a0000ba5e  0x000000000000ba64 
        0x000000c00042d680:  0x0000000000000400  0x00000000000379fa 
        0x000000c00042d690:  0x0000007d00037a00  0x000000000000ba65 
        0x000000c00042d6a0:  0x00000002cfd7b200  0x00000002cfd7b100 
        0x000000c00042d6b0:  0x0000000000037a01  0x000000c00022fc40 
        0x000000c00042d6c0:  0x000000c0004776b8  0x0000000000000000 
        0x000000c00042d6d0:  0x000000c000477750  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007> 
        0x000000c00042d6e0:  0x000000c0004776f8  0x00000000004b32a6 <go/token.(*File).unpack.func1+0x0000000000000026> 
        0x000000c00042d6f0:  0x000000c0001100e8  0x000000c000477738 
        0x000000c00042d700:  0x00000000004b5d34 <go/scanner.(*Scanner).next+0x0000000000000194>  0x000000c0001100c0 
        0x000000c00042d710:  0x000000000000babc  0x0000000100000010 
        0x000000c00042d720:  0x00000002c35fef18  0x0000000000000002 
        0x000000c00042d730:  0x0000000000000769  0x000000c000477750 
        0x000000c00042d740:  0x00000000004b82e5 <go/scanner.(*Scanner).skipWhitespace+0x0000000000000025>  0x000000c000322020 
        0x000000c00042d750:  0x000000c000477800  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5> 
        0x000000c00042d760:  0x000000c000322020  0x000000c000477758 
        0x000000c00042d770:  0x000000c0004777c0  0x00000000004b3314 <go/token.(*File).position+0x0000000000000034> 
        0x000000c00042d780:  0x000000c0001100c0  0x000000000000ba87 
        0x000000c00042d790:  0x000000c0001100e8  0xffffffff00268040 
        0x000000c00042d7a0:  0x000000000000babc  0x000000000000ba87 
        0x000000c00042d7b0:  0x0000000000000769  0x0000000000037a58 
        0x000000c00042d7c0:  0x000000c000477878  0x00000000004b33df <go/token.(*File).PositionFor+0x000000000000005f> 
        0x000000c00042d7d0:  0x000000c000268040  0x000000c000477850 
        0x000000c00042d7e0:  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4>  0x000000c0004777e0 
        0x000000c00042d7f0:  0x0000000000000010  0x000000c000477878 
        0x000000c00042d800:  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007>  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf> 
        0x000000c00042d810:  0x000000c000322020  0x0000000000000010 
        0x000000c00042d820:  0x000000c000477898  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042d830:  0x000000c00003a800  0x000000c000245128 
        0x000000c00042d840:  0x000000c00025eea0  0x000000c000477900 
        0x000000c00042d850:  0x000000c000477878  0x00000002c360a390 
        0x000000c00042d860:  0x000000c0004778d8  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042d870:  0x0000000000000008  0x000000c00003a800 
        0x000000c00042d880:  0x000000c0000afb60  0x000000c00025eea0 
        0x000000c00042d890:  0x000000c0002c0f30  0x00000000004b32a6 <go/token.(*File).unpack.func1+0x0000000000000026> 
        0x000000c00042d8a0:  0x0000000000000008  0x000000c000477920 
        0x000000c00042d8b0:  0x00000000004b3163 <go/token.(*File).unpack+0x00000000000001a3>  0x000000c00003a800 
        0x000000c00042d8c0:  0x000000c000245140  0x000000c00025eea0 
        0x000000c00042d8d0:  0x0000000000000000  0x000000c000477900 
        0x000000c00042d8e0:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d8f0:  0x0000000000203000  0x000000c000268040 
        0x000000c00042d900:  0x0000000000000035  0x00000000004b3280 <go/token.(*File).unpack.func1+0x0000000000000000> 
        0x000000c00042d910:  0x000000c0001100e8  0x000000c000477908 
        0x000000c00042d920:  0x000000c000477970  0x00000000004b3314 <go/token.(*File).position+0x0000000000000034> 
        0x000000c00042d930:  0x000000c0001100c0  0x000000000000babc 
        0x000000c00042d940:  0x000000c00022fc48  0x000000c000268040 
        0x000000c00042d950:  0x000000c000045600  0x000000c0001dfb00 
        0x000000c00042d960:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d970:  0x000000c000477a28  0x00000000004b33df <go/token.(*File).PositionFor+0x000000000000005f> 
        0x000000c00042d980:  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf>  0x000000c000268040 
        0x000000c00042d990:  0x0000000000000035  0x000000000000ba87 
        0x000000c00042d9a0:  0x0000000000000769  0x000000c000268040 
        0x000000c00042d9b0:  0x0000000000000035  0x000000000000babc 
        0x000000c00042d9c0:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d9d0:  0x000000c000268040  0x0000000000000035 
        0x000000c00042d9e0:  0x000000000000babc  0x0000000000000769 
        0x000000c00042d9f0:  0x0000000000000036  0x0000000000000001 
        0x000000c00042da00:  0x000000c000268040  0x0000000000000035 
        0x000000c00042da10:  0x000000000000ba87  0x0000000000000769 
        0x000000c00042da20:  0x0000000000000001  0x000000c000477bc0 
        0x000000c00042da30:  0x00000000004e7e05 <go/parser.(*parser).next+0x0000000000000345>  0x000000c0001100c0 
        0x000000c00042da40:  0x0000000000000001  0x000000c000477ac0 
        0x000000c00042da50:  0x0000000000000769  0x0000000000037a21 
        0x000000c00042da60:  0x0000000000000769  0x000000c000245140 
        0x000000c00042da70:  0x000000c0003220c8  0x000000c0003220c0 
        0x000000c00042da80:  0x000000c0003c2d50  0x000000c0002c7bf0 
        0x000000c00042da90:  0x000000c000185f40  0x0000000000000000 
        0x000000c00042daa0:  0x0000000000000000  0x00000000004ff740 <go/parser.(*resolver).Visit.func16+0x0000000000000000> 
        0x000000c00042dab0:  0x000000c000050ea0  0x0000000221830ce8 
        0x000000c00042dac0:  0x000000c00025bae8  0x000000000040c827 <runtime.newobject+0x0000000000000027> 
        0x000000c00042dad0:  0x0000000000203000  0x0000000000203000 
        0x000000c00042dae0:  0x0000000000203000  0x000000c0003b16a0 
        0x000000c00042daf0:  0x000000000000001e  0x000000c000268040 
        0x000000c00042db00:  0x0000000000000000  0x000000000000ba87 
        0x000000c00042db10:  0x0000000000000769  0x0000000000000001 
        0x000000c00042db20:  0x000000c00025bb98  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042db30:  0x000000000000babc  0x0000000000000020 
        fatal error: unknown caller pc
        
        runtime stack:
        runtime.throw({0x61eff5?, 0x76d860?})
        	/tmp/workdir/go/src/runtime/panic.go:992 +0x71
        runtime.gentraceback(0x0?, 0x0?, 0x7fffffff?, 0x62c340?, 0x0, 0x0, 0x7fffffff, 0x62c340, 0x2000?, 0x0)
        	/tmp/workdir/go/src/runtime/traceback.go:254 +0x1a36
        runtime.copystack(0xc00025eea0, 0x800000002?)
        	/tmp/workdir/go/src/runtime/stack.go:930 +0x2f5
        runtime.newstack()
        	/tmp/workdir/go/src/runtime/stack.go:1110 +0x497
        runtime.morestack()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:547 +0x8b
        
        goroutine 50 [copystack]:
        go/parser.(*resolver).Visit(0xc000050ea0, {0x668c18?, 0xc000186260?})
        	/tmp/workdir/go/src/go/parser/resolver.go:246 +0x2be7 fp=0xc00042aad0 sp=0xc00042aac8 pc=0x4ff727
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x668c18?, 0xc000186260?})
        	/tmp/workdir/go/src/go/ast/walk.go:52 +0x62 fp=0xc00042abd8 sp=0xc00042aad0 pc=0x4bdbc2
        go/parser.(*resolver).Visit(0xc000050ea0, {0x668e70?, 0xc000349320?})
        	/tmp/workdir/go/src/go/parser/resolver.go:264 +0xb16 fp=0xc00042b440 sp=0xc00042abd8 pc=0x4fd656
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x668e70?, 0xc000349320?})
        	/tmp/workdir/go/src/go/ast/walk.go:52 +0x62 fp=0xc00042b548 sp=0xc00042b440 pc=0x4bdbc2
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x6688d0?, 0xc0001dfc40?})
        	/tmp/workdir/go/src/go/ast/walk.go:144 +0xa65 fp=0xc00042b650 sp=0xc00042b548 pc=0x4be5c5
        go/parser.(*resolver).walkExprs(...)
        	/tmp/workdir/go/src/go/parser/resolver.go:227
        go/parser.(*resolver).Visit(0xc000050ea0, {0x668790?, 0xc0001dfc80?})
        	/tmp/workdir/go/src/go/parser/resolver.go:309 +0x214d fp=0xc00042beb8 sp=0xc00042b650 pc=0x4fec8d
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x668790?, 0xc0001dfc80?})
        	/tmp/workdir/go/src/go/ast/walk.go:52 +0x62 fp=0xc00042bfc0 sp=0xc00042beb8 pc=0x4bdbc2
        go/parser.(*resolver).walkStmts(...)
        	/tmp/workdir/go/src/go/parser/resolver.go:242
        go/parser.(*resolver).Visit(0xc000050ea0, {0x668880?, 0xc0002c7b00?})
        	/tmp/workdir/go/src/go/parser/resolver.go:326 +0x1fae fp=0xc00042c828 sp=0xc00042bfc0 pc=0x4feaee
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x668880?, 0xc0002c7b00?})
        	/tmp/workdir/go/src/go/ast/walk.go:52 +0x62 fp=0xc00042c930 sp=0xc00042c828 pc=0x4bdbc2
        go/parser.(*resolver).Visit(0xc000050ea0, {0x668c40?, 0xc0001dfd40?})
        	/tmp/workdir/go/src/go/parser/resolver.go:335 +0x1c65 fp=0xc00042d198 sp=0xc00042c930 pc=0x4fe7a5
        go/ast.Walk({0x668088?, 0xc000050ea0?}, {0x668c40?, 0xc0001dfd40?})
        	/tmp/workdir/go/src/go/ast/walk.go:52 +0x62 fp=0xc00042d2a0 sp=0xc00042d198 pc=0x4bdbc2
        go/parser.(*resolver).walkStmts(...)
        	/tmp/workdir/go/src/go/parser/resolver.go:242
        go/parser.(*resolver).walkBody(0xc000050ea0, 0xc0002c7bc0)
        	/tmp/workdir/go/src/go/parser/resolver.go:607 +0x22e fp=0xc00042d340 sp=0xc00042d2a0 pc=0x50094e
        runtime: unexpected return pc for go/parser.(*resolver).Visit called from 0x4000
        stack: frame={sp:0xc00042d340, fp:0xc00042dba8} stack=[0xc000426000,0xc00042e000)
        0x000000c00042d240:  0x0000000000000010  0x000000c00003a800 
        0x000000c00042d250:  0x000000c0002c1370  0x000000c00025eea0 
        0x000000c00042d260:  0x000000000060f320  0x000000c00042d290 
        0x000000c00042d270:  0x000000000040a216 <runtime.convI2I+0x0000000000000036>  0x00000000005ef9a0 
        0x000000c00042d280:  0x00000000005f0f20  0x000000c00025b300 
        0x000000c00042d290:  0x000000c00042d330  0x000000000050094e <go/parser.(*resolver).walkBody+0x000000000000022e> 
        0x000000c00042d2a0:  0x0000000000668088  0x000000c000050ea0 
        0x000000c00042d2b0:  0x0000000000668c40  0x000000c0001dfd40 
        0x000000c00042d2c0:  0x0000000000000000  0x000000c0003c65f0 
        0x000000c00042d2d0:  0x0000000000000000  0x000000c0000171a3 
        0x000000c00042d2e0:  0x010000c000186140  0x0000000000000006 
        0x000000c00042d2f0:  0x0000000000000001  0x000000c0001dfd40 
        0x000000c00042d300:  0x0000000000000000  0x000000c00024e510 
        0x000000c00042d310:  0x000000c0003c2d80  0x00000000005009a0 <go/parser.(*resolver).walkBody.func1+0x0000000000000000> 
        0x000000c00042d320:  0x000000c000050ea0  0x000000c00042d318 
        0x000000c00042d330:  0x000000c00042db98  0x00000000004ff517 <go/parser.(*resolver).Visit+0x00000000000029d7> 
        0x000000c00042d340: <0x000000c000050ea0  0x000000c0002c7bc0 
        0x000000c00042d350:  0x0000000000000001  0x000000c000050ea0 
        0x000000c00042d360:  0x00000000005ed560  0x000000c0001dfb80 
        0x000000c00042d370:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d380:  0x000000c0002c1360  0x0000000000000004 
        0x000000c00042d390:  0x00000000006695e0  0x000000c0003c0080 
        0x000000c00042d3a0:  0x0000000000000008  0x000000c0003220c0 
        0x000000c00042d3b0:  0x00000000000379e9  0x000000c00022fc38 
        0x000000c00042d3c0:  0x00000000004f3a7f <go/parser.(*parser).parseUnaryExpr+0x000000000000033f>  0x000000c000322000 
        0x000000c00042d3d0:  0x0000000000000000  0x000000c0004774a8 
        0x000000c00042d3e0:  0x00000000004f3eb0 <go/parser.(*parser).parseBinaryExpr+0x0000000000000170>  0x000000c000322000 
        0x000000c00042d3f0:  0x000000c000477470  0x0000000000000001 
        0x000000c00042d400:  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf>  0x000000c000322020 
        0x000000c00042d410:  0x0000000000000002  0x000000c000000000 
        0x000000c00042d420:  0x000000c00042d340  0x00000000004fccc5 <go/parser.(*resolver).Visit+0x0000000000000185> 
        0x000000c00042d430:  0x000000c00042daa8  0x0000000000000000 
        0x000000c00042d440:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d450:  0x0000000000000000  0x0000000000000000 
        0x000000c00042d460:  0x00000000006695e0  0x000000c0003c0080 
        0x000000c00042d470:  0x000000c000477608  0x0000007d004e7b3e 
        0x000000c00042d480:  0x000000000000ba5b  0x00000002e04537d0 
        0x000000c00042d490:  0x0000000000000010  0x00000000000379f7 
        0x000000c00042d4a0:  0x0000000000000010  0x000000c00003a800 
        0x000000c00042d4b0:  0x000000c0002c0f10  0x000000c00025eea0 
        0x000000c00042d4c0:  0x0000000000000000  0x000000c0004774c0 
        0x000000c00042d4d0:  0x0000000000000030  0x000000c000477558 
        0x000000c00042d4e0:  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007>  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf> 
        0x000000c00042d4f0:  0x000000c000322020  0x000000c0003c00c0 
        0x000000c00042d500:  0x0000000000000000  0x0000000000000003 
        0x000000c00042d510:  0x0000000000000000  0x000000c0001100e8 
        0x000000c00042d520:  0x000000c000477560  0x00000000004b5be7 <go/scanner.(*Scanner).next+0x0000000000000047> 
        0x000000c00042d530:  0x000000c0001100c0  0x000000000000ba5d 
        0x000000c00042d540:  0x000000c0004775e8  0x0000000000000030 
        0x000000c00042d550:  0x000000c0004776f0  0x000000c0004776f0 
        0x000000c00042d560:  0x000000c000477610  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5> 
        0x000000c00042d570:  0x000100c000322020  0x000000c000062180 
        0x000000c00042d580:  0x0000000000000040  0x00000002c35fef18 
        0x000000c00042d590:  0x00000000006695e0  0x000000c00003a800 
        0x000000c00042d5a0:  0x000000c0003220c8  0x000000c00025eea0 
        0x000000c00042d5b0:  0x000000000000ba5c  0x000000c0004775f0 
        0x000000c00042d5c0:  0x000000000041199d <runtime.mapaccess2_faststr+0x000000000000019d>  0x0000000000000006 
        0x000000c00042d5d0:  0x0000000000000000  0x00000000004b7200 <go/scanner.(*Scanner).scanIdentifier+0x0000000000000100> 
        0x000000c00042d5e0:  0x000000c0001100e8  0x000000c000477628 
        0x000000c00042d5f0:  0x00000000004b5be7 <go/scanner.(*Scanner).next+0x0000000000000047>  0x000000c0001100c0 
        0x000000c00042d600:  0x000000000000ba65  0x000000c00057da5e 
        0x000000c00042d610:  0x000000c000070380  0x000000c000322020 
        0x000000c00042d620:  0x000000c0004776d0  0x000000c0004776d8 
        0x000000c00042d630:  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5>  0x000000c000322020 
        0x000000c00042d640:  0x000000c00022fc42  0x000000c0004776f8 
        0x000000c00042d650:  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5>  0x000000c000322020 
        0x000000c00042d660:  0x0000000000000001  0x00000072cff5cfff 
        0x000000c00042d670:  0x0000000a0000ba5e  0x000000000000ba64 
        0x000000c00042d680:  0x0000000000000400  0x00000000000379fa 
        0x000000c00042d690:  0x0000007d00037a00  0x000000000000ba65 
        0x000000c00042d6a0:  0x00000002cfd7b200  0x00000002cfd7b100 
        0x000000c00042d6b0:  0x0000000000037a01  0x000000c00022fc40 
        0x000000c00042d6c0:  0x000000c0004776b8  0x0000000000000000 
        0x000000c00042d6d0:  0x000000c000477750  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007> 
        0x000000c00042d6e0:  0x000000c0004776f8  0x00000000004b32a6 <go/token.(*File).unpack.func1+0x0000000000000026> 
        0x000000c00042d6f0:  0x000000c0001100e8  0x000000c000477738 
        0x000000c00042d700:  0x00000000004b5d34 <go/scanner.(*Scanner).next+0x0000000000000194>  0x000000c0001100c0 
        0x000000c00042d710:  0x000000000000babc  0x0000000100000010 
        0x000000c00042d720:  0x00000002c35fef18  0x0000000000000002 
        0x000000c00042d730:  0x0000000000000769  0x000000c000477750 
        0x000000c00042d740:  0x00000000004b82e5 <go/scanner.(*Scanner).skipWhitespace+0x0000000000000025>  0x000000c000322020 
        0x000000c00042d750:  0x000000c000477800  0x00000000004b85c5 <go/scanner.(*Scanner).Scan+0x00000000000000e5> 
        0x000000c00042d760:  0x000000c000322020  0x000000c000477758 
        0x000000c00042d770:  0x000000c0004777c0  0x00000000004b3314 <go/token.(*File).position+0x0000000000000034> 
        0x000000c00042d780:  0x000000c0001100c0  0x000000000000ba87 
        0x000000c00042d790:  0x000000c0001100e8  0xffffffff00268040 
        0x000000c00042d7a0:  0x000000000000babc  0x000000000000ba87 
        0x000000c00042d7b0:  0x0000000000000769  0x0000000000037a58 
        0x000000c00042d7c0:  0x000000c000477878  0x00000000004b33df <go/token.(*File).PositionFor+0x000000000000005f> 
        0x000000c00042d7d0:  0x000000c000268040  0x000000c000477850 
        0x000000c00042d7e0:  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4>  0x000000c0004777e0 
        0x000000c00042d7f0:  0x0000000000000010  0x000000c000477878 
        0x000000c00042d800:  0x000000000045e887 <runtime.gcWriteBarrierCX+0x0000000000000007>  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf> 
        0x000000c00042d810:  0x000000c000322020  0x0000000000000010 
        0x000000c00042d820:  0x000000c000477898  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042d830:  0x000000c00003a800  0x000000c000245128 
        0x000000c00042d840:  0x000000c00025eea0  0x000000c000477900 
        0x000000c00042d850:  0x000000c000477878  0x00000002c360a390 
        0x000000c00042d860:  0x000000c0004778d8  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042d870:  0x0000000000000008  0x000000c00003a800 
        0x000000c00042d880:  0x000000c0000afb60  0x000000c00025eea0 
        0x000000c00042d890:  0x000000c0002c0f30  0x00000000004b32a6 <go/token.(*File).unpack.func1+0x0000000000000026> 
        0x000000c00042d8a0:  0x0000000000000008  0x000000c000477920 
        0x000000c00042d8b0:  0x00000000004b3163 <go/token.(*File).unpack+0x00000000000001a3>  0x000000c00003a800 
        0x000000c00042d8c0:  0x000000c000245140  0x000000c00025eea0 
        0x000000c00042d8d0:  0x0000000000000000  0x000000c000477900 
        0x000000c00042d8e0:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d8f0:  0x0000000000203000  0x000000c000268040 
        0x000000c00042d900:  0x0000000000000035  0x00000000004b3280 <go/token.(*File).unpack.func1+0x0000000000000000> 
        0x000000c00042d910:  0x000000c0001100e8  0x000000c000477908 
        0x000000c00042d920:  0x000000c000477970  0x00000000004b3314 <go/token.(*File).position+0x0000000000000034> 
        0x000000c00042d930:  0x000000c0001100c0  0x000000000000babc 
        0x000000c00042d940:  0x000000c00022fc48  0x000000c000268040 
        0x000000c00042d950:  0x000000c000045600  0x000000c0001dfb00 
        0x000000c00042d960:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d970:  0x000000c000477a28  0x00000000004b33df <go/token.(*File).PositionFor+0x000000000000005f> 
        0x000000c00042d980:  0x00000000004e759f <go/parser.(*parser).next0+0x00000000000001bf>  0x000000c000268040 
        0x000000c00042d990:  0x0000000000000035  0x000000000000ba87 
        0x000000c00042d9a0:  0x0000000000000769  0x000000c000268040 
        0x000000c00042d9b0:  0x0000000000000035  0x000000000000babc 
        0x000000c00042d9c0:  0x0000000000000769  0x0000000000000036 
        0x000000c00042d9d0:  0x000000c000268040  0x0000000000000035 
        0x000000c00042d9e0:  0x000000000000babc  0x0000000000000769 
        0x000000c00042d9f0:  0x0000000000000036  0x0000000000000001 
        0x000000c00042da00:  0x000000c000268040  0x0000000000000035 
        0x000000c00042da10:  0x000000000000ba87  0x0000000000000769 
        0x000000c00042da20:  0x0000000000000001  0x000000c000477bc0 
        0x000000c00042da30:  0x00000000004e7e05 <go/parser.(*parser).next+0x0000000000000345>  0x000000c0001100c0 
        0x000000c00042da40:  0x0000000000000001  0x000000c000477ac0 
        0x000000c00042da50:  0x0000000000000769  0x0000000000037a21 
        0x000000c00042da60:  0x0000000000000769  0x000000c000245140 
        0x000000c00042da70:  0x000000c0003220c8  0x000000c0003220c0 
        0x000000c00042da80:  0x000000c0003c2d50  0x000000c0002c7bf0 
        0x000000c00042da90:  0x000000c000185f40  0x0000000000000000 
        0x000000c00042daa0:  0x0000000000000000  0x00000000004ff740 <go/parser.(*resolver).Visit.func16+0x0000000000000000> 
        0x000000c00042dab0:  0x000000c000050ea0  0x0000000221830ce8 
        0x000000c00042dac0:  0x000000c00025bae8  0x000000000040c827 <runtime.newobject+0x0000000000000027> 
        0x000000c00042dad0:  0x0000000000203000  0x0000000000203000 
        0x000000c00042dae0:  0x0000000000203000  0x000000c0003b16a0 
        0x000000c00042daf0:  0x000000000000001e  0x000000c000268040 
        0x000000c00042db00:  0x0000000000000000  0x000000000000ba87 
        0x000000c00042db10:  0x0000000000000769  0x0000000000000001 
        0x000000c00042db20:  0x000000c00025bb98  0x000000000040c4f4 <runtime.mallocgc+0x00000000000006f4> 
        0x000000c00042db30:  0x000000000000babc  0x0000000000000020 
        go/parser.(*resolver).Visit(0xd9fd1041, {0x0?, 0x0?})
        	/tmp/workdir/go/src/go/parser/resolver.go:499 +0x29d7 fp=0xc00042dba8 sp=0xc00042d340 pc=0x4ff517
        created by golang.org/x/tools/go/loader.parseFiles
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:44 +0x50a
        
        goroutine 1 [chan receive]:
        golang.org/x/tools/go/loader.(*importInfo).awaitCompletion(...)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:448
        golang.org/x/tools/go/loader.(*importer).importAll(0xc0000504e0, {0x0, 0x0}, {0xc000014044, 0x37}, 0xc00007cf00?, 0xc000014007?)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:914 +0x4fe
        golang.org/x/tools/go/loader.(*Config).Load(0xc0000a5740)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:522 +0x365
        golang.org/x/tools/refactor/rename.loadProgram(0x785600, 0xc0000629c0)
        	/tmp/workdir/gopath/src/golang.org/x/tools/refactor/rename/rename.go:393 +0x399
        golang.org/x/tools/refactor/rename.Main(0xc000050180?, {0x0, 0x0}, {0x7f7ffffe185f, 0x3f}, {0x7f7ffffe18a3, 0x1})
        	/tmp/workdir/gopath/src/golang.org/x/tools/refactor/rename/rename.go:251 +0x277
        main.main()
        	/tmp/workdir/gopath/src/golang.org/x/tools/cmd/gorename/main.go:53 +0x177
        
        goroutine 6 [chan receive]:
        golang.org/x/tools/go/loader.(*importInfo).awaitCompletion(...)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:448
        golang.org/x/tools/go/loader.(*importer).importAll(0xc0000504e0, {0xc0000141b1, 0x6}, {0xc000014880, 0x37}, 0x2?, 0x2?)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:914 +0x4fe
        golang.org/x/tools/go/loader.(*importer).addFiles(0xc0000504e0, 0xc0000b6000, {0xc000044bb0?, 0x2, 0x2}, 0x0?)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:1007 +0xa5
        golang.org/x/tools/go/loader.(*importer).load(0xc0000504e0, 0xc00003b400)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:982 +0xa9
        golang.org/x/tools/go/loader.(*importer).startLoad.func1()
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:963 +0x2a
        created by golang.org/x/tools/go/loader.(*importer).startLoad
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:962 +0x1ba
        
        goroutine 8 [runnable]:
        syscall.syscall(0x487740, 0xc00001a288, 0xc0003fda78, 0x0)
        	/tmp/workdir/go/src/runtime/sys_openbsd3.go:24 +0x3b
        syscall.Lstat({0xc00013c190?, 0x44ac90?}, 0xc0003fda78?)
        	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:970 +0xc6
        os.lstatNolog.func1(...)
        	/tmp/workdir/go/src/os/stat_unix.go:45
        os.ignoringEINTR(...)
        	/tmp/workdir/go/src/os/file_posix.go:245
        os.lstatNolog({0xc00013c190, 0x10})
        	/tmp/workdir/go/src/os/stat_unix.go:44 +0x4f
        os.Lstat({0xc00013c190, 0x10})
        	/tmp/workdir/go/src/os/stat.go:22 +0x34
        path/filepath.walkSymlinks({0xc000014007, 0xc0003812c0?})
        	/tmp/workdir/go/src/path/filepath/symlink.go:84 +0x174
        path/filepath.evalSymlinks(...)
        	/tmp/workdir/go/src/path/filepath/symlink_unix.go:6
        path/filepath.EvalSymlinks({0xc000014007?, 0x1?})
        	/tmp/workdir/go/src/path/filepath/path.go:235 +0x1e
        go/build.(*Context).hasSubdir(0xc00001e3d0?, {0xc000014007, 0x2c}, {0xc00001e3c0, 0x1f})
        	/tmp/workdir/go/src/go/build/build.go:163 +0x6e
        go/build.(*Context).Import.func3({0xc000014007, 0x2c}, 0x0)
        	/tmp/workdir/go/src/go/build/build.go:649 +0x98
        go/build.(*Context).Import(0x785600, {0xc00010c1eb, 0x4}, {0xc00001e3c0, 0x1f}, 0x0)
        	/tmp/workdir/go/src/go/build/build.go:679 +0x5288
        golang.org/x/tools/go/loader.(*importer).findPackage(0xc0000504e0, {0xc00010c1eb, 0x4}, {0xc00001e3c0, 0x1f}, 0x0)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:851 +0x2ba
        golang.org/x/tools/go/loader.(*importer).importAll(0xc0000504e0, {0xc000016c51, 0xb}, {0xc00001e3c0, 0x1f}, 0x2?, 0x7?)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:902 +0x2fd
        golang.org/x/tools/go/loader.(*importer).addFiles(0xc0000504e0, 0xc0001020b0, {0xc000131860?, 0x7, 0xa}, 0x0?)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:1007 +0xa5
        golang.org/x/tools/go/loader.(*importer).load(0xc0000504e0, 0xc00003bc00)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:982 +0xa9
        golang.org/x/tools/go/loader.(*importer).startLoad.func1()
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:963 +0x2a
        created by golang.org/x/tools/go/loader.(*importer).startLoad
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:962 +0x1ba
        
        goroutine 9 [semacquire]:
        sync.runtime_Semacquire(0xc000252720?)
        	/tmp/workdir/go/src/runtime/sema.go:56 +0x25
        sync.(*WaitGroup).Wait(0xc00005ee88?)
        	/tmp/workdir/go/src/sync/waitgroup.go:136 +0x52
        golang.org/x/tools/go/loader.parseFiles(0xc00006c5c0, 0x785600, 0x0, {0xc00001eda0, 0x1b}, {0xc00021e200, 0x1c, 0x5eb340?}, 0x4)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:67 +0x19e
        golang.org/x/tools/go/loader.(*Config).parsePackageFiles(0xc0000a5740, 0xc0000dcc00, 0x67)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:755 +0x18b
        golang.org/x/tools/go/loader.(*importer).load(0xc0000504e0, 0xc0000dcc00)
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:977 +0x68
        golang.org/x/tools/go/loader.(*importer).startLoad.func1()
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:963 +0x2a
        created by golang.org/x/tools/go/loader.(*importer).startLoad
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:962 +0x1ba
        
        goroutine 41 [runnable]:
        go/parser.(*parser).expect(0xc000388140?, 0x2c?)
        	/tmp/workdir/go/src/go/parser/parser.go:268 +0x92
        go/parser.(*parser).parseBinaryExpr(0xc000388140, {0x0?, 0x0?}, 0x1, 0x1)
        	/tmp/workdir/go/src/go/parser/parser.go:1821 +0x285
        go/parser.(*parser).parseExpr(0xc000095728?)
        	/tmp/workdir/go/src/go/parser/parser.go:1856 +0xf1
        go/parser.(*parser).parseExprList(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:458 +0x113
        go/parser.(*parser).parseList(0xc000388140, 0x8?)
        	/tmp/workdir/go/src/go/parser/parser.go:470 +0x2f
        go/parser.(*parser).parseSimpleStmt(0xc000388140, 0x0)
        	/tmp/workdir/go/src/go/parser/parser.go:1894 +0x127
        go/parser.(*parser).parseIfHeader(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:2082 +0x8c
        go/parser.(*parser).parseIfStmt(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:2132 +0x127
        go/parser.(*parser).parseStmt(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:2460 +0x38a
        go/parser.(*parser).parseStmtList(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:1299 +0x159
        go/parser.(*parser).parseBody(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:1311 +0x10e
        go/parser.(*parser).parseFuncDecl(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:2783 +0x258
        go/parser.(*parser).parseDecl(0xc000388140, 0x1?)
        	/tmp/workdir/go/src/go/parser/parser.go:2826 +0x139
        go/parser.(*parser).parseFile(0xc000388140)
        	/tmp/workdir/go/src/go/parser/parser.go:2879 +0x585
        go/parser.ParseFile(0xc00006c5c0, {0xc0001e1680, 0x26}, {0x615080?, 0xc000382d10?}, 0x0?)
        	/tmp/workdir/go/src/go/parser/interface.go:122 +0x185
        golang.org/x/tools/go/loader.parseFiles.func2(0xf, {0xc0001e1680, 0x26})
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:63 +0x1fe
        created by golang.org/x/tools/go/loader.parseFiles
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:44 +0x50a
        
        goroutine 43 [runnable]:
        go/token.(*File).AddLine(0xc000385c20, 0x66d)
        	/tmp/workdir/go/src/go/token/position.go:141 +0x97
        go/scanner.(*Scanner).next(0xc000388ca0)
        	/tmp/workdir/go/src/go/scanner/scanner.go:66 +0x47
        go/scanner.(*Scanner).skipWhitespace(0xc000388ca0)
        	/tmp/workdir/go/src/go/scanner/scanner.go:752 +0x25
        go/scanner.(*Scanner).Scan(0xc000388ca0)
        	/tmp/workdir/go/src/go/scanner/scanner.go:831 +0x3c
        go/parser.(*parser).next0(0xc000388c80)
        	/tmp/workdir/go/src/go/parser/parser.go:130 +0x187
        go/parser.(*parser).next(0xc000388c80)
        	/tmp/workdir/go/src/go/parser/parser.go:193 +0x7e
        go/parser.(*parser).expect(0x45e887?, 0x4ed1c5?)
        	/tmp/workdir/go/src/go/parser/parser.go:273 +0x74
        go/parser.(*parser).parseBody(0xc000388c80)
        	/tmp/workdir/go/src/go/parser/parser.go:1310 +0xfc
        go/parser.(*parser).parseFuncDecl(0xc000388c80)
        	/tmp/workdir/go/src/go/parser/parser.go:2783 +0x258
        go/parser.(*parser).parseDecl(0xc000388c80, 0xc0002f0680?)
        	/tmp/workdir/go/src/go/parser/parser.go:2826 +0x139
        go/parser.(*parser).parseFile(0xc000388c80)
        	/tmp/workdir/go/src/go/parser/parser.go:2879 +0x585
        go/parser.ParseFile(0xc00006c5c0, {0xc0001e16e0, 0x2e}, {0x615080?, 0xc000382c98?}, 0x0?)
        	/tmp/workdir/go/src/go/parser/interface.go:122 +0x185
        golang.org/x/tools/go/loader.parseFiles.func2(0x11, {0xc0001e16e0, 0x2e})
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:63 +0x1fe
        created by golang.org/x/tools/go/loader.parseFiles
        	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/util.go:44 +0x50a

CC @golang/runtime

@bcmills
Copy link
Member Author

@bcmills bcmills commented Mar 4, 2022

Although openbsd/amd64 is not a first class port, I am marking this as a release-blocker for Go 1.19 because it currently affects TryBots, which run for all CLs (including those intended to fix issues on first-class ports).

@bcmills bcmills added NeedsInvestigation OS-OpenBSD release-blocker labels Mar 4, 2022
@bcmills bcmills added this to the Go1.19 milestone Mar 4, 2022
@aclements
Copy link
Member

@aclements aclements commented Mar 16, 2022

@golang/runtime This test needs either a skip or a fix to keep the dashboard green.

@bcmills
Copy link
Member Author

@bcmills bcmills commented Mar 16, 2022

It isn't clear to me whether this is a skippable failure mode — it may or may not be test-specific. (It's N=1 samples, but that one sample was extra-annoying because it was a TryBot failure.)

I suppose we can move this to WaitingForInfo (and unmark it as release-blocker) pending more failures of this sort.

greplogs --dashboard -md -l -e '(?ms)\Aopenbsd-amd64.*runtime: unexpected return pc' --since=2022-01-01

@prattmic prattmic added WaitingForInfo and removed release-blocker labels Mar 22, 2022
@gopherbot
Copy link

@gopherbot gopherbot commented Apr 22, 2022

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@bcmills
Copy link
Member Author

@bcmills bcmills commented Apr 22, 2022

I suspect that this is another failure mode for the same root cause as #52046.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation OS-OpenBSD WaitingForInfo
Projects
None yet
Development

No branches or pull requests

5 participants