panic: Task goroutine switching from state 2 (expected 1) to 3 goroutine 266 [running]: gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).accountTaskGoroutineEnter(0xc000903500, 0x3) pkg/sentry/kernel/task_sched.go:121 +0x26e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).SleepStart(0xc000903500, 0xc0005cf560) pkg/sentry/kernel/task_block.go:162 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).block(0xc000903500, 0xc0005cf560, 0x0, 0xf23440, 0xc000903500) pkg/sentry/kernel/task_block.go:124 +0x65 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Block(...) pkg/sentry/kernel/task_block.go:110 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).Write(0xc000cae000, 0x10b02a0, 0xc000800238, 0xc000b45080, 0x10a9660, 0xc0002c1000, 0x0, 0x1, 0x0, 0x9, ...) pkg/sentry/socket/netstack/netstack.go:545 +0x296 gvisor.dev/gvisor/pkg/sentry/fs.(*File).Pwritev(0xc000b45080, 0x10b02a0, 0xc000800238, 0x10a9660, 0xc0002c1000, 0x0, 0x1, 0x0, 0x9, 0x0, ...) pkg/sentry/fs/file.go:374 +0x1c6 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.performCallback(0xc000903500, 0xc000b45080, 0x20000000, 0xc0007be080, 0x10a9660, 0xc0002c1000, 0x0, 0x1, 0x0, 0x9, ...) pkg/sentry/syscalls/linux/sys_aio.go:283 +0x2cc gvisor.dev/gvisor/pkg/sentry/syscalls/linux.submitCallback.func1() pkg/sentry/syscalls/linux/sys_aio.go:369 +0xc1 gvisor.dev/gvisor/pkg/sentry/fs.Async.func1(0xc0001b8850) pkg/sentry/fs/fs.go:86 +0x51 created by gvisor.dev/gvisor/pkg/sentry/fs.Async pkg/sentry/fs/fs.go:84 +0x55