panic: Decrementing non-positive ref count 0xc0000266c0, owned by vfs.FileDescription goroutine 237 [running]: panic(0x10b2300, 0xc0001507e0) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0007ad380 sp=0xc0007ad2c8 pc=0x437110 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0000266c0, 0xc0007ad408) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:136 +0x1cc fp=0xc0007ad3f8 sp=0xc0007ad380 pc=0x7df5cc gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0000266c0, 0x14227e0, 0xc00086aa80) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0007ad438 sp=0xc0007ad3f8 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc00022d680, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/control/control_vfs2.go:105 +0x75 fp=0xc0007ad478 sp=0xc0007ad438 pc=0xaa8235 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(0xc000832178, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/unix.go:86 +0xb7 fp=0xc0007ad4a0 sp=0xc0007ad478 pc=0x7296d7 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*message).Release(...) pkg/sentry/socket/unix/transport/unix.go:295 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Reset(0xc0001b00f0, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/queue.go:67 +0x95 fp=0xc0007ad4d8 sp=0xc0007ad4a0 pc=0x7270b5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef.func1() pkg/sentry/socket/unix/transport/queue.go:82 +0x46 fp=0xc0007ad500 sp=0xc0007ad4d8 pc=0x72f846 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queueRefs).DecRef(0xc0001b00f0, 0xc0007ad588) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/transport/queue_refs.go:144 +0x82 fp=0xc0007ad578 sp=0xc0007ad500 pc=0x728642 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef(0xc0001b00f0, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/queue.go:78 +0x73 fp=0xc0007ad5b8 sp=0xc0007ad578 pc=0x7271b3 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Release(0xc00022c100, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/unix.go:798 +0x4d fp=0xc0007ad5e0 sp=0xc0007ad5b8 pc=0x72b52d gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc00072e100, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/connectioned.go:267 +0x25a fp=0xc0007ad648 sp=0xc0007ad5e0 pc=0x723f5a gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:112 +0xb0 fp=0xc0007ad698 sp=0xc0007ad648 pc=0xbf13d0 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc000026730, 0xc0007ad720) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:144 +0x82 fp=0xc0007ad710 sp=0xc0007ad698 pc=0xbe73c2 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc0000266c0, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/unix_vfs2.go:108 +0x77 fp=0xc0007ad750 sp=0xc0007ad710 pc=0xbecf37 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc0000266c0, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/unix_vfs2.go:125 +0x49 fp=0xc0007ad778 sp=0xc0007ad750 pc=0xbecfa9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:200 +0x229 fp=0xc0007ad858 sp=0xc0007ad778 pc=0x802cc9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0000266c0, 0xc0007ad8e0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:144 +0x82 fp=0xc0007ad8d0 sp=0xc0007ad858 pc=0x7df482 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0000266c0, 0x14227e0, 0xc00086aa80) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0007ad910 sp=0xc0007ad8d0 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc00022d680, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/control/control_vfs2.go:105 +0x75 fp=0xc0007ad950 sp=0xc0007ad910 pc=0xaa8235 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(0xc00022a028, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/unix.go:86 +0xb7 fp=0xc0007ad978 sp=0xc0007ad950 pc=0x7296d7 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*streamQueueReceiver).Release(0xc00022a000, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/unix.go:641 +0x7e fp=0xc0007ad9a0 sp=0xc0007ad978 pc=0x72affe gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc00072e000, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/transport/connectioned.go:273 +0x217 fp=0xc0007ada08 sp=0xc0007ad9a0 pc=0x723f17 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:112 +0xb0 fp=0xc0007ada58 sp=0xc0007ada08 pc=0xbf13d0 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc000026670, 0xc0007adae0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:144 +0x82 fp=0xc0007adad0 sp=0xc0007ada58 pc=0xbe73c2 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc000026600, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/unix_vfs2.go:108 +0x77 fp=0xc0007adb10 sp=0xc0007adad0 pc=0xbecf37 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc000026600, 0x14227e0, 0xc00086aa80) pkg/sentry/socket/unix/unix_vfs2.go:125 +0x49 fp=0xc0007adb38 sp=0xc0007adb10 pc=0xbecfa9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:200 +0x229 fp=0xc0007adc18 sp=0xc0007adb38 pc=0x802cc9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc000026600, 0xc0007adca0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:144 +0x82 fp=0xc0007adc90 sp=0xc0007adc18 pc=0x7df482 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc000026600, 0x14227e0, 0xc00086aa80) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0007adcd0 sp=0xc0007adc90 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).dropVFS2(0xc000628b10, 0x14227e0, 0xc00086aa80, 0xc000026600) pkg/sentry/kernel/fd_table.go:200 +0x189 fp=0xc0007add50 sp=0xc0007adcd0 pc=0xa044a9 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).RemoveIf(0xc000628b10, 0x14227e0, 0xc00086aa80, 0x12dcb68) pkg/sentry/kernel/fd_table.go:862 +0x20b fp=0xc0007ade10 sp=0xc0007add50 pc=0xa06d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef.func1() pkg/sentry/kernel/fd_table.go:218 +0x52 fp=0xc0007ade40 sp=0xc0007ade10 pc=0xa6b532 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTableRefs).DecRef(0xc000628b10, 0xc0007adec8) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/kernel/fd_table_refs.go:144 +0x82 fp=0xc0007adeb8 sp=0xc0007ade40 pc=0xa07402 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef(0xc000628b10, 0x14227e0, 0xc00086aa80) pkg/sentry/kernel/fd_table.go:216 +0x73 fp=0xc0007adef8 sp=0xc0007adeb8 pc=0xa046b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute(0x0, 0xc00086aa80, 0x13f4cc0, 0x0) pkg/sentry/kernel/task_exit.go:312 +0x198 fp=0xc0007adf60 sp=0xc0007adef8 pc=0xa34518 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00086aa80, 0xd) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc0007adfd0 sp=0xc0007adf60 pc=0xa3f402 runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0007adfd8 sp=0xc0007adfd0 pc=0x470681 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:374 +0x116