panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e253f] goroutine 308 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*FSContext).RootDirectory(0x0, 0x0) pkg/sentry/kernel/fs_context.go:133 +0x2f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Value(0xc4205a2900, 0xa72180, 0xc62898, 0x10, 0x28) pkg/sentry/kernel/task.go:566 +0x318 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.taskAsyncContext.Value(0xc4205a2900, 0xa72180, 0xc62898, 0x10acd50, 0x0) pkg/sentry/kernel/context.go:134 +0x3f gvisor.googlesource.com/gvisor/pkg/sentry/fs.RootFromContext(0xc762e0, 0xc420132228, 0xc4204da240) pkg/sentry/fs/context.go:93 +0x4d gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).MappedName(0xc4202187e0, 0xc762e0, 0xc420132228, 0x21, 0xc4205e72d8) pkg/sentry/fs/file.go:370 +0x35 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).vmaMapsEntryLocked(0xc4201f3900, 0xc762e0, 0xc420132228, 0xc4201f3970, 0x0, 0xc4203f2000, 0xc4205e73d0, 0x410e9c) pkg/sentry/mm/proc_pid_maps.go:94 +0x4fd gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).ReadSeqFileData(0xc4201f3900, 0xc762e0, 0xc420132228, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/mm/proc_pid_maps.go:52 +0x1b5 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc.(*mapsData).ReadSeqFileData(0xc4203f8090, 0x0, 0x0, 0xc4205a3028, 0xc4205e74e0, 0x845c17, 0xc4205a2900) pkg/sentry/fs/proc/task.go:309 +0x9f gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc/seqfile.(*SeqFile).updateSourceLocked(0xc4204e0c80, 0x0) pkg/sentry/fs/proc/seqfile/seqfile.go:225 +0x72 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc/seqfile.(*SeqFile).DeprecatedPreadv(0xc4204e0c80, 0xc75e00, 0xc42016d200, 0xc74b40, 0xc4201f3900, 0x0, 0x1, 0x20000080, 0x8a, 0x100, ...) pkg/sentry/fs/proc/seqfile/seqfile.go:190 +0x6ed gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*Handle).Read(0xc42056f600, 0xc75e00, 0xc42016d200, 0xc4202fc1b0, 0xc74b40, 0xc4201f3900, 0x0, 0x1, 0x20000080, 0x8a, ...) pkg/sentry/fs/fsutil/handle.go:90 +0x8e gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Readv(0xc4202fc1b0, 0xc75e00, 0xc42016d200, 0xc74b40, 0xc4201f3900, 0x0, 0x1, 0x20000080, 0x8a, 0x100, ...) pkg/sentry/fs/file.go:230 +0x116 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.readv(0xc42016d200, 0xc4202fc1b0, 0xc74b40, 0xc4201f3900, 0x0, 0x1, 0x20000080, 0x8a, 0x100, 0x8a, ...) pkg/sentry/syscalls/linux/sys_read.go:191 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Read(0xc42016d200, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_read.go:67 +0x21e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc42016d200, 0x0, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0xc42029c5a0, 0xbb6320, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc42016d200, 0x0, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f) pkg/sentry/kernel/task_syscall.go:278 +0x62 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc42016d200, 0x0, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0xc69020, 0xc4205e7e00) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc42016d200, 0x2, 0xc4202f46c0) pkg/sentry/kernel/task_syscall.go:216 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc42016d200, 0xc69020, 0x0) pkg/sentry/kernel/task_run.go:217 +0xed8 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc42016d200, 0x1f) 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