blob: 30fe77210d0f69831b6c74a1369678064470f834 (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
vnc: 0.948
device: 0.723
mistranslation: 0.642
graphic: 0.609
semantic: 0.603
socket: 0.573
other: 0.556
network: 0.443
instruction: 0.175
boot: 0.171
KVM: 0.101
assembly: 0.082
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(-)
```
|