On 4/26/17 9:12 AM, leon wrote: > Public bug reported: > > This is a rewrite for https://bugs.launchpad.net/qemu/+bug/1670377 > > QEMU 2.6 or later > tigervncviwer 1.6 > > Once get into grub boot interface(choose boot os, or recovery mode), > keep pressing arrow down button for couple times, qemu will close the > connection, vnc used zrle mode. One correction is that hold pressing "down" key, and do not release it for a while, then the connection will be closed. > > Interesting place: > 1. when stopped at grub interface, only arrow up and down key could trigger > it, > 2. only in zrle or tight mode, could work well in raw mode > 2. it only triggered by remote connection, not happen if local vncviewer and > vnc server According to the trace file, it looks like socket is closed right after qio_channel_socket_writev, so it may something wrong when update fb by zrle mode. Anyone know how to trace buffer size change?
46531@1493059183.573496:ps2_put_keycode 0x55f2943ae3b0 keycode 208 46531@1493059183.573498:system_wakeup_request reason=3 46531@1493059183.573500:kvm_vm_ioctl type 0xc008ae67, arg 0x7ffe75347160 46531@1493059183.573503:apic_report_irq_delivered coalescing 32932 46531@1493059183.573505:kvm_vm_ioctl type 0xc008ae67, arg 0x7ffe75347180 46531@1493059183.573507:apic_report_irq_delivered coalescing 32934 46531@1493059183.573509:input_event_sync 46531@1493059183.573518:buffer_resize vnc-input/0x55f293ec3c30: old 4096, new 4096 46531@1493059183.573521:object_class_dynamic_cast_assert qio-channel-socket->qio-channel (io/channel.c:60:qio_channel_writev_full) 46531@1493059183.573524:object_dynamic_cast_assert qio-channel-socket->qio-channel-socket (io/channel-socket.c:508:qio_channel_socket_writev) 46531@1493059183.573528:object_class_dynamic_cast_assert qio-channel-socket->qio-channel (io/channel.c:123:qio_channel_close) 46531@1493059183.573531:object_dynamic_cast_assert qio-channel-socket->qio-channel-socket (io/channel-socket.c:688:qio_channel_socket_close) Thanks, Liang > > A trace is attached. > > Thanks > > ** Affects: qemu > Importance: Undecided > Status: New > > ** Attachment added: "qemu trace file" > > https://bugs.launchpad.net/bugs/1686390/+attachment/4868238/+files/trace.txt >