panic: runtime error: index out of range [0] with length 0 goroutine 43429 [running]: panic(0x1bacee0, 0xc003c426a8) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0018c4968 sp=0xc0018c48a0 pc=0x43a6c5 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc0018c49b0 sp=0xc0018c4968 pc=0x437a25 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc00077f0e8, 0x33b8d18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:261 +0x9fc fp=0xc0018c4af0 sp=0xc0018c49b0 pc=0x10fb81c gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc00077f080, 0x1ebfc70, 0xc0004d3180, 0x1eba080, 0xc0038dc000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:177 +0x1f2 fp=0xc0018c4ba0 sp=0xc0018c4af0 pc=0x170f792 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc00077f080, 0x1ebfc70, 0xc0004d3180, 0x1eba080, 0xc0038dc000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:165 +0x107 fp=0xc0018c4c70 sp=0xc0018c4ba0 pc=0x170f527 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc00077f080, 0x1ebfc70, 0xc0004d3180, 0x1eba080, 0xc0038dc000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:732 +0x1b3 fp=0xc0018c4d50 sp=0xc0018c4c70 pc=0x9b40f3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x1ebfc70, 0xc0004d3180) pkg/sentry/syscalls/linux/vfs2/aio.go:227 +0x6dd fp=0xc0018c4f98 sp=0xc0018c4d50 pc=0x1626e3d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc004678cb0, 0x1ebfc70, 0xc0004d3180, 0xc00016c22c) pkg/sentry/kernel/aio.go:35 +0x62 fp=0xc0018c4fc0 sp=0xc0018c4f98 pc=0xe9f682 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0018c4fc8 sp=0xc0018c4fc0 pc=0x477541 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:33 +0x195