panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x709335] goroutine 621345 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Credentials(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_identity.go:25 +0x45 gvisor.googlesource.com/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).Callback(0xc4202e49c0, 0xc4202e49c8) pkg/sentry/kernel/fasync/fasync.go:60 +0x8c gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc420cac380, 0xc423330004) pkg/waiter/waiter.go:178 +0x9c gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectedEndpoint).CloseNotify(0xc420440ae0) pkg/tcpip/transport/unix/unix.go:623 +0x56 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionedEndpoint).Close(0xc420bc6690) pkg/tcpip/transport/unix/connectioned.go:205 +0x1b7 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef.func1() pkg/sentry/socket/unix/unix.go:73 +0x33 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc423332be0, 0xc420ad6c88) pkg/refs/refcounter.go:293 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef(0xc423332be0) pkg/sentry/socket/unix/unix.go:72 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release(0xc423332be0) pkg/sentry/socket/unix/unix.go:81 +0x2b gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef.func1() pkg/sentry/fs/file.go:123 +0x79 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc421262480, 0xc420ad6d58) pkg/refs/refcounter.go:293 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef(0xc421262480) pkg/sentry/fs/file.go:117 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).RemoveIf(0xc420d592c0, 0xbdb0e8) pkg/sentry/kernel/fd_map.go:338 +0x24e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).destroy(0xc420d592c0) pkg/sentry/kernel/fd_map.go:86 +0x37 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).(gvisor.googlesource.com/gvisor/pkg/sentry/kernel.destroy)-fm() pkg/sentry/kernel/fd_map.go:93 +0x2a gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc420d592c0, 0xc420ad6ef8) pkg/refs/refcounter.go:293 +0x121 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FDMap).DecRef(0xc420d592c0) pkg/sentry/kernel/fd_map.go:93 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*TaskResources).release(0xc420d4eb68) pkg/sentry/kernel/task_resources.go:54 +0x33 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runExitMain).execute(0x0, 0xc420d4e400, 0xc679c0, 0x0) pkg/sentry/kernel/task_exit.go:262 +0xda gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420d4e400, 0x5328) 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:251 +0x100