panic: expected socket to exist at ' N' in abstract socket namespace goroutine 24 [running]: panic({0x297640?, 0xc000708080?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc000b8add8 sp=0xc000b8ad28 pc=0x120672c gvisor.dev/gvisor/pkg/sentry/inet.(*AbstractSocketNamespace).Remove(0xc00018e2b8, {0xc000b920e1, 0x6b}, {0x711280?, 0xc000b98000}) pkg/sentry/inet/abstract_socket_namespace.go:141 +0x2f4 fp=0xc000b8af08 sp=0xc000b8add8 pc=0x1a99814 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).DecRef.func1() pkg/sentry/socket/unix/unix.go:120 +0x15a fp=0xc000b8af78 sp=0xc000b8af08 pc=0x1d3c2da gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketRefs).DecRef(0xc000b98080, 0xc000b8afe8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/socket/unix/socket_refs.go:132 +0xaf fp=0xc000b8afd8 sp=0xc000b8af78 pc=0x1d3b74f gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).DecRef(0xc000b98000, {0x71f4b8, 0xc0006eaa80}) pkg/sentry/socket/unix/unix.go:116 +0x94 fp=0xc000b8b018 sp=0xc000b8afd8 pc=0x1d3c134 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).Release(0xc000b98000?, {0x71f4b8, 0xc0006eaa80}) pkg/sentry/socket/unix/unix.go:132 +0x4c fp=0xc000b8b048 sp=0xc000b8b018 pc=0x1d3c3ac gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:197 +0x48f fp=0xc000b8b188 sp=0xc000b8b048 pc=0x17b578f gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc000b98000, 0xc000b8b1f8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:132 +0xaf fp=0xc000b8b1e8 sp=0xc000b8b188 pc=0x17bfbcf gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc000b98000, {0x71f4b8, 0xc0006eaa80}) pkg/sentry/vfs/file_description.go:161 +0x7a fp=0xc000b8b228 sp=0xc000b8b1e8 pc=0x17b52ba gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).drop(0xc000160c40?, {0x71f4b8, 0xc0006eaa80}, 0x3?) pkg/sentry/kernel/fd_table.go:137 +0x110 fp=0xc000b8b2a8 sp=0xc000b8b228 pc=0x1ae2b50 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).NewFDAt(0xc00037c480?, {0x71f4b8, 0xc0006eaa80}, 0x37c480?, 0x1242969?, {0x70?}) pkg/sentry/kernel/fd_table.go:321 +0xc5 fp=0xc000b8b318 sp=0xc000b8b2a8 pc=0x1ae44a5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).NewFDAt(0xc0006eaa80, 0x0?, 0x0?, {0xc0?}) pkg/sentry/kernel/task.go:778 +0x8c fp=0xc000b8b380 sp=0xc000b8b318 pc=0x1b1fe2c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.dup3(0xc0006eaa80, 0x12412cc?, 0x3, 0x0) pkg/sentry/syscalls/linux/sys_file.go:572 +0x173 fp=0xc000b8b468 sp=0xc000b8b380 pc=0x1d79bf3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Dup2(0xc000b8b540?, 0x1239d6e?, {{0x4}, {0x3}, {0xffffffffffffffb0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}}) pkg/sentry/syscalls/linux/sys_file.go:545 +0x155 fp=0xc000b8b4d0 sp=0xc000b8b468 pc=0x1d798b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0006eaa80, 0x21, {{0x4}, {0x3}, {0xffffffffffffffb0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff fp=0xc000b8b908 sp=0xc000b8b4d0 pc=0x1b6285f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0006eaa80, 0x1?, {{0x4}, {0x3}, {0xffffffffffffffb0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc000b8b9c0 sp=0xc000b8b908 pc=0x1b6491d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0009ec000?, 0x1242969?, {{0x4}, {0x3}, {0xffffffffffffffb0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}, {0x7fd01d83a6c0}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd fp=0xc000b8ba38 sp=0xc000b8b9c0 pc=0x1b6421d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0006eaa80) pkg/sentry/kernel/task_syscall.go:257 +0x55b fp=0xc000b8bb70 sp=0xc000b8ba38 pc=0x1b63d7b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0006eaa80?, 0xc0006eaa80) pkg/sentry/kernel/task_run.go:269 +0x2387 fp=0xc000b8be60 sp=0xc000b8bb70 pc=0x1b4cc67 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0006eaa80, 0xa) pkg/sentry/kernel/task_run.go:98 +0x36a fp=0xc000b8bfb0 sp=0xc000b8be60 pc=0x1b49fca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:391 +0x45 fp=0xc000b8bfe0 sp=0xc000b8bfb0 pc=0x1b600c5 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000b8bfe8 sp=0xc000b8bfe0 pc=0x123f741 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 250 pkg/sentry/kernel/task_start.go:391 +0x1ce