blob: 1718db82a39aacde873685f69dfd6a93c70927e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
8.0.0rc0 Regression: vnc fails with Segmentation fault
Description of problem:
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
```
Steps to 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 information:
Final output of `git bisect`:
```
385ac97f8fad0e6980c5dfea71132d5ecfb16608 is the first bad commit
commit 385ac97f8fad0e6980c5dfea71132d5ecfb16608
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
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 <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
include/ui/console.h | 1 +
ui/console.c | 8 ++++++++
ui/vnc.c | 7 ++-----
ui/vnc.h | 1 -
4 files changed, 11 insertions(+), 6 deletions(-)
```
|