panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e2e5f] goroutine 2646720 [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(0xc420fce620, 0xc420fce628) pkg/sentry/kernel/fasync/fasync.go:60 +0x6f gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc420744540, 0xc421670001) pkg/waiter/waiter.go:190 +0x9c gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc420580300) pkg/tcpip/transport/unix/unix.go:649 +0x39 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc42027c3f0) 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(0xc421671e50, 0xc420a1d970) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc421671e50) pkg/sentry/socket/unix/unix.go:74 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc421671e50) 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(0xc420214c60, 0xc420a1da40) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc420214c60) pkg/sentry/fs/file.go:119 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).NewFDAt(0xc4208554a0, 0x4, 0xc420214b40, 0x0, 0xc4206ca0f0, 0xc420a1db70, 0x0) pkg/sentry/kernel/fd_map.go:205 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Dup3(0xc420d83b00, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_file.go:750 +0xf9 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Dup2(0xc420d83b00, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_file.go:731 +0x161 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc420d83b00, 0x21, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb94e00, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc420d83b00, 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(0xc420d83b00, 0x21, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0xc46620, 0x0) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc420d83b00, 0x2, 0xc420439560) pkg/sentry/kernel/task_syscall.go:216 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420d83b00, 0xc46620, 0x0) pkg/sentry/kernel/task_run.go:219 +0xe56 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420d83b00, 0x2a8b) 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