root@vas:~# pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-3-pve)
root@vas:~# gdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/107.pid)
[New LWP 5363]
[New LWP 5505]
[New LWP 5506]
[New LWP 5507]
[New LWP 5508]
[New LWP 5509]
[New LWP 5512]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x000077d6843ba256 in __ppoll (fds=0x6531b4a1ac00, nfds=92, timeout=<optimized out>, timeout@entry=0x7ffd5f0882f0, 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 0x77d4710006c0 (LWP 5512) "vnc_worker"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x6531b40037cc) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6531b40037cc, 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 0x000077d684343efb in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6531b40037cc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x000077d684346558 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x6531b40037d8, cond=0x6531b40037a0) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x6531b40037a0, mutex=mutex@entry=0x6531b40037d8) at ./nptl/pthread_cond_wait.c:618
#5 0x00006531b0eafdeb in qemu_cond_wait_impl (cond=0x6531b40037a0, mutex=0x6531b40037d8, file=0x6531b0f74cf4 "../ui/vnc-jobs.c", line=248) at ../util/qemu-thread-posix.c:225
#6 0x00006531b093bf2b in vnc_worker_thread_loop (queue=queue@entry=0x6531b40037a0) at ../ui/vnc-jobs.c:248
#7 0x00006531b093cbc8 in vnc_worker_thread (arg=arg@entry=0x6531b40037a0) at ../ui/vnc-jobs.c:362
#8 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b4003830) at ../util/qemu-thread-posix.c:541
#9 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 7 (Thread 0x77d679c006c0 (LWP 5509) "CPU 3/KVM"):
#0 __GI___ioctl (fd=32, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x00006531b0d156cf in kvm_vcpu_ioctl (cpu=cpu@entry=0x6531b3c50030, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3179
#2 0x00006531b0d15ba5 in kvm_cpu_exec (cpu=cpu@entry=0x6531b3c50030) at ../accel/kvm/kvm-all.c:2991
#3 0x00006531b0d1708d in kvm_vcpu_thread_fn (arg=arg@entry=0x6531b3c50030) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b3c592c0) at ../util/qemu-thread-posix.c:541
#5 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x77d67a6006c0 (LWP 5508) "CPU 2/KVM"):
#0 __GI___ioctl (fd=30, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x00006531b0d156cf in kvm_vcpu_ioctl (cpu=cpu@entry=0x6531b3c46540, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3179
#2 0x00006531b0d15ba5 in kvm_cpu_exec (cpu=cpu@entry=0x6531b3c46540) at ../accel/kvm/kvm-all.c:2991
#3 0x00006531b0d1708d in kvm_vcpu_thread_fn (arg=arg@entry=0x6531b3c46540) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b3c4f660) at ../util/qemu-thread-posix.c:541
#5 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x77d67b0006c0 (LWP 5507) "CPU 1/KVM"):
#0 __GI___ioctl (fd=28, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x00006531b0d156cf in kvm_vcpu_ioctl (cpu=cpu@entry=0x6531b3c3cb50, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3179
#2 0x00006531b0d15ba5 in kvm_cpu_exec (cpu=cpu@entry=0x6531b3c3cb50) at ../accel/kvm/kvm-all.c:2991
#3 0x00006531b0d1708d in kvm_vcpu_thread_fn (arg=arg@entry=0x6531b3c3cb50) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b3c45b70) at ../util/qemu-thread-posix.c:541
#5 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x77d67be006c0 (LWP 5506) "CPU 0/KVM"):
#0 __GI___ioctl (fd=26, request=request@entry=44672) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1 0x00006531b0d156cf in kvm_vcpu_ioctl (cpu=cpu@entry=0x6531b3c0cc10, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3179
#2 0x00006531b0d15ba5 in kvm_cpu_exec (cpu=cpu@entry=0x6531b3c0cc10) at ../accel/kvm/kvm-all.c:2991
#3 0x00006531b0d1708d in kvm_vcpu_thread_fn (arg=arg@entry=0x6531b3c0cc10) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b3894bc0) at ../util/qemu-thread-posix.c:541
#5 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x77d6815fe4c0 (LWP 5505) "vhost-5362"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 2 (Thread 0x77d6812006c0 (LWP 5363) "call_rcu"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00006531b0eb045a in qemu_futex_wait (val=<optimized out>, f=<optimized out>) at ./include/qemu/futex.h:29
#2 qemu_event_wait (ev=ev@entry=0x6531b1803c68 <rcu_call_ready_event>) at ../util/qemu-thread-posix.c:464
#3 0x00006531b0eb9d62 in call_rcu_thread (opaque=opaque@entry=0x0) at ../util/rcu.c:278
#4 0x00006531b0eaf2d8 in qemu_thread_start (args=0x6531b38999b0) at ../util/qemu-thread-posix.c:541
#5 0x000077d684347134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x000077d6843c77dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x77d6815fe4c0 (LWP 5362) "kvm"):
#0 0x000077d6843ba256 in __ppoll (fds=0x6531b4a1ac00, nfds=92, timeout=<optimized out>, timeout@entry=0x7ffd5f0882f0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1 0x00006531b0ec555e in ppoll (__ss=0x0, __timeout=0x7ffd5f0882f0, __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=1694141246) at ../util/qemu-timer.c:351
#3 0x00006531b0ec2e4e in os_host_main_loop_wait (timeout=1694141246) at ../util/main-loop.c:308
#4 main_loop_wait (nonblocking=nonblocking@entry=0) at ../util/main-loop.c:592
#5 0x00006531b0b1faa7 in qemu_main_loop () at ../softmmu/runstate.c:732
#6 0x00006531b0d1ff46 in qemu_default_main () at ../softmmu/main.c:37
#7 0x000077d6842e524a in __libc_start_call_main (main=main@entry=0x6531b0910480 <main>, argc=argc@entry=83, argv=argv@entry=0x7ffd5f088508) at ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x000077d6842e5305 in __libc_start_main_impl (main=0x6531b0910480 <main>, argc=83, argv=0x7ffd5f088508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd5f0884f8) at ../csu/libc-start.c:360
#9 0x00006531b09120a1 in _start ()
[Inferior 1 (process 5362) detached]