panic: Decrementing non-positive ref count 0xc0001ee180, owned by vfs.FileDescription goroutine 577 [running]: panic(0xfd2300, 0xc0001ba3f0) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0005473f8 sp=0xc000547340 pc=0x437110 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0001ee180, 0xc000547480) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:117 +0x18c fp=0xc000547470 sp=0xc0005473f8 pc=0x7aaeec gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0001ee180, 0x1327f80, 0xc000360a80) pkg/sentry/vfs/file_description.go:163 +0x69 fp=0xc0005474b0 sp=0xc000547470 pc=0x7a5929 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc0003940c0, 0x1327f80, 0xc000360a80) pkg/sentry/socket/control/control_vfs2.go:87 +0x65 fp=0xc0005474f0 sp=0xc0005474b0 pc=0xa26265 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(...) pkg/sentry/socket/unix/transport/unix.go:79 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*message).Release(...) pkg/sentry/socket/unix/transport/unix.go:285 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Reset(0xc000614280, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/queue.go:63 +0xbe fp=0xc000547520 sp=0xc0005474f0 pc=0x7077be gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef.func1() pkg/sentry/socket/unix/transport/queue.go:75 +0x3c fp=0xc000547548 sp=0xc000547520 pc=0x70eedc gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queueRefs).DecRef(0xc000614280, 0xc0005475d0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/transport/queue_refs.go:123 +0x5a fp=0xc0005475c0 sp=0xc000547548 pc=0x708b1a gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef(0xc000614280, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/queue.go:72 +0x69 fp=0xc000547600 sp=0xc0005475c0 pc=0x7078a9 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Release(0xc0003e60c0, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/unix.go:717 +0x45 fp=0xc000547628 sp=0xc000547600 pc=0x70b2a5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc00057a100, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/connectioned.go:242 +0x1f3 fp=0xc000547688 sp=0xc000547628 pc=0x704cb3 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:101 +0xd6 fp=0xc0005476d8 sp=0xc000547688 pc=0xb492d6 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc0001ee1f0, 0xc000547760) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:123 +0x5a fp=0xc000547750 sp=0xc0005476d8 pc=0xb4023a gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc0001ee180, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/unix_vfs2.go:98 +0x6d fp=0xc000547790 sp=0xc000547750 pc=0xb4548d gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc0001ee180, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/unix_vfs2.go:112 +0x3f fp=0xc0005477b8 sp=0xc000547790 pc=0xb454df gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:187 +0x202 fp=0xc000547890 sp=0xc0005477b8 pc=0x7c9822 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0001ee180, 0xc000547918) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:123 +0x5a fp=0xc000547908 sp=0xc000547890 pc=0x7aadba gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0001ee180, 0x1327f80, 0xc000360a80) pkg/sentry/vfs/file_description.go:163 +0x69 fp=0xc000547948 sp=0xc000547908 pc=0x7a5929 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc0003940c0, 0x1327f80, 0xc000360a80) pkg/sentry/socket/control/control_vfs2.go:87 +0x65 fp=0xc000547988 sp=0xc000547948 pc=0xa26265 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(...) pkg/sentry/socket/unix/transport/unix.go:79 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*streamQueueReceiver).Release(0xc00057c000, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/unix.go:574 +0xc2 fp=0xc0005479b0 sp=0xc000547988 pc=0x70adc2 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc00057a000, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/transport/connectioned.go:246 +0x1ba fp=0xc000547a10 sp=0xc0005479b0 pc=0x704c7a gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:101 +0xd6 fp=0xc000547a60 sp=0xc000547a10 pc=0xb492d6 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc0001ee130, 0xc000547ae8) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:123 +0x5a fp=0xc000547ad8 sp=0xc000547a60 pc=0xb4023a gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc0001ee0c0, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/unix_vfs2.go:98 +0x6d fp=0xc000547b18 sp=0xc000547ad8 pc=0xb4548d gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc0001ee0c0, 0x1327f80, 0xc000360a80) pkg/sentry/socket/unix/unix_vfs2.go:112 +0x3f fp=0xc000547b40 sp=0xc000547b18 pc=0xb454df gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:187 +0x202 fp=0xc000547c18 sp=0xc000547b40 pc=0x7c9822 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0001ee0c0, 0xc000547ca0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:123 +0x5a fp=0xc000547c90 sp=0xc000547c18 pc=0x7aadba gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0001ee0c0, 0x1327f80, 0xc000360a80) pkg/sentry/vfs/file_description.go:163 +0x69 fp=0xc000547cd0 sp=0xc000547c90 pc=0x7a5929 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).dropVFS2(0xc000608de0, 0x1327f80, 0xc000360a80, 0xc0001ee0c0) pkg/sentry/kernel/fd_table.go:171 +0x145 fp=0xc000547d50 sp=0xc000547cd0 pc=0x994405 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).RemoveIf(0xc000608de0, 0x1327f80, 0xc000360a80, 0x11edd50) pkg/sentry/kernel/fd_table.go:672 +0x1d6 fp=0xc000547e08 sp=0xc000547d50 pc=0x996896 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef.func1() pkg/sentry/kernel/fd_table.go:186 +0x48 fp=0xc000547e38 sp=0xc000547e08 pc=0x9edc68 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTableRefs).DecRef(0xc000608de0, 0xc000547ec0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/kernel/fd_table_refs.go:123 +0x5a fp=0xc000547eb0 sp=0xc000547e38 pc=0x996e7a gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef(0xc000608de0, 0x1327f80, 0xc000360a80) pkg/sentry/kernel/fd_table.go:185 +0x69 fp=0xc000547ef0 sp=0xc000547eb0 pc=0x9945e9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute(0x0, 0xc000360a80, 0x12fa100, 0x0) pkg/sentry/kernel/task_exit.go:276 +0x1f1 fp=0xc000547f60 sp=0xc000547ef0 pc=0x9bd291 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000360a80, 0xd) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc000547fd0 sp=0xc000547f60 pc=0x9c64af runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000547fd8 sp=0xc000547fd0 pc=0x470681 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe