Compare the same git build between Impish and Jammy:

~/qemu/build$ gdb ./qemu-system-x86_64
(gdb) watch spice_display_is_running
(gdb) b qxl_send_events
(gdb) b qemu_spice_display_is_running
(gdb) b qemu_spice_display_start
(gdb) handle SIGUSR1 nostop noprint pass
(gdb) run -cpu qemu64 -machine q35,accel=kvm -m 512M -vga qxl -display none 
-spice port=5903,addr=127.0.0.1


In Impish I see it checking `qemu_spice_display_is_running` a few times
then we see `qemu_spice_display_start` come by and enable the display.
Only later does qxl_send_events happen and then trigger the error.


```
Starting program: /home/ubuntu/qemu/build/qemu-system-x86_64 -cpu qemu64 
-machine q35,accel=kvm -m 512M -vga qxl -display none -spice 
port=5903,addr=127.0.0.1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6243640 (LWP 721583)]
[New Thread 0x7ffff53c2640 (LWP 721584)]
[New Thread 0x7fffcfdff640 (LWP 721585)]

Thread 1 "qemu-system-x86" hit Breakpoint 2, qemu_spice_display_is_running 
(ssd=0x555557191bc0) at ../ui/spice-core.c:1015
1015        return spice_display_is_running;
(gdb) c
Continuing.

Thread 1 "qemu-system-x86" hit Breakpoint 2, qemu_spice_display_is_running 
(ssd=0x555557191bc0) at ../ui/spice-core.c:1015
1015        return spice_display_is_running;
(gdb) c
Continuing.

Thread 1 "qemu-system-x86" hit Breakpoint 2, qemu_spice_display_is_running 
(ssd=0x555557191bc0) at ../ui/spice-core.c:1015
1015        return spice_display_is_running;
(gdb) c
Continuing.

Thread 1 "qemu-system-x86" hit Breakpoint 2, qemu_spice_display_is_running 
(ssd=0x555557191bc0) at ../ui/spice-core.c:1015
1015        return spice_display_is_running;
(gdb) c
Continuing.

Thread 1 "qemu-system-x86" hit Breakpoint 4, qemu_spice_display_start () at 
../ui/spice-core.c:995
995         if (spice_display_is_running) {
(gdb) c
Continuing.

Thread 1 "qemu-system-x86" hit Hardware watchpoint 1:
spice_display_is_running

Old value = 0
New value = 1
qemu_spice_display_start () at ../ui/spice-core.c:1000
1000        spice_server_vm_start(spice_server);
(gdb) c
Continuing.
[Switching to Thread 0x7fffcfdff640 (LWP 721585)]

Thread 4 "SPICE Worker" hit Breakpoint 3, qxl_send_events (d=0x555557191210, 
events=16) at ../hw/display/qxl.c:1867
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964777

Title:
  qxl_send_events: spice-server bug: guest stopped, ignoring

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1964777/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to