panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e2e5f] goroutine 2043705 [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(0xc42042a150, 0xc42042a158) pkg/sentry/kernel/fasync/fasync.go:60 +0x6f gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc420384500, 0xc4212e0001) pkg/waiter/waiter.go:190 +0x9c gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc4205ec620) pkg/tcpip/transport/unix/unix.go:649 +0x39 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc4202624d0) 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(0xc4212e8640, 0xc420324868) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc4212e8640) pkg/sentry/socket/unix/unix.go:74 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc4212e8640) 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(0xc42182a480, 0xc420324938) pkg/refs/refcounter.go:297 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc42182a480) pkg/sentry/fs/file.go:119 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.releaseState(0xc420266780, 0x1, 0x1) pkg/sentry/syscalls/polling.go:72 +0x7c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll(0xc420ccf600, 0xc420cc0348, 0x1, 0x1, 0xffffffffff85ee00, 0xffffffffff85ee00, 0x0, 0xc45ee0, 0xc4200f64e0) pkg/sentry/syscalls/polling.go:117 +0x32c gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.doPoll(0xc420ccf600, 0x20b2c000, 0x1, 0xffffffffff85ee00, 0xc420324b3c, 0xc420324b40, 0x474011, 0xfbe4) pkg/sentry/syscalls/linux/sys_poll.go:70 +0x15d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.poll(0xc420ccf600, 0x20b2c000, 0x1, 0xffffffffff85ee00, 0xc420324b88, 0x40000002, 0x0) pkg/sentry/syscalls/linux/sys_poll.go:291 +0x53 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll(0xc420ccf600, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0x202, 0xc420324c10, 0x428854, ...) pkg/sentry/syscalls/linux/sys_poll.go:309 +0x4f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc420ccf600, 0x7, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0x0, 0xb94e00, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc420ccf600, 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(0xc420ccf600, 0x7, 0x20b2c000, 0x1, 0xfffffffffffffff8, 0x0, 0x0, 0x0, 0xc46620, 0x0) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc420ccf600, 0x2, 0xc420136a20) pkg/sentry/kernel/task_syscall.go:216 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420ccf600, 0xc46620, 0x0) pkg/sentry/kernel/task_run.go:219 +0xe56 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420ccf600, 0x2501) 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