panic: ptrace status unexpected: got 31, wanted stopped goroutine 1170579 [running]: DIAGNOSIS: Error collecting stacks: failed to run ["/syzkaller/managers/ptrace-direct-overlay-host/current/image" "-root" "/syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root" "-watchdog-action=panic" "-network=none" "-debug" "-platform=ptrace" "-file-access=shared" "-network=host" "debug" "-stacks" "ci-gvisor-ptrace-direct-overlay-host-3"]: exit status 128 I0223 18:59:55.133319 18628 x:0] *************************** I0223 18:59:55.133384 18628 x:0] Args: [/syzkaller/managers/ptrace-direct-overlay-host/current/image -root /syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root -watchdog-action=panic -network=none -debug -platform=ptrace -file-access=shared -network=host debug -stacks ci-gvisor-ptrace-direct-overlay-host-3] I0223 18:59:55.133398 18628 x:0] Git Revision: b75aa515044367094e762985a4b1a1f0580e3ad6 I0223 18:59:55.133403 18628 x:0] PID: 18628 I0223 18:59:55.133409 18628 x:0] UID: 0, GID: 0 I0223 18:59:55.133413 18628 x:0] Configuration: I0223 18:59:55.133416 18628 x:0] RootDir: /syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root I0223 18:59:55.133420 18628 x:0] Platform: ptrace I0223 18:59:55.133427 18628 x:0] FileAccess: shared, overlay: false I0223 18:59:55.133444 18628 x:0] Network: host, logging: false I0223 18:59:55.133449 18628 x:0] Strace: false, max size: 1024, syscalls: [] I0223 18:59:55.133453 18628 x:0] *************************** D0223 18:59:55.133468 18628 x:0] Load container "/syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root" "ci-gvisor-ptrace-direct-overlay-host-3" D0223 18:59:55.134108 18628 x:0] Signal container "ci-gvisor-ptrace-direct-overlay-host-3": signal 0 D0223 18:59:55.134130 18628 x:0] Signal sandbox "ci-gvisor-ptrace-direct-overlay-host-3" D0223 18:59:55.134135 18628 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-3" D0223 18:59:55.134445 18628 x:0] urpc: successfully marshalled 118 bytes. I0223 18:59:55.730953 18628 x:0] Found sandbox "ci-gvisor-ptrace-direct-overlay-host-3", PID: 41489 I0223 18:59:55.730981 18628 x:0] Retrieving sandbox stacks D0223 18:59:55.730986 18628 x:0] Stacks sandbox "ci-gvisor-ptrace-direct-overlay-host-3" D0223 18:59:55.730991 18628 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-3" D0223 18:59:55.731081 18628 x:0] urpc: successfully marshalled 36 bytes. W0223 18:59:55.783309 18628 x:0] FATAL ERROR: retrieving stacks: getting sandbox "ci-gvisor-ptrace-direct-overlay-host-3" stacks: urpc method "debug.Stacks" failed: connection reset by peer retrieving stacks: getting sandbox "ci-gvisor-ptrace-direct-overlay-host-3" stacks: urpc method "debug.Stacks" failed: connection reset by peer gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).wait(0xc000797c20, 0x0, 0xe4b0) pkg/sentry/platform/ptrace/subprocess.go:323 +0x3fb gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).syscall(0xc000797c20, 0xc00120d660, 0xc00120d7f0, 0x6, 0x6) pkg/sentry/platform/ptrace/subprocess.go:390 +0xc3 gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).syscallIgnoreInterrupt(0xc000797c20, 0xc000797c30, 0x9, 0xc00120d7f0, 0x6, 0x6, 0xc001755470, 0xd, 0xc00120d838) pkg/sentry/platform/ptrace/subprocess.go:428 +0xc2 gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).syscall(0xc000556340, 0x9, 0xc00120d7f0, 0x6, 0x6, 0x0, 0x0, 0x0) pkg/sentry/platform/ptrace/subprocess.go:562 +0xe8 gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).MapFile(0xc000556340, 0x2b43a411d000, 0xc, 0x12427000, 0x12448000, 0xc000000101, 0xe, 0xc001755470) pkg/sentry/platform/ptrace/subprocess.go:571 +0x107 gvisor.googlesource.com/gvisor/pkg/sentry/platform/filemem.(*FileMem).MapInto(0xc000284000, 0xd69360, 0xc000556340, 0x2b43a411d000, 0x12427000, 0x12448000, 0x101, 0xc00120d918, 0x6e1901) pkg/sentry/platform/filemem/filemem.go:512 +0xeb gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).mapASLocked(0xc001754d80, 0xc001755470, 0xd, 0x2b43a411d000, 0x2b43a413e000, 0x2b43a411d000, 0x2b43a413e000, 0x0) pkg/sentry/mm/address_space.go:186 +0x1aa gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).populateVMAAndUnlock(0xc001754d80, 0xd698a0, 0xc000e45500, 0xc001754df0, 0xd, 0x2b43a411d000, 0x2b43a413e000, 0x0) pkg/sentry/mm/syscalls.go:242 +0x1fa gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).MMap(0xc001754d80, 0xd698a0, 0xc000e45500, 0x21000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/mm/syscalls.go:158 +0x32d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Mmap(0xc000e45500, 0x0, 0x21000, 0x3, 0x20022, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_mmap.go:104 +0x265 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000e45500, 0x9, 0x0, 0x21000, 0x3, 0x20022, 0xffffffffffffffff, 0x0, 0x0, 0xc7dd20, ...) pkg/sentry/kernel/task_syscall.go:165 +0x30a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000e45500, 0x9, 0x0, 0x21000, 0x3, 0x20022, 0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0) pkg/sentry/kernel/task_syscall.go:283 +0x69 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000e45500, 0x9, 0x0, 0x21000, 0x3, 0x20022, 0xffffffffffffffff, 0x0, 0xd5c980, 0xc00120de58) pkg/sentry/kernel/task_syscall.go:244 +0x99 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000e45500, 0x2, 0xc000556340) pkg/sentry/kernel/task_syscall.go:219 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000e45500, 0xd5c980, 0x0) pkg/sentry/kernel/task_run.go:215 +0xfda gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc000e45500, 0x6421) pkg/sentry/kernel/task_run.go:91 +0x149 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:279 +0xfe