root@xenon:~# strace -c -p $(cat /var/run/qemu-server/105.pid)
strace: Process 2780175 attached
^Cstrace: Process 2780175 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
99.03 7.500966 5357 1400 ppoll
0.47 0.035584 6 5352 write
0.19 0.014114 10 1376 read
0.15 0.011657 971 12 fcntl
0.12 0.008742 6 1310 recvmsg
0.03 0.002421 93 26 sendmsg
0.01 0.000950 158 6 accept4
0.00 0.000029 4 6 close
0.00 0.000009 1 6 getsockname
------ ----------- ----------- --------- --------- ----------------
100.00 7.574472 797 9494 total
root@xenon:~# gdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/105.pid)[New LWP 2780176]
[New LWP 2780220]
[New LWP 2780221]
[New LWP 2780222]
[New LWP 2780225]
[New LWP 2780274]
[New LWP 1339380]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fa19403c0f6 in __ppoll (fds=0x55eb4686d200, nfds=147, timeout=<optimized out>, timeout@entry=0x7ffc805a6ce0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
42 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory.
Thread 8 (Thread 0x7fa189114280 (LWP 1339380) "iou-wrk-2780175"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 7 (Thread 0x7f9f635f96c0 (LWP 2780274) "vnc_worker"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55eb46889b98) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55eb46889b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2 0x00007fa193fc5d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55eb46889b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fa193fc83f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55eb46889ba8, cond=0x55eb46889b70) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x55eb46889b70, mutex=mutex@entry=0x55eb46889ba8) at ./nptl/pthread_cond_wait.c:618
#5 0x000055eb44d506fb in qemu_cond_wait_impl (cond=0x55eb46889b70, mutex=0x55eb46889ba8, file=0x55eb44dddbb4 "../ui/vnc-jobs.c", line=248) at ../util/qemu-thread-posix.c:225
#6 0x000055eb447b6fdd in vnc_worker_thread_loop (queue=queue@entry=0x55eb46889b70) at ../ui/vnc-jobs.c:248
#7 0x000055eb447b7ce8 in vnc_worker_thread (arg=arg@entry=0x55eb46889b70) at ../ui/vnc-jobs.c:361
#8 0x000055eb44d4fbe8 in qemu_thread_start (args=0x55eb468a66b0) at ../util/qemu-thread-posix.c:541
#9 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x7f9f7bdff6c0 (LWP 2780225) "SPICE Worker"):
#0 0x00007fa19403bfff in __GI___poll (fds=0x7f9f5c0014f0, nfds=2, timeout=2147483647) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fa1958df9ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fa1958dfcef in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fa196004fa9 in ?? () from /lib/x86_64-linux-gnu/libspice-server.so.1
#4 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x7fa1821ff6c0 (LWP 2780222) "CPU 2/KVM"):
#0 __GI___ioctl (fd=33, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x000055eb44bbc55f in kvm_vcpu_ioctl (cpu=cpu@entry=0x55eb463e0230, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x000055eb44bbc6b5 in kvm_cpu_exec (cpu=cpu@entry=0x55eb463e0230) at ../accel/kvm/kvm-all.c:2939
#3 0x000055eb44bbdcfd in kvm_vcpu_thread_fn (arg=arg@entry=0x55eb463e0230) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x000055eb44d4fbe8 in qemu_thread_start (args=0x55eb463e8c80) at ../util/qemu-thread-posix.c:541
#5 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7fa182dff6c0 (LWP 2780221) "CPU 1/KVM"):
#0 __GI___ioctl (fd=32, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x000055eb44bbc55f in kvm_vcpu_ioctl (cpu=cpu@entry=0x55eb463d6cd0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x000055eb44bbc6b5 in kvm_cpu_exec (cpu=cpu@entry=0x55eb463d6cd0) at ../accel/kvm/kvm-all.c:2939
#3 0x000055eb44bbdcfd in kvm_vcpu_thread_fn (arg=arg@entry=0x55eb463d6cd0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x000055eb44d4fbe8 in qemu_thread_start (args=0x55eb463df890) at ../util/qemu-thread-posix.c:541
#5 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7fa183fff6c0 (LWP 2780220) "CPU 0/KVM"):
#0 __GI___ioctl (fd=31, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x000055eb44bbc55f in kvm_vcpu_ioctl (cpu=cpu@entry=0x55eb463a61c0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x000055eb44bbc6b5 in kvm_cpu_exec (cpu=cpu@entry=0x55eb463a61c0) at ../accel/kvm/kvm-all.c:2939
#3 0x000055eb44bbdcfd in kvm_vcpu_thread_fn (arg=arg@entry=0x55eb463a61c0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x000055eb44d4fbe8 in qemu_thread_start (args=0x55eb463ace10) at ../util/qemu-thread-posix.c:541
#5 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7fa188fa66c0 (LWP 2780176) "call_rcu"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x000055eb44d50d6a in qemu_futex_wait (val=<optimized out>, f=<optimized out>) at ./include/qemu/futex.h:29
#2 qemu_event_wait (ev=ev@entry=0x55eb45660ce8 <rcu_call_ready_event>) at ../util/qemu-thread-posix.c:464
#3 0x000055eb44d5a5c2 in call_rcu_thread (opaque=opaque@entry=0x0) at ../util/rcu.c:261
#4 0x000055eb44d4fbe8 in qemu_thread_start (args=0x55eb45fdfcf0) at ../util/qemu-thread-posix.c:541
#5 0x00007fa193fc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fa1940495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7fa189114280 (LWP 2780175) "kvm"):
#0 0x00007fa19403c0f6 in __ppoll (fds=0x55eb4686d200, nfds=147, timeout=<optimized out>, timeout@entry=0x7ffc805a6ce0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1 0x000055eb44d65bee in ppoll (__ss=0x0, __timeout=0x7ffc805a6ce0, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:64
#2 qemu_poll_ns (fds=<optimized out>, nfds=<optimized out>, timeout=timeout@entry=2999229611) at ../util/qemu-timer.c:351
#3 0x000055eb44d634ee in os_host_main_loop_wait (timeout=2999229611) at ../util/main-loop.c:308
#4 main_loop_wait (nonblocking=nonblocking@entry=0) at ../util/main-loop.c:592
#5 0x000055eb4497faf7 in qemu_main_loop () at ../softmmu/runstate.c:731
#6 0x000055eb44bc6a46 in qemu_default_main () at ../softmmu/main.c:37
#7 0x00007fa193f6718a in __libc_start_call_main (main=main@entry=0x55eb4478c390 <main>, argc=argc@entry=98, argv=argv@entry=0x7ffc805a6ef8) at ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x00007fa193f67245 in __libc_start_main_impl (main=0x55eb4478c390 <main>, argc=98, argv=0x7ffc805a6ef8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc805a6ee8) at ../csu/libc-start.c:381
#9 0x000055eb4478de71 in _start ()
[Inferior 1 (process 2780175) detached]
root@xenon:~# qm config 105
agent: 1
audio0: device=ich9-intel-hda,driver=spice
balloon: 512
bios: ovmf
bootdisk: scsi0
cores: 3
cpu: kvm64
efidisk0: local-lvm:vm-105-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M
ide0: none,media=cdrom
ide2: none,media=cdrom
machine: pc-q35-7.2
memory: 8192
name: win10
net0: virtio=9A:00:B8:64
0:29,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-105-disk-0,discard=on,size=128G
scsihw: virtio-scsi-pci
smbios1: uuid=81e5d251-b177-4bc0-aba0-c0df15073315
sockets: 1
tpmstate0: local-lvm:vm-105-disk-2,size=4M,version=v2.0
vga: qxl
vmgenid: 098c9138-7808-48bb-9d4c-c7987143cabf
root@xenon:~# pveversion -v
proxmox-ve: 8.0.1 (running kernel: 6.2.16-3-pve)
pve-manager: 8.0.3 (running version: 8.0.3/bbf3993334bfa916)
pve-kernel-6.2: 8.0.3
pve-kernel-5.15: 7.4-4
pve-kernel-6.2.16-4-pve: 6.2.16-5
pve-kernel-6.2.16-3-pve: 6.2.16-3
pve-kernel-5.15.108-1-pve: 5.15.108-1
ceph-fuse: 16.2.11+ds-2
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown: residual config
ifupdown2: 3.2.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-3
libknet1: 1.25-pve1
libproxmox-acme-perl: 1.4.6
libproxmox-backup-qemu0: 1.4.0
libproxmox-rs-perl: 0.3.0
libpve-access-control: 8.0.3
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.0.6
libpve-guest-common-perl: 5.0.3
libpve-http-server-perl: 5.0.4
libpve-rs-perl: 0.8.4
libpve-storage-perl: 8.0.2
libqb0: 1.0.5-1
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve3
novnc-pve: 1.4.0-2
proxmox-backup-client: 3.0.1-1
proxmox-backup-file-restore: 3.0.1-1
proxmox-kernel-helper: 8.0.2
proxmox-mail-forward: 0.2.0
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.2
proxmox-widget-toolkit: 4.0.6
pve-cluster: 8.0.2
pve-container: 5.0.4
pve-docs: 8.0.4
pve-edk2-firmware: 3.20230228-4
pve-firewall: 5.0.2
pve-firmware: 3.7-1
pve-ha-manager: 4.0.2
pve-i18n: 3.0.5
pve-qemu-kvm: 8.0.2-3
pve-xtermjs: 4.16.0-3
qemu-server: 8.0.6
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.1.12-pve1