panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17689d3] goroutine 460975 [running]: panic({0x305940?, 0x25d0c60?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc0006654b8 sp=0xc000665408 pc=0x11ad0ec runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:861 +0x378 fp=0xc000665518 sp=0xc0006654b8 pc=0x11c60f8 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x0) pkg/sentry/vfs/mount.go:693 +0x33 fp=0xc000665538 sp=0xc000665518 pc=0x17689d3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0001785a0, 0x0) pkg/sentry/vfs/namespace.go:143 +0x385 fp=0xc000665648 sp=0xc000665538 pc=0x1770d45 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc000178320, 0xc006600fa0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665758 sp=0xc000665648 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc006600000, 0xc006600f00) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665868 sp=0xc000665758 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc006078140, 0xc006600e60) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665978 sp=0xc000665868 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc006714000, 0xc006600dc0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665a88 sp=0xc000665978 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0066000a0, 0xc006600d20) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665b98 sp=0xc000665a88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0001795e0, 0xc006600c80) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665ca8 sp=0xc000665b98 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0066003c0, 0xc006600be0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665db8 sp=0xc000665ca8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc005ec41e0, 0xc006600b40) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665ec8 sp=0xc000665db8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc004a0e280, 0xc006600a00) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000665fd8 sp=0xc000665ec8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc000179b80, 0xc0066008c0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0006660e8 sp=0xc000665fd8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc000179f40, 0xc006600820) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0006661f8 sp=0xc0006660e8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0095641e0, 0xc006600780) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666308 sp=0xc0006661f8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc009564460, 0xc0066006e0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666418 sp=0xc000666308 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0095643c0, 0xc006600640) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666528 sp=0xc000666418 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc009564780, 0xc006600500) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666638 sp=0xc000666528 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0095646e0, 0xc0066005a0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666748 sp=0xc000666638 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc009564960, 0xc006600460) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666858 sp=0xc000666748 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc005ec43c0, 0xc006600320) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666968 sp=0xc000666858 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc005ec4320, 0xc006600280) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666a78 sp=0xc000666968 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc005ec45a0, 0xc0066001e0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666b88 sp=0xc000666a78 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc0086e9250, 0xc0086e9260, 0xc0001781e0, 0xc006600140) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc000666c98 sp=0xc000666b88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc000645a60, {0x6fec98, 0xc000b62000}, 0xc001b72ea0, 0xc000c7def0, 0xc200000?, 0x101000101010101?, {0x6e27c0, 0xc000645880}) pkg/sentry/vfs/namespace.go:186 +0x4e8 fp=0xc000666de0 sp=0xc000666c98 pc=0x17713a8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc000b62000, 0xc000667368) pkg/sentry/kernel/task_clone.go:205 +0x1b05 fp=0xc000667348 sp=0xc000666de0 pc=0x1ab8b65 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x11e7c8c?, 0x24000, 0x20000000, 0x0, 0x0, 0x20000100) pkg/sentry/syscalls/linux/sys_thread.go:215 +0x145 fp=0xc000667448 sp=0xc000667348 pc=0x1d5c325 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc00099f540?, 0x11e072e?, {{0x24000}, {0x20000000}, {0x0}, {0x0}, {0x20000100}, {0x20000100}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0xef fp=0xc0006674d0 sp=0xc000667448 pc=0x1d008cf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000b62000, 0x38, {{0x24000}, {0x20000000}, {0x0}, {0x0}, {0x20000100}, {0x20000100}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff fp=0xc000667908 sp=0xc0006674d0 pc=0x1af213f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000b62000, 0x1?, {{0x24000}, {0x20000000}, {0x0}, {0x0}, {0x20000100}, {0x20000100}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0006679c0 sp=0xc000667908 pc=0x1af41fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00600d1d0?, 0x11e9329?, {{0x24000}, {0x20000000}, {0x0}, {0x0}, {0x20000100}, {0x20000100}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd fp=0xc000667a38 sp=0xc0006679c0 pc=0x1af3afd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000b62000) pkg/sentry/kernel/task_syscall.go:257 +0x55b fp=0xc000667b70 sp=0xc000667a38 pc=0x1af365b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000b62000?, 0xc000b62000) pkg/sentry/kernel/task_run.go:269 +0x2387 fp=0xc000667e60 sp=0xc000667b70 pc=0x1adc487 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000b62000, 0x3747) pkg/sentry/kernel/task_run.go:98 +0x36a fp=0xc000667fb0 sp=0xc000667e60 pc=0x1ad97ea gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x45 fp=0xc000667fe0 sp=0xc000667fb0 pc=0x1aef9a5 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000667fe8 sp=0xc000667fe0 pc=0x11e6101 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 460996 pkg/sentry/kernel/task_start.go:395 +0x1ce