Of note, if /usr/local/bin/hello is not executable, then the following happens:
Failed to create pod sandbox: rpc error: code = Unknown desc = container create failed: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x562180e63a48] goroutine 7 [running]: os.(*Process).wait(0x0, 0xc000000004, 0xc00035db50, 0x1) /usr/lib/golang/src/os/exec_unix.go:17 +0x28 os.(*Process).Wait(...) /usr/lib/golang/src/os/exec.go:125 github.com/kata-containers/runtime/virtcontainers.(*qemu).setupVirtiofsd.func1(0x562181bea460, 0xc00058a040, 0xc0001ca500, 0xc0002dc000) /home/ddd/go/src/github.com/kata-containers/runtime/virtcontainers/qemu.go:689 +0x4a5 created by github.com/kata-containers/runtime/virtcontainers.(*qemu).setupVirtiofsd /home/ddd/go/src/github.com/kata-containers/runtime/virtcontainers/qemu.go:682 +0x2d8 Warning FailedCreatePodSandBox 53s (x17 over 4m38s) kubelet, muse (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = container create failed: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55fdd99cea48]
Of note, if /usr/local/ bin/hello is not executable, then the following happens:
Failed to create pod sandbox: rpc error: code = Unknown desc = container create failed: panic: runtime error: invalid memory address or nil pointer dereference .wait(0x0, 0xc000000004, 0xc00035db50, 0x1) lib/golang/ src/os/ exec_unix. go:17 +0x28 .Wait(. ..) lib/golang/ src/os/ exec.go: 125 com/kata- containers/ runtime/ virtcontainers. (*qemu) .setupVirtiofsd .func1( 0x562181bea460, 0xc00058a040, 0xc0001ca500, 0xc0002dc000) ddd/go/ src/github. com/kata- containers/ runtime/ virtcontainers/ qemu.go: 689 +0x4a5 com/kata- containers/ runtime/ virtcontainers. (*qemu) .setupVirtiofsd
/home/ ddd/go/ src/github. com/kata- containers/ runtime/ virtcontainers/ qemu.go: 682 +0x2d8 SandBox 53s (x17 over 4m38s) kubelet, muse (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = container create failed: panic: runtime error: invalid memory address or nil
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x562180e63a48]
goroutine 7 [running]:
os.(*Process)
/usr/
os.(*Process)
/usr/
github.
/home/
created by github.
Warning FailedCreatePod
pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55fdd99cea48]