panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6f63ef] goroutine 798440 [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(0xc004630e00, 0xc004630e08) pkg/sentry/kernel/fasync/fasync.go:61 +0x6d gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc000c63180, 0xc002920001) pkg/waiter/waiter.go:190 +0xa1 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc000985460) pkg/tcpip/transport/unix/unix.go:653 +0x39 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc003a109a0) pkg/tcpip/transport/unix/connectioned.go:217 +0x1a5 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(0xc000c63240, 0xc0087318f0) pkg/refs/refcounter.go:295 +0x188 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc000c63240) pkg/sentry/socket/unix/unix.go:74 +0x50 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc000c63240) pkg/sentry/socket/unix/unix.go:83 +0x2b gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef.func1() pkg/sentry/fs/file.go:125 +0x76 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc000ce8780, 0xc0087319b0) pkg/refs/refcounter.go:295 +0x188 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc000ce8780) pkg/sentry/fs/file.go:119 +0x50 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.releaseState(0xc003d2a4b0, 0x1, 0x1) pkg/sentry/syscalls/polling.go:72 +0x7c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll(0xc005163200, 0xc0004e8a00, 0x1, 0x1, 0x22551000, 0x0, 0x0, 0x0, 0x0) pkg/sentry/syscalls/polling.go:117 +0x33f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.doPoll(0xc005163200, 0x20b2c000, 0x1, 0x22551000, 0xc005163200, 0x0, 0xffffff01, 0x920208) pkg/sentry/syscalls/linux/sys_poll.go:70 +0x15c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.poll(0xc005163200, 0x20b2c000, 0x1, 0x22551000, 0xc008731c30, 0xc000ce8680, 0x3f7c1064b9d0) pkg/sentry/syscalls/linux/sys_poll.go:291 +0x53 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll(0xc005163200, 0x20b2c000, 0x1, 0x240, 0x0, 0x0, 0x0, 0xc008731c78, 0x6e575a, 0x0, ...) pkg/sentry/syscalls/linux/sys_poll.go:309 +0x4f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005163200, 0x7, 0x20b2c000, 0x1, 0x240, 0x0, 0x0, 0x0, 0xc00bd5a600, 0xbd1b00, ...) pkg/sentry/kernel/task_syscall.go:162 +0x30a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005163200, 0x7, 0x20b2c000, 0x1, 0x240, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:280 +0x69 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc005163200, 0x7, 0x20b2c000, 0x1, 0x240, 0x0, 0x0, 0x0, 0x100070001, 0x0) pkg/sentry/kernel/task_syscall.go:241 +0x99 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc005163200, 0x2, 0xc0052e8000) pkg/sentry/kernel/task_syscall.go:216 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc005163200, 0xca1e60, 0x0) pkg/sentry/kernel/task_run.go:219 +0xfda gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc005163200, 0xf62) pkg/sentry/kernel/task_run.go:95 +0x163 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:275 +0xfe