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

QEMU process crashes on modules loading during QEMU update

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • qemu-kvm
    • None
    • sst_virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • CentOS Stream
    • x86_64

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

      The system was updating when a QEMU process tried to load QEMU modules. The process crashed with SIGABRT.

       

      qemu-kvm killed by SIGABRT
      #0 0x00007fc4f76a153c __pthread_kill_implementation (/lib64/libc.so.6)
      #1 0x00007fc4f7654d06 raise (/lib64/libc.so.6)
      #2 0x00007fc4f76287f3 abort (/lib64/libc.so.6)
      #3 0x00007fc4f762871b _nl_load_domain.cold (/lib64/libc.so.6)
      #4 0x00007fc4f764dca6 ? (/lib64/libc.so.6)
      #5 0x0000562e24555a9f error_setg_internal (/usr/libexec/qemu-kvm)
      #6 0x0000562e24553698 module_load (/usr/libexec/qemu-kvm)
      #7 0x0000562e24553351 module_load (/usr/libexec/qemu-kvm)
      #8 0x0000562e24553351 module_load (/usr/libexec/qemu-kvm)
      #9 0x0000562e24553aee module_load_qom_all (/usr/libexec/qemu-kvm)
      #10 0x0000562e244e5a53 qmp_marshal_qom_list_types (/usr/libexec/qemu-kvm)
      #11 0x0000562e2453fb8f do_qmp_dispatch_bh (/usr/libexec/qemu-kvm)
      #12 0x0000562e2456913f aio_bh_call (/usr/libexec/qemu-kvm)
      #13 0x0000562e245692e0 aio_bh_poll (/usr/libexec/qemu-kvm)
      #14 0x0000562e2454b9fc aio_dispatch (/usr/libexec/qemu-kvm)
      #15 0x0000562e2456a3af aio_ctx_dispatch (/usr/libexec/qemu-kvm)
      #16 0x00007fc4f7cbee2f g_main_context_dispatch (/lib64/libglib-2.0.so.0)
      #17 0x0000562e2456bade main_loop_wait (/usr/libexec/qemu-kvm)
      #18 0x0000562e2402e427 qemu_main_loop (/usr/libexec/qemu-kvm)
      #19 0x0000562e23e8be1a qemu_default_main (/usr/libexec/qemu-kvm)
      #20 0x00007fc4f763feb0 __libc_start_call_main (/lib64/libc.so.6)
      #21 0x00007fc4f763ff60 __libc_start_main@@GLIBC_2.34 (/lib64/libc.so.6)
      #22 0x0000562e23e8b585 _start (/usr/libexec/qemu-kvm)

       

      Please provide the package NVR for which bug is seen

      qemu-kvm-8.1.0-3.el9
      qemu-kvm-8.2.0-6.el9

      How reproducible

      100%, but it depends on many factors

      Steps to reproduce

      1. In CentOS stream 9 install qemu-kvm-8.1.0-3.el9

      2. Run this script:

      #!/bin/bash
      
      while true; do
          /usr/libexec/qemu-kvm -no-user-config -nodefaults -nographic -qmp unix:/tmp/qmp.monitor,server=on,wait=off -pidfile /tmp/qemu.pid -daemonize
          PID=`cat /tmp/qemu.pid`
          echo '{"execute":"qmp_capabilities"}\n{"execute":"qom-list-types"}' | nc -U /tmp/qmp.monitor
          kill ${PID}
      done 

      3. Execute "dnf update".

      Expected results

      All the QEMU processes work fine.

      Actual results

      A QEMU process gets SIGABRT.

       

       

            virt-maint virt-maint
            alexander.ivanov@virtuozzo.com Alexander Ivanov
            virt-maint virt-maint
            Yiqian Wei Yiqian Wei
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: