panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e57ff] goroutine 39656 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Credentials(0x0, 0x0) pkg/sentry/kernel/task_identity.go:27 +0x2f gvisor.googlesource.com/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).Callback(0xc4216be070, 0xc4216be078) pkg/sentry/kernel/fasync/fasync.go:60 +0x6f gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc421f5a100, 0xc421c20001) pkg/waiter/waiter.go:190 +0x9c gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc420b44540) pkg/tcpip/transport/unix/unix.go:653 +0x39 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc421364070) pkg/tcpip/transport/unix/connectioned.go:217 +0x1b7 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef.func1() pkg/sentry/socket/unix/unix.go:75 +0x33 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc421c28c30, 0xc420caf970) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc421c28c30) pkg/sentry/socket/unix/unix.go:74 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc421c28c30) pkg/sentry/socket/unix/unix.go:83 +0x2b gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef.func1() pkg/sentry/fs/file.go:125 +0x79 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc421776240, 0xc420cafa40) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc421776240) pkg/sentry/fs/file.go:119 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).NewFDAt(0xc4212f4f60, 0x4, 0xc421776120, 0x0, 0xc42040c3a0, 0xc420cafb70, 0x89c4fd) pkg/sentry/kernel/fd_map.go:207 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Dup3(0xc420a98900, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_file.go:754 +0xf9 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Dup2(0xc420a98900, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_file.go:735 +0x161 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc420a98900, 0x21, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x4321bb, 0xba1ec0, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc420a98900, 0x21, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:280 +0x62 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc420a98900, 0x21, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x870820, 0xc4214c85d8) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc420a98900, 0x2, 0xc420dbe480) pkg/sentry/kernel/task_syscall.go:216 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420a98900, 0xc55020, 0x0) pkg/sentry/kernel/task_run.go:219 +0xe56 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420a98900, 0x195) pkg/sentry/kernel/task_run.go:95 +0x174 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:258 +0x100