panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e6eef] goroutine 3139313 [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(0xc429bac9a0, 0xc429bac9a8) pkg/sentry/kernel/fasync/fasync.go:60 +0x6f gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc4205d5180, 0xc4209c0001) pkg/waiter/waiter.go:190 +0x9c gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc42061cca0) pkg/tcpip/transport/unix/unix.go:653 +0x39 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc429bac930) 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(0xc4209c1b80, 0xc4201be868) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc4209c1b80) pkg/sentry/socket/unix/unix.go:74 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc4209c1b80) 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(0xc4213c1440, 0xc4201be938) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc4213c1440) pkg/sentry/fs/file.go:119 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.releaseState(0xc4206cdd60, 0x1, 0x1) pkg/sentry/syscalls/polling.go:72 +0x7c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll(0xc428ad1b00, 0xc421678598, 0x1, 0x1, 0xffffffffff85ee00, 0xffffffffff85ee00, 0x0, 0xc5b480, 0xc4200f64e0) pkg/sentry/syscalls/polling.go:117 +0x32c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.doPoll(0xc428ad1b00, 0x20b2c000, 0x1, 0xffffffffff85ee00, 0xc4201beb3c, 0xc4201beb40, 0x474121, 0x97c2) pkg/sentry/syscalls/linux/sys_poll.go:70 +0x15d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.poll(0xc428ad1b00, 0x20b2c000, 0x1, 0xffffffffff85ee00, 0xc4201beb88, 0x40000002, 0x0) pkg/sentry/syscalls/linux/sys_poll.go:291 +0x53 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll(0xc428ad1b00, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0x202, 0xc4201bec10, 0x428854, ...) pkg/sentry/syscalls/linux/sys_poll.go:309 +0x4f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc428ad1b00, 0x7, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0x0, 0xba7ee0, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc428ad1b00, 0x7, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:280 +0x62 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc428ad1b00, 0x7, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0xc5bbc0, 0x0) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc428ad1b00, 0x2, 0xc429a32480) pkg/sentry/kernel/task_syscall.go:216 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc428ad1b00, 0xc5bbc0, 0x0) pkg/sentry/kernel/task_run.go:219 +0xe56 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc428ad1b00, 0x3268) 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