panic: expected socket to exist at '$N' in abstract socket namespace goroutine 151 [running]: panic({0x10d9d40?, 0xc000752b20?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc000b05408 sp=0xc000b05358 pc=0x43a72c gvisor.dev/gvisor/pkg/sentry/inet.(*AbstractSocketNamespace).Remove(0xc0000ceb78, {0xc000718151, 0x6b}, {0x1551940?, 0xc0009843c0}) pkg/sentry/inet/abstract_socket_namespace.go:141 +0x22a fp=0xc000b054e8 sp=0xc000b05408 pc=0x94e1ca gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).DecRef.func1() pkg/sentry/socket/unix/unix.go:120 +0xb7 fp=0xc000b05538 sp=0xc000b054e8 pc=0xaff377 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketRefs).DecRef(0xc0008925f8?, 0xc0008925b0) bazel-out/k8-fastbuild/bin/pkg/sentry/socket/unix/socket_refs.go:132 +0x75 fp=0xc000b055a0 sp=0xc000b05538 pc=0xafeaf5 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).DecRef(0xc0009843c0?, {0x155fa18?, 0xc000a78a80?}) pkg/sentry/socket/unix/unix.go:116 +0x6b fp=0xc000b055e0 sp=0xc000b055a0 pc=0xaff28b gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).Release(0xc0009882d0?, {0x155fa18?, 0xc000a78a80?}) pkg/sentry/socket/unix/unix.go:132 +0x27 fp=0xc000b05608 sp=0xc000b055e0 pc=0xaff407 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:197 +0x305 fp=0xc000b056e8 sp=0xc000b05608 pc=0x77e245 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0x153e6d8?, 0xc000892760) bazel-out/k8-fastbuild/bin/pkg/sentry/vfs/file_description_refs.go:132 +0x75 fp=0xc000b05750 sp=0xc000b056e8 pc=0x7846d5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0x97b853?, {0x155fa18?, 0xc000a78a80?}) pkg/sentry/vfs/file_description.go:161 +0x55 fp=0xc000b05790 sp=0xc000b05750 pc=0x77def5 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).drop(0xc0006df080?, {0x155fa18, 0xc000a78a80}, 0xc0009843c0) pkg/sentry/kernel/fd_table.go:137 +0x1c5 fp=0xc000b05810 sp=0xc000b05790 pc=0x97a405 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).NewFDAt(0xc000a78a80?, {0x155fa18, 0xc000a78a80}, 0x0?, 0x0?, {0xb0?}) pkg/sentry/kernel/fd_table.go:321 +0x66 fp=0xc000b05858 sp=0xc000b05810 pc=0x97b606 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).NewFDAt(...) pkg/sentry/kernel/task.go:778 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.dup3(0xc000a78a80, 0x2?, 0x3, 0x0?) pkg/sentry/syscalls/linux/sys_file.go:572 +0x113 fp=0xc000b058e8 sp=0xc000b05858 pc=0xb28793 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Dup3(0xc000a78a80?, 0x561723c61000?, {{0x4}, {0x3}, {0x0}, {0x0}, {0x7f7ad98ad9a7}, {0x7fee2b3326c0}}) pkg/sentry/syscalls/linux/sys_file.go:558 +0x7a fp=0xc000b05910 sp=0xc000b058e8 pc=0xb2865a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000a78a80, 0x124, {{0x4}, {0x3}, {0x0}, {0x0}, {0x7f7ad98ad9a7}, {0x7fee2b3326c0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000b05c50 sp=0xc000b05910 pc=0x9cbf0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000a78a80, 0x0?, {{0x4}, {0x3}, {0x0}, {0x0}, {0x7f7ad98ad9a7}, {0x7fee2b3326c0}}) pkg/sentry/kernel/task_syscall.go:322 +0x4e fp=0xc000b05cb0 sp=0xc000b05c50 pc=0x9cd50e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000148238?, 0xc000892df8?, {{0x4}, {0x3}, {0x0}, {0x0}, {0x7f7ad98ad9a7}, {0x7fee2b3326c0}}) pkg/sentry/kernel/task_syscall.go:282 +0x74 fp=0xc000b05d10 sp=0xc000b05cb0 pc=0x9cd0d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0007462c0?) pkg/sentry/kernel/task_syscall.go:257 +0x3a8 fp=0xc000b05e08 sp=0xc000b05d10 pc=0x9ccdc8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000720880?, 0xc000a78a80) pkg/sentry/kernel/task_run.go:269 +0x1405 fp=0xc000b05f48 sp=0xc000b05e08 pc=0x9beec5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000a78a80, 0xd) pkg/sentry/kernel/task_run.go:98 +0x262 fp=0xc000b05fc0 sp=0xc000b05f48 pc=0x9bd3e2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:391 +0x25 fp=0xc000b05fe0 sp=0xc000b05fc0 pc=0x9ca405 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000b05fe8 sp=0xc000b05fe0 pc=0x471241 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 149 pkg/sentry/kernel/task_start.go:391 +0xf8