Skip to content

os/exec: panic in (*Cmd).Start.func2 on openbsd-amd64-68 #52801

@bcmills

Description

@bcmills

https://storage.googleapis.com/go-build-log/84130882/openbsd-amd64-68_97af332c.log (a TryBot):

            > go test -v foo_test.go
            [stderr]
            panic: runtime error: invalid memory address or nil pointer dereference
            [signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x55f005]
            
            goroutine 441 [running]:
            panic({0xa57620, 0xf64e30})
            	/tmp/workdir/go/src/runtime/panic.go:969 +0x3ba fp=0xc00073a778 sp=0xc00073a6b8 pc=0x437bda
            runtime.panicmem(...)
            	/tmp/workdir/go/src/runtime/panic.go:242
            runtime.sigpanic()
            	/tmp/workdir/go/src/runtime/signal_unix.go:823 +0x336 fp=0xc00073a7c8 sp=0xc00073a778 pc=0x44e396
            os/exec.(*Cmd).Start.func2()
            	/tmp/workdir/go/src/os/exec/exec.go:537 +0x25 fp=0xc00073a7e0 sp=0xc00073a7c8 pc=0x55f005
            runtime.goexit()
            	/tmp/workdir/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00073a7e8 sp=0xc00073a7e0 pc=0x46bba1
            created by os/exec.(*Cmd).Start
            	/tmp/workdir/go/src/os/exec/exec.go:535 +0x6be

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-OpenBSD

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions