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/nm: TestGoExec failure with 'makeslice: len out of range' on plan9-arm #52895

Open
bcmills opened this issue May 13, 2022 · 1 comment
Open

cmd/nm: TestGoExec failure with 'makeslice: len out of range' on plan9-arm #52895

bcmills opened this issue May 13, 2022 · 1 comment
Labels
NeedsInvestigation OS-Plan9
Milestone

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented May 13, 2022

--- FAIL: TestGoExec (6.37s)
    nm_test.go:156: go tool nm: exit status: 'testnm.exe 47355: 2'
        panic: runtime error: makeslice: len out of range
        
        goroutine 1 [running]:
        panic({0x11a110, 0x168f04})
        	/boot/workdir/go/src/runtime/panic.go:969 +0x400 fp=0x1087dcf8 sp=0x1087dc98 pc=0x37f60
        runtime.panicmakeslicelen(...)
        	/boot/workdir/go/src/runtime/slice.go:29
        runtime.makeslice(0x123338, 0x70700100, 0x70700100)
        	/boot/workdir/go/src/runtime/slice.go:98 +0xec fp=0x1087dd0c sp=0x1087dcf8 pc=0x4c79c
        debug/pe.readCOFFSymbols(0x10890060, {0x16946c, 0x10800460})
        	/boot/workdir/go/src/debug/pe/symbol.go:60 +0xf8 fp=0x1087dd4c sp=0x1087dd0c pc=0xfdac0
        debug/pe.NewFile({0x1691a8, 0x10818348})
        	/boot/workdir/go/src/debug/pe/file.go:108 +0x3d4 fp=0x1087de00 sp=0x1087dd4c pc=0xfa220
        cmd/internal/objfile.openPE({0x1691a8, 0x10818348})
        	/boot/workdir/go/src/cmd/internal/objfile/pe.go:22 +0x24 fp=0x1087de1c sp=0x1087de00 pc=0x105bec
        cmd/internal/objfile.Open({0x3fffff98, 0x1f})
        	/boot/workdir/go/src/cmd/internal/objfile/objfile.go:81 +0x1a4 fp=0x1087de7c sp=0x1087de1c pc=0x105714
        main.nm({0x3fffff98, 0x1f})
        	/boot/workdir/go/src/cmd/nm/nm.go:102 +0x38 fp=0x1087df78 sp=0x1087de7c pc=0x108064
        main.main()
        	/boot/workdir/go/src/cmd/nm/nm.go:88 +0x284 fp=0x1087dfb8 sp=0x1087df78 pc=0x107f9c
        runtime.main()
        	/boot/workdir/go/src/runtime/proc.go:250 +0x2ac fp=0x1087dfec sp=0x1087dfb8 pc=0x3acec
        runtime.goexit()
        	/boot/workdir/go/src/runtime/asm_arm.s:824 +0x4 fp=0x1087dfec sp=0x1087dfec pc=0x636c4

greplogs -l -e 'FAIL: TestGoExec .*(?:\n[ ]+.*)* makeslice: len out of range'
2022-05-12T22:32:42-016d755/plan9-arm

(attn @golang/plan9; see previously #25820)

@bcmills bcmills added OS-Plan9 NeedsInvestigation labels May 13, 2022
@bcmills bcmills added this to the Unplanned milestone May 13, 2022
@bcmills
Copy link
Member Author

@bcmills bcmills commented May 16, 2022

Curiosly, two more of these. Looks like a new failure mode?

greplogs -l -e 'FAIL: TestGoExec .*(?:\n[ ]+.*)* makeslice: len out of range' --since=2022-05-13
2022-05-13T15:23:38-5a4ba6d/plan9-arm
2022-05-13T14:14:26-b553f51/plan9-arm

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

No branches or pull requests

1 participant