panic: Task goroutine switching from state 2 (expected 1) to 3 goroutine 385 [running]: gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).accountTaskGoroutineEnter(0xc00014d500, 0x3) pkg/sentry/kernel/task_sched.go:121 +0x26e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).SleepStart(0xc00014d500, 0xc0008280c0) pkg/sentry/kernel/task_block.go:162 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).block(0xc00014d500, 0xc0008280c0, 0x0, 0xf77ac0, 0xc00014d500) 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(0xc0001e82d0, 0x110d780, 0xc000230048, 0xc000550a50, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, ...) pkg/sentry/socket/netstack/netstack.go:557 +0x296 gvisor.dev/gvisor/pkg/sentry/fs.(*File).Pwritev(0xc000550a50, 0x110d780, 0xc000230048, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/fs/file.go:374 +0x1c6 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.performCallback(0xc00014d500, 0xc000550a50, 0x20000180, 0xc00055e1c0, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, ...) 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(0xc00054a2a0) pkg/sentry/fs/fs.go:86 +0x51 created by gvisor.dev/gvisor/pkg/sentry/fs.Async pkg/sentry/fs/fs.go:84 +0x55