panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x79bc0a] goroutine 2338284 [running]: panic({0x1163940, 0x2a38c90}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc017f38390 sp=0xc017f382d0 pc=0x436abb runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc017f383f0 sp=0xc017f38390 pc=0x44e0fd gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x1151d20?) pkg/sentry/vfs/mount.go:693 +0xa fp=0xc017f383f8 sp=0xc017f383f0 pc=0x79bc0a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0004f66e0, 0x0) pkg/sentry/vfs/namespace.go:143 +0x1b2 fp=0xc017f384c8 sp=0xc017f383f8 pc=0x7a1592 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0004f6460, 0xc02b0f7540) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38598 sp=0xc017f384c8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39a820, 0xc02b0f74a0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38668 sp=0xc017f38598 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc003c465a0, 0xc02b0f72c0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38738 sp=0xc017f38668 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39a640, 0xc02b0f7400) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38808 sp=0xc017f38738 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39a8c0, 0xc02b0f7220) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f388d8 sp=0xc017f38808 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39a780, 0xc02b0f7180) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f389a8 sp=0xc017f388d8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39aaa0, 0xc02b0f70e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38a78 sp=0xc017f389a8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39aa00, 0xc02b0f7040) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38b48 sp=0xc017f38a78 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39abe0, 0xc02b0f6fa0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38c18 sp=0xc017f38b48 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39ac80, 0xc02b0f6f00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38ce8 sp=0xc017f38c18 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0178b6640, 0xc02b0f6e60) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38db8 sp=0xc017f38ce8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc003c46960, 0xc02b0f6dc0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38e88 sp=0xc017f38db8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0178b66e0, 0xc02b0f6d20) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f38f58 sp=0xc017f38e88 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc000848dc0, 0xc02b0f6c80) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f39028 sp=0xc017f38f58 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0178b6780, 0xc02b0f6be0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f390f8 sp=0xc017f39028 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02b233180, 0xc02b0f6b40) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f391c8 sp=0xc017f390f8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc02e39adc0, 0xc02b0f6aa0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f39298 sp=0xc017f391c8 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc006951e10, 0xc006951e20, 0xc0004f6280, 0xc02b0f6a00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc017f39368 sp=0xc017f39298 pc=0x7a165a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc00050ec60, {0x153d5c0, 0xc021069500}, 0xc000735b60, 0xc00079cc00, 0xc0002181f8?, 0xc02e39adc0?, {0x1521280, 0xc00050ea80}) pkg/sentry/vfs/namespace.go:186 +0x285 fp=0xc017f39430 sp=0xc017f39368 pc=0x7a1965 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc021069500, 0xc017f39818) pkg/sentry/kernel/task_clone.go:205 +0xf3c fp=0xc017f39808 sp=0xc017f39430 pc=0x9b701c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0xb3cc1f?, 0xc021069500?, 0x55d5a74bc058?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:215 +0xbd fp=0xc017f398d8 sp=0xc017f39808 pc=0xb7b89d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc021069500?, 0x0?, {{0x41024400}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc017f39918 sp=0xc017f398d8 pc=0xb3a26e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc021069500, 0x38, {{0x41024400}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc017f39c58 sp=0xc017f39918 pc=0x9db9eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc021069500, 0xc01bb0d380?, {{0x41024400}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc017f39cb8 sp=0xc017f39c58 pc=0x9dcfd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0008e1e00?, 0xd7ae19?, {{0x41024400}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc017f39d18 sp=0xc017f39cb8 pc=0x9dcbc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0179be5b0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc017f39e10 sp=0xc017f39d18 pc=0x9dc88c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc01b3d3880?, 0xc021069500) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc017f39f48 sp=0xc017f39e10 pc=0x9ce30a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc021069500, 0xdf78) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc017f39fc0 sp=0xc017f39f48 pc=0x9cc7bc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x2a fp=0xc017f39fe0 sp=0xc017f39fc0 pc=0x9d9e6a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc017f39fe8 sp=0xc017f39fe0 pc=0x46d4c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:395 +0x105