panic: runtime error: index out of range goroutine 2528 [running]: unicode/utf8.EncodeRune(0xc00045c1e9, 0x1, 0x7, 0x9c, 0xc00000009c) GOROOT/src/unicode/utf8/utf8.go:346 +0x148 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*inputQueueTransformer).transform(0x14385f8, 0xc00092b980, 0xc00092b990, 0xc00052e092, 0x8d, 0x8f, 0x8a3b00000008) pkg/sentry/fs/tty/line_discipline.go:403 +0x3f5 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).pushWaitBufLocked(0xc00092b990, 0xc00092b980, 0xc0009e2a80) pkg/sentry/fs/tty/queue.go:227 +0xa2 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).write(0xc00092b990, 0xdd9e20, 0xc0009e2a80, 0xdd8e60, 0xc000f2a000, 0x0, 0x1, 0x20000080, 0x8f, 0x100, ...) pkg/sentry/fs/tty/queue.go:187 +0x1b2 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*lineDiscipline).inputQueueWrite(0xc00092b980, 0xdd9e20, 0xc0009e2a80, 0xdd8e60, 0xc000f2a000, 0x0, 0x1, 0x20000080, 0x8f, 0x100, ...) pkg/sentry/fs/tty/line_discipline.go:205 +0xef gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).Write(0xc0002425a0, 0xdd9e20, 0xc0009e2a80, 0xc000218510, 0xdd8e60, 0xc000f2a000, 0x0, 0x1, 0x20000080, 0x8f, ...) pkg/sentry/fs/tty/master.go:141 +0x85 DIAGNOSIS: I0330 02:27:41.993246 3251 x:0] *************************** I0330 02:27:41.993315 3251 x:0] Args: [/syzkaller/managers/kvm-direct-sandbox/current/image -root /syzkaller/managers/kvm-direct-sandbox/workdir/gvisor_root -watchdog-action=panic -network=none -debug -platform=kvm -file-access=exclusive -network=sandbox debug -stacks ci-gvisor-kvm-direct-sandbox-3] I0330 02:27:41.993329 3251 x:0] Git Revision: cc0e96a4bd3348ecc2a636fd90118b8e5cce672c I0330 02:27:41.993333 3251 x:0] PID: 3251 I0330 02:27:41.993343 3251 x:0] UID: 0, GID: 0 I0330 02:27:41.993345 3251 x:0] Configuration: I0330 02:27:41.993348 3251 x:0] RootDir: /syzkaller/managers/kvm-direct-sandbox/workdir/gvisor_root I0330 02:27:41.993351 3251 x:0] Platform: kvm I0330 02:27:41.993363 3251 x:0] FileAccess: exclusive, overlay: false I0330 02:27:41.993369 3251 x:0] Network: sandbox, logging: false I0330 02:27:41.993374 3251 x:0] Strace: false, max size: 1024, syscalls: [] I0330 02:27:41.993378 3251 x:0] *************************** D0330 02:27:41.993393 3251 x:0] Load container "/syzkaller/managers/kvm-direct-sandbox/workdir/gvisor_root" "ci-gvisor-kvm-direct-sandbox-3" D0330 02:27:41.994676 3251 x:0] Signal container "ci-gvisor-kvm-direct-sandbox-3": signal 0 D0330 02:27:41.994696 3251 x:0] Signal sandbox "ci-gvisor-kvm-direct-sandbox-3" D0330 02:27:41.994700 3251 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-sandbox-3" D0330 02:27:41.994825 3251 x:0] urpc: successfully marshalled 110 bytes. I0330 02:27:42.155902 3251 x:0] Found sandbox "ci-gvisor-kvm-direct-sandbox-3", PID: 43060 I0330 02:27:42.155936 3251 x:0] Retrieving sandbox stacks D0330 02:27:42.155940 3251 x:0] Stacks sandbox "ci-gvisor-kvm-direct-sandbox-3" D0330 02:27:42.155944 3251 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-sandbox-3" D0330 02:27:42.156031 3251 x:0] urpc: successfully marshalled 36 bytes. W0330 02:27:42.175600 3251 x:0] FATAL ERROR: retrieving stacks: getting sandbox "ci-gvisor-kvm-direct-sandbox-3" stacks: urpc method "debug.Stacks" failed: connection reset by peer retrieving stacks: getting sandbox "ci-gvisor-kvm-direct-sandbox-3" stacks: urpc method "debug.Stacks" failed: connection reset by peer