panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7878ea] goroutine 1656892 [running]: panic({0x1116f20?, 0x2a4e390?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc001412700 sp=0xc001412650 pc=0x43a72c runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:861 +0x378 fp=0xc001412760 sp=0xc001412700 pc=0x451f38 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x1109e60?) pkg/sentry/vfs/mount.go:693 +0xa fp=0xc001412768 sp=0xc001412760 pc=0x7878ea gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc000176a00, 0x0) pkg/sentry/vfs/namespace.go:143 +0x1be fp=0xc001412838 sp=0xc001412768 pc=0x78cffe gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc000176280, 0xc00063afa0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412908 sp=0xc001412838 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc004c1b680, 0xc00063af00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc0014129d8 sp=0xc001412908 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00187a280, 0xc00063adc0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412aa8 sp=0xc0014129d8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc0076f25a0, 0xc00063ae60) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412b78 sp=0xc001412aa8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc0076f26e0, 0xc00063ad20) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412c48 sp=0xc001412b78 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc0076f2820, 0xc00063ac80) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412d18 sp=0xc001412c48 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc0076f28c0, 0xc00063aa00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412de8 sp=0xc001412d18 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00063a780, 0xc00063a8c0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412eb8 sp=0xc001412de8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00063ab40, 0xc00063a6e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001412f88 sp=0xc001412eb8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00063abe0, 0xc00063a640) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413058 sp=0xc001412f88 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc0076f2960, 0xc00063a5a0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413128 sp=0xc001413058 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00187a320, 0xc00063a500) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc0014131f8 sp=0xc001413128 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00063aaa0, 0xc00063a460) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc0014132c8 sp=0xc0014131f8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00187a6e0, 0xc00063a3c0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413398 sp=0xc0014132c8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00187a640, 0xc00063a320) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413468 sp=0xc001413398 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc00187a8c0, 0xc00063a280) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413538 sp=0xc001413468 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc00a931150, 0xc00a931160, 0xc000176000, 0xc00063a1e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc001413608 sp=0xc001413538 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc0004f9a60, {0x15155f8, 0xc00c07c000}, 0xc0005c6420, 0xc0008da8a0, 0xc00d446000?, 0x1?, {0x14f9080, 0xc0004f9880}) pkg/sentry/vfs/namespace.go:186 +0x270 fp=0xc0014136d0 sp=0xc001413608 pc=0x78d3b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Unshare(0xc00c07c000, 0x48020000) pkg/sentry/kernel/task_clone.go:667 +0xfb3 fp=0xc0014138f0 sp=0xc0014136d0 pc=0x9a0393 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Unshare(0xc00c07c000?, 0x7ed2aea01000?, {{0x48020000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_thread.go:494 +0x6c fp=0xc001413910 sp=0xc0014138f0 pc=0xb570ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00c07c000, 0x110, {{0x48020000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001413c50 sp=0xc001413910 pc=0x9c01ab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00c07c000, 0xc002fe2d80?, {{0x48020000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x4e fp=0xc001413cb0 sp=0xc001413c50 pc=0x9c17ae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc002d07df8?, 0xd4e385?, {{0x48020000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x74 fp=0xc001413d10 sp=0xc001413cb0 pc=0x9c1374 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00cc4b2b0?) pkg/sentry/kernel/task_syscall.go:257 +0x3a8 fp=0xc001413e08 sp=0xc001413d10 pc=0x9c1068 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00823ab80?, 0xc00c07c000) pkg/sentry/kernel/task_run.go:269 +0x1405 fp=0xc001413f48 sp=0xc001413e08 pc=0x9b3125 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00c07c000, 0xfe0e) pkg/sentry/kernel/task_run.go:98 +0x262 fp=0xc001413fc0 sp=0xc001413f48 pc=0x9b1642 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x25 fp=0xc001413fe0 sp=0xc001413fc0 pc=0x9be6a5 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc001413fe8 sp=0xc001413fe0 pc=0x471241 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 1656663 pkg/sentry/kernel/task_start.go:395 +0xf8