panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6e253f] goroutine 252 [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(0xc42050fb00, 0xa72180, 0xc62898, 0x10, 0x28) pkg/sentry/kernel/task.go:566 +0x318 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.taskAsyncContext.Value(0xc42050fb00, 0xa72180, 0xc62898, 0x10acd50, 0x0) pkg/sentry/kernel/context.go:134 +0x3f gvisor.googlesource.com/gvisor/pkg/sentry/fs.RootFromContext(0xc762e0, 0xc420140190, 0xc420240000) pkg/sentry/fs/context.go:93 +0x4d gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).MappedName(0xc4202266c0, 0xc762e0, 0xc420140190, 0x21, 0xc4205552d8) pkg/sentry/fs/file.go:370 +0x35 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).vmaMapsEntryLocked(0xc4204a6580, 0xc762e0, 0xc420140190, 0xc4204a65f0, 0x1, 0xc4204d45d0, 0x0, 0x1) pkg/sentry/mm/proc_pid_maps.go:94 +0x4fd gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).ReadSeqFileData(0xc4204a6580, 0xc762e0, 0xc420140190, 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(0xc4204fa180, 0x0, 0x0, 0xc420510228, 0xc4205554e0, 0x845c17, 0xc42050fb00) pkg/sentry/fs/proc/task.go:309 +0x9f gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc/seqfile.(*SeqFile).updateSourceLocked(0xc4203dbea0, 0x0) pkg/sentry/fs/proc/seqfile/seqfile.go:225 +0x72 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc/seqfile.(*SeqFile).DeprecatedPreadv(0xc4203dbea0, 0xc75e00, 0xc4204b5600, 0xc74b40, 0xc4204a6580, 0x0, 0x1, 0x20000080, 0x8a, 0x100, ...) pkg/sentry/fs/proc/seqfile/seqfile.go:190 +0x6ed gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*Handle).Read(0xc4202982c0, 0xc75e00, 0xc4204b5600, 0xc420018360, 0xc74b40, 0xc4204a6580, 0x0, 0x1, 0x20000080, 0x8a, ...) pkg/sentry/fs/fsutil/handle.go:90 +0x8e gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Readv(0xc420018360, 0xc75e00, 0xc4204b5600, 0xc74b40, 0xc4204a6580, 0x0, 0x1, 0x20000080, 0x8a, 0x100, ...) pkg/sentry/fs/file.go:230 +0x116 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.readv(0xc4204b5600, 0xc420018360, 0xc74b40, 0xc4204a6580, 0x0, 0x1, 0x20000080, 0x8a, 0x100, 0x8a, ...) pkg/sentry/syscalls/linux/sys_read.go:191 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Read(0xc4204b5600, 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(0xc4204b5600, 0x0, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0xc42000a3c0, 0xbb6320, ...) pkg/sentry/kernel/task_syscall.go:162 +0x307 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc4204b5600, 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(0xc4204b5600, 0x0, 0x4, 0x20000080, 0x8a, 0x65732f636f72702f, 0x65732f636f72702f, 0x65732f636f72702f, 0xc69020, 0xc420555e00) pkg/sentry/kernel/task_syscall.go:241 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc4204b5600, 0x2, 0xc420222ea0) pkg/sentry/kernel/task_syscall.go:216 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4204b5600, 0xc69020, 0x0) pkg/sentry/kernel/task_run.go:217 +0xed8 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4204b5600, 0x1d) 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