root@xenon:~# strace -c -p $(cat /var/run/qemu-server/105.pid)
strace: Process 1629 attached
^Cstrace: Process 1629 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
98.71 20.595787 5937 3469 ppoll
0.86 0.180207 13 13382 write
0.24 0.050447 14 3444 read
0.12 0.024196 7 3273 recvmsg
0.06 0.013304 201 66 sendmsg
0.00 0.000018 1 15 close
0.00 0.000018 0 30 fcntl
0.00 0.000014 0 15 accept4
0.00 0.000004 0 15 getsockname
0.00 0.000001 0 4 ioctl
------ ----------- ----------- --------- --------- ----------------
100.00 20.863996 879 23713 total
root@xenon:~# gdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/105.pid)[New LWP 1630]
[New LWP 1674]
[New LWP 1675]
[New LWP 1676]
[New LWP 1679]
[New LWP 1778]
[New LWP 2729046]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fcd41cac0f6 in __ppoll (fds=0x559ed7664400, nfds=147, timeout=<optimized out>, timeout@entry=0x7ffd562e5bd0, 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 0x7fcd36dec280 (LWP 2729046) "iou-wrk-1629"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 7 (Thread 0x7fcb0cbd96c0 (LWP 1778) "vnc_worker"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x559ed6d67f98) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x559ed6d67f98, 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 0x00007fcd41c35d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x559ed6d67f98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fcd41c383f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559ed6d67fa8, cond=0x559ed6d67f70) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x559ed6d67f70, mutex=mutex@entry=0x559ed6d67fa8) at ./nptl/pthread_cond_wait.c:618
#5 0x0000559ed49686fb in qemu_cond_wait_impl (cond=0x559ed6d67f70, mutex=0x559ed6d67fa8, file=0x559ed49f5bb4 "../ui/vnc-jobs.c", line=248) at ../util/qemu-thread-posix.c:225
#6 0x0000559ed43cefdd in vnc_worker_thread_loop (queue=queue@entry=0x559ed6d67f70) at ../ui/vnc-jobs.c:248
#7 0x0000559ed43cfce8 in vnc_worker_thread (arg=arg@entry=0x559ed6d67f70) at ../ui/vnc-jobs.c:361
#8 0x0000559ed4967be8 in qemu_thread_start (args=0x559ed6755770) at ../util/qemu-thread-posix.c:541
#9 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x7fcb25bff6c0 (LWP 1679) "SPICE Worker"):
#0 0x00007fcd41cabfff in __GI___poll (fds=0x7fcb1c0014f0, nfds=2, timeout=2147483647) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fcd4353e9ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fcd4353ecef in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fcd43cdafa9 in ?? () from /lib/x86_64-linux-gnu/libspice-server.so.1
#4 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x7fcb27bff6c0 (LWP 1676) "CPU 2/KVM"):
#0 __GI___ioctl (fd=32, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x0000559ed47d455f in kvm_vcpu_ioctl (cpu=cpu@entry=0x559ed670f230, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x0000559ed47d46b5 in kvm_cpu_exec (cpu=cpu@entry=0x559ed670f230) at ../accel/kvm/kvm-all.c:2939
#3 0x0000559ed47d5cfd in kvm_vcpu_thread_fn (arg=arg@entry=0x559ed670f230) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x0000559ed4967be8 in qemu_thread_start (args=0x559ed6717c80) at ../util/qemu-thread-posix.c:541
#5 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7fcd34bff6c0 (LWP 1675) "CPU 1/KVM"):
#0 __GI___ioctl (fd=31, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x0000559ed47d455f in kvm_vcpu_ioctl (cpu=cpu@entry=0x559ed6705cd0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x0000559ed47d46b5 in kvm_cpu_exec (cpu=cpu@entry=0x559ed6705cd0) at ../accel/kvm/kvm-all.c:2939
#3 0x0000559ed47d5cfd in kvm_vcpu_thread_fn (arg=arg@entry=0x559ed6705cd0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x0000559ed4967be8 in qemu_thread_start (args=0x559ed670e890) at ../util/qemu-thread-posix.c:541
#5 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7fcd361ba6c0 (LWP 1674) "CPU 0/KVM"):
#0 __GI___ioctl (fd=30, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x0000559ed47d455f in kvm_vcpu_ioctl (cpu=cpu@entry=0x559ed66d51c0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3127
#2 0x0000559ed47d46b5 in kvm_cpu_exec (cpu=cpu@entry=0x559ed66d51c0) at ../accel/kvm/kvm-all.c:2939
#3 0x0000559ed47d5cfd in kvm_vcpu_thread_fn (arg=arg@entry=0x559ed66d51c0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x0000559ed4967be8 in qemu_thread_start (args=0x559ed66dbe10) at ../util/qemu-thread-posix.c:541
#5 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7fcd36c7e6c0 (LWP 1630) "call_rcu"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000559ed4968d6a in qemu_futex_wait (val=<optimized out>, f=<optimized out>) at ./include/qemu/futex.h:29
#2 qemu_event_wait (ev=ev@entry=0x559ed5278ce8 <rcu_call_ready_event>) at ../util/qemu-thread-posix.c:464
#3 0x0000559ed49725c2 in call_rcu_thread (opaque=opaque@entry=0x0) at ../util/rcu.c:261
#4 0x0000559ed4967be8 in qemu_thread_start (args=0x559ed630ecf0) at ../util/qemu-thread-posix.c:541
#5 0x00007fcd41c38fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007fcd41cb95bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7fcd36dec280 (LWP 1629) "kvm"):
#0 0x00007fcd41cac0f6 in __ppoll (fds=0x559ed7664400, nfds=147, timeout=<optimized out>, timeout@entry=0x7ffd562e5bd0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1 0x0000559ed497dbee in ppoll (__ss=0x0, __timeout=0x7ffd562e5bd0, __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=2179731832) at ../util/qemu-timer.c:351
#3 0x0000559ed497b4ee in os_host_main_loop_wait (timeout=2179731832) at ../util/main-loop.c:308
#4 main_loop_wait (nonblocking=nonblocking@entry=0) at ../util/main-loop.c:592
#5 0x0000559ed4597af7 in qemu_main_loop () at ../softmmu/runstate.c:731
#6 0x0000559ed47dea46 in qemu_default_main () at ../softmmu/main.c:37
#7 0x00007fcd41bd718a in __libc_start_call_main (main=main@entry=0x559ed43a4390 <main>, argc=argc@entry=98, argv=argv@entry=0x7ffd562e5de8) at ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x00007fcd41bd7245 in __libc_start_main_impl (main=0x559ed43a4390 <main>, argc=98, argv=0x7ffd562e5de8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd562e5dd8) at ../csu/libc-start.c:381
#9 0x0000559ed43a5e71 in _start ()
[Inferior 1 (process 1629) 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.2
pve-kernel-5.15: 7.4-4
pve-kernel-6.2.16-3-pve: 6.2.16-3
pve-kernel-6.2.11-2-pve: 6.2.11-2
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.3
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