Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-69774

virtqemud crashed when starting a transient guest with a TPM device

    • libvirt-10.10.0-2.el10
    • No
    • Critical
    • rhel-sst-virtualization
    • ssg_virtualization
    • 20
    • 42
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      virtqemud crashed on target host during migration of a guest with a TPM device

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      libvirt-10.10.0-1.el9.aarch64

      qemu-kvm-9.1.0-5.el9.aarch64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Start a guest with tpm device:
       #virsh dumpxml vm2 --xpath //tpm
      <tpm model="tpm-crb">
        <backend type="emulator" version="2.0"/>
        <alias name="tpm0"/>
      </tpm>
      

            2.Do live migration:  

       # virsh -c 'qemu:///system' migrate --live  --verbose --domain vm2 --desturi qemu+ssh://test.com/system --persistent 
      error: End of file while reading data: virt-ssh-helper: could not proxy traffic: End of file while reading data: Input/output error: Input/output error
      

           3.Check the virtqemud coredump file on target host:

       # coredumpctl list
      TIME                          PID UID GID SIG     COREFILE EXE                   SIZE
      
      Tue 2024-12-03 00:49:27 EST 44673   0   0 SIGSEGV present  /usr/sbin/virtqemud   1.3M
      

         4.The backtrace is as follows:

       Core was generated by `/usr/sbin/virtqemud --timeout 120'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x0000ffff966c4438 in qemuExtDevicesStart (driver=0xffff54022a70, vm=0xffff54016390, incomingMigration=true)
          at ../src/qemu/qemu_extdevice.c:193
      193            virDomainTPMDef *persistentTPMDef = persistentDef->tpms[i];
      [Current thread is 1 (Thread 0xffff9e9eed80 (LWP 44675))]
      (gdb) t a a btThread 18 (Thread 0xffff67ffed80 (LWP 44687)):
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe535d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe53578, cond=0xaaaaffe535a8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe535a8, mutex=0xaaaaffe53578) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 17 (Thread 0xffff977eed80 (LWP 44682)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe569e4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe569b8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe569b8, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 16 (Thread 0xffff667ced80 (LWP 44691)):
      
      #0  0x0000ffffae05bca0 in __GI___poll (fds=0xffff5401fe60, nfds=2, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
      #1  0x0000ffffae93bf20 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0xffff5401fe60, timeout=<optimized out>, context=0xffff5401dda0) at ../glib/gmain.c:4458
      #2  g_main_context_iterate.constprop.0 (context=0xffff5401dda0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4150
      #3  0x0000ffffae8e571c in g_main_loop_run (loop=0xffff5401de90) at ../glib/gmain.c:4353
      #4  0x0000ffffae2ba220 in gdbus_shared_thread_func (user_data=0xffff5401dd70) at ../gio/gdbusprivate.c:280
      #5  0x0000ffffae914ed8 in g_thread_proxy (data=0xffff54018460) at ../glib/gthread.c:826
      #6  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #7  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 15 (Thread 0xffff9e1ded80 (LWP 44677)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe56944, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe56918) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe56918, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 14 (Thread 0xffff9d1bed80 (LWP 44679)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe569e0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe569e0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe569e0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe569b8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe569b8, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 13 (Thread 0xffff66fded80 (LWP 44690)):
      
      #0  0x0000ffffae05bca0 in __GI___poll (fds=0xffff54009e70, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
      #1  0x0000ffffae93bf20 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0xffff54009e70, timeout=<optimized out>, context=0xffff5400d3b0) at ../glib/gmain.c:4458
      #2  g_main_context_iterate.constprop.0 (context=context@entry=0xffff5400d3b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4150
      #3  0x0000ffffae8e35a4 in g_main_context_iteration (context=0xffff5400d3b0, may_block=may_block@entry=1) at ../glib/gmain.c:4220
      #4  0x0000ffffae8e35fc in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6235
      #5  0x0000ffffae914ed8 in g_thread_proxy (data=0xffff54009400) at ../glib/gthread.c:826
      #6  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #7  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 12 (Thread 0xffff5f7eed80 (LWP 44688)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe535d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe53578, cond=0xaaaaffe535a8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe535a8, mutex=0xaaaaffe53578) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 11 (Thread 0xffff949aed80 (LWP 44686)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe535d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe53578, cond=0xaaaaffe535a8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe535a8, mutex=0xaaaaffe53578) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 10 (Thread 0xffff959ced80 (LWP 44684)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe535d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe53578, cond=0xaaaaffe535a8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe535a8, mutex=0xaaaaffe53578) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 9 (Thread 0xffff96fded80 (LWP 44683)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe569e4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe569b8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe569b8, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 8 (Thread 0xffff951bed80 (LWP 44685)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe535d0) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe535d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe53578, cond=0xaaaaffe535a8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe535a8, mutex=0xaaaaffe53578) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 7 (Thread 0xffff9c9aed80 (LWP 44680)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe569e4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe569b8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe569b8, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 6 (Thread 0xffff9d9ced80 (LWP 44678)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe56944, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe56918) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe56918, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 5 (Thread 0xffffae87a020 (LWP 44673)):
      
      #0  0x0000ffffae05bca0 in __GI___poll (fds=0xaaaaffe58750, nfds=8, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
      #1  0x0000ffffae93bf20 in g_main_context_poll (priority=<optimized out>, n_fds=8, fds=0xaaaaffe58750, timeout=<optimized out>, context=0xaaaaffe5f5c0) at ../glib/gmain.c:4458
      #2  g_main_context_iterate.constprop.0 (context=context@entry=0xaaaaffe5f5c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4150
      #3  0x0000ffffae8e35a4 in g_main_context_iteration (context=0xaaaaffe5f5c0, may_block=1) at ../glib/gmain.c:4220
      #4  0x0000ffffae4c8bb4 in virEventGLibRunOnce () from /lib64/libvirt.so.0
      #5  0x0000ffffae5f05c4 in virNetDaemonRun () from /lib64/libvirt.so.0
      #6  0x0000aaaac21f68bc in main (argc=<optimized out>, argv=<optimized out>) at ../src/remote/remote_daemon.c:1214Thread 4 (Thread 0xffff97ffed80 (LWP 44681)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe569e4) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe569e4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe569b8) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe569b8, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 3 (Thread 0xffff961ded80 (LWP 44676)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe56944) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe56944, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe56918) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe56918, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 2 (Thread 0xffff9f1fed80 (LWP 44674)):
      
      #0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xaaaaffe56940) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0xaaaaffe56940) at futex-internal.c:87
      #2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0xaaaaffe56940, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x0000ffffadffac50 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaaffe568e8, cond=0xaaaaffe56918) at pthread_cond_wait.c:504
      #4  ___pthread_cond_wait (cond=0xaaaaffe56918, mutex=0xaaaaffe568e8) at pthread_cond_wait.c:619
      #5  0x0000ffffae5291a0 in virCondWait () from /lib64/libvirt.so.0
      #6  0x0000ffffae52ed90 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #7  0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #8  0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #9  0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Thread 1 (Thread 0xffff9e9eed80 (LWP 44675)):
      
      #0  0x0000ffff966c4438 in qemuExtDevicesStart (driver=0xffff54022a70, vm=0xffff54016390, incomingMigration=true) at ../src/qemu/qemu_extdevice.c:193
      #1  0x0000ffff96722334 in qemuProcessLaunch (conn=0xffff7c004020, driver=0xffff54022a70, vm=0xffff54016390, asyncJob=VIR_ASYNC_JOB_MIGRATION_IN, incoming=0xffff9002ebc0, snapshot=0x0, vmop=VIR_NETDEV_VPORT_PROFILE_OP_MIGRATE_IN_START, flags=4) at ../src/qemu/qemu_process.c:7836
      #2  0x0000ffff966de61c in qemuMigrationDstPrepareActive (flags=9, migParams=0xffff900045c0, nbdURI=0x0, nbdPort=0, migrate_disks=0x0, listenAddress=<optimized out>, port=49152, protocol=0xffff9674bd98 "tcp", st=0x0, mig=0xffff90058440, dconn=0xffff7c004020, vm=0xffff54016390, driver=0xffff54022a70) at ../src/qemu/qemu_migration.c:3263
      #3  qemuMigrationDstPrepareFresh (flags=9, migParams=0xffff900045c0, nbdURI=0x0, nbdPort=0, migrate_disks=0x0, listenAddress=<optimized out>, autoPort=true, port=49152, protocol=0xffff9674bd98 "tcp", st=0x0, origname=0xffff9676a000 <__func__.46+24> "ice", def=0xffff90058440, cookieoutlen=0xffff9e9ee224, cookieout=0xffff9e9ee230, cookieinlen=0, cookiein=0xffff90006240 "p*\002T\377\377", dconn=0xffff7c004020, driver=0xffff54022a70) at ../src/qemu/qemu_migration.c:3510
      #4  qemuMigrationDstPrepareAny (driver=driver@entry=0xffff54022a70, dconn=dconn@entry=0xffff7c004020, cookiein=cookiein@entry=0xffff90002670 "<qemu-migration>\n  <name>vm2</name>\n  <uuid>631c5ce2-b20c-469a-9069-72970ef7bcff</uuid>\n  <hostname>ampere-mtjade-altra-04.khw.eng.rdu2.dc.redhat.com</hostname>\n  <hostuuid>c0746de4-787c-4a0b-a672-eb8"..., cookieinlen=cookieinlen@entry=860, cookieout=cookieout@entry=0xffff9e9ee230, cookieoutlen=cookieoutlen@entry=0xffff9e9ee224, def=def@entry=0xffff9e9ee0a0, origname=origname@entry=0x0, st=st@entry=0x0, protocol=0xffff9674bd98 "tcp", port=49152, autoPort=autoPort@entry=true, listenAddress=listenAddress@entry=0x0, migrate_disks=migrate_disks@entry=0x0, nbdPort=nbdPort@entry=0, nbdURI=nbdURI@entry=0x0, migParams=migParams@entry=0xffff900045c0, flags=flags@entry=9) at ../src/qemu/qemu_migration.c:3732
      #5  0x0000ffff966dfdb4 in qemuMigrationDstPrepareDirect (driver=0xffff54022a70, dconn=0xffff7c004020, cookiein=0xffff90002670 "<qemu-migration>\n  <name>vm2</name>\n  <uuid>631c5ce2-b20c-469a-9069-72970ef7bcff</uuid>\n  <hostname>ampere-mtjade-altra-04.khw.eng.rdu2.dc.redhat.com</hostname>\n  <hostuuid>c0746de4-787c-4a0b-a672-eb8"..., cookieinlen=860, cookieout=0xffff9e9ee230, cookieoutlen=0xffff9e9ee224, uri_in=<optimized out>, uri_out=0xffff900044b0, def=0xffff9e9ee0a0, origname=0x0, listenAddress=0x0, migrate_disks=0x0, nbdPort=0, nbdURI=0x0, migParams=0xffff900045c0, flags=9) at ../src/qemu/qemu_migration.c:3939
      #6  0x0000ffff966adf98 in qemuDomainMigratePrepare3Params (dconn=0xffff7c004020, params=<optimized out>, nparams=<optimized out>, cookiein=0xffff90002670 "<qemu-migration>\n  <name>vm2</name>\n  <uuid>631c5ce2-b20c-469a-9069-72970ef7bcff</uuid>\n  <hostname>ampere-mtjade-altra-04.khw.eng.rdu2.dc.redhat.com</hostname>\n  <hostuuid>c0746de4-787c-4a0b-a672-eb8"..., cookieinlen=860, cookieout=0xffff9e9ee230, cookieoutlen=0xffff9e9ee224, uri_out=0xffff900044b0, flags=9) at ../src/qemu/qemu_driver.c:11055
      #7  0x0000ffffae6ed31c in virDomainMigratePrepare3Params () from /lib64/libvirt.so.0
      #8  0x0000aaaac221ef6c in remoteDispatchDomainMigratePrepare3Params (server=0xaaaaffe5b850, msg=<optimized out>, ret=0xffff90000bb0, args=0xffff90000b80, rerr=0xffff9e9ee320, client=<optimized out>) at ../src/remote/remote_daemon_dispatch.c:5629
      #9  remoteDispatchDomainMigratePrepare3ParamsHelper (server=0xaaaaffe5b850, client=<optimized out>, msg=<optimized out>, rerr=0xffff9e9ee320, args=0xffff90000b80, ret=0xffff90000bb0) at src/remote/remote_daemon_dispatch_stubs.h:9051
      #10 0x0000ffffae5ea564 in virNetServerProgramDispatch () from /lib64/libvirt.so.0
      #11 0x0000ffffae5f2e10 in virNetServerHandleJob () from /lib64/libvirt.so.0
      #12 0x0000ffffae52ed00 in virThreadPoolWorker () from /lib64/libvirt.so.0
      #13 0x0000ffffae52deac in virThreadHelper () from /lib64/libvirt.so.0
      #14 0x0000ffffadffb918 in start_thread (arg=0x80e5c0) at pthread_create.c:443
      #15 0x0000ffffae065f1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79
      

      Expected results

      Migration can complete successfully.

      Actual results

      virtqemud crashed on target host when doing migration

       

      Additional info:

      Can not reproduce with libvirt-10.9.0-1.el9.aarch64

              jtomko@redhat.com Jano Tomko
              rhn-support-yafu Yan Fu
              virt-maint virt-maint
              Yanqiu Zhang Yanqiu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              29 Start watching this issue

                Created:
                Updated: