id = 1548 title = "8.0.0rc0 Regression: vnc fails with Segmentation fault" state = "closed" created_at = "2023-03-17T17:18:30.226Z" closed_at = "2023-07-04T21:57:53.370Z" labels = ["GUI", "Regression", "kind::Bug", "workflow::Needs Info"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1548" host-os = "Linux" host-arch = "x86_64" qemu-version = "QEMU emulator version 7.2.50 (v7.2.0-2658-g385ac97f8f) - according to `git bisect" guest-os = "openSUSE-Leap-15.3" guest-arch = "x86_64" description = """On connecting with `gvncviewer localhost:05` the qemu process fails with ``` Segmentation fault ``` `gvncviewer localhost:05` prints ``` Connected to server Error: Server closed the connection Disconnected from server ```""" reproduce = """1. Enter `qemu-system-x86_64 -m 1536 -display vnc=:05 -k de -cdrom openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso` in first terminal 2. Enter `gvncviewer localhost:05` in second terminal""" additional = """Final output of `git bisect`: ``` 385ac97f8fad0e6980c5dfea71132d5ecfb16608 is the first bad commit commit 385ac97f8fad0e6980c5dfea71132d5ecfb16608 Author: Marc-André Lureau Date: Tue Jan 17 15:24:40 2023 +0400 ui: keep current cursor with QemuConsole Keeping the current cursor around is useful, not only for VNC, but for other displays. Let's move it down, see the following patches for other usages. Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé include/ui/console.h | 1 + ui/console.c | 8 ++++++++ ui/vnc.c | 7 ++----- ui/vnc.h | 1 - 4 files changed, 11 insertions(+), 6 deletions(-) ```"""