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

qemu-kvm got assertion `name' failed when polling test memballoon device

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhel-9.6
    • qemu-kvm / Devices
    • Yes
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

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

      When executing qom-set and then qom-get command, we got

      qemu-kvm: ../qapi/qobject-output-visitor.c:95: void qobject_output_add_obj(QObjectOutputVisitor *, const char *, QObject *): Assertion `name' failed.

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

      qemu-kvm-9.1.0-8.el9
      host/guest kernel-5.14.0-545.el9.aarch64+64k

      How reproducible is this bug?:

      80%

      Steps to reproduce

      Boot a guest
      See attachment

      Query balloon for several times
      {"execute": "query-balloon", "id": "LMchrPWq"} for several times
      actual: 8589934592

      Evict the balloon
      {"execute": "balloon", "arguments":

      {"value": 7324303360}

      , "id": "a0QeGtCC"}

      Query balloon again
      {"execute": "query-balloon", "id": "LMchrPWq"}
      actual: 7324303360

      Enable polling
      {"execute": "qom-set", "arguments":

      {"path": "/machine/peripheral/balloon0", "property": "guest-stats-polling-interval", "value": 2}

      , "id": "1WprSrlz"}
      {"execute": "qom-get", "arguments":

      {"path": "/machine/peripheral/balloon0", "property": "guest-stats"}

      , "id": "BHoS8Pbb"}

      Then
      qemu-kvm: ../qapi/qobject-output-visitor.c:95: void qobject_output_add_obj(QObjectOutputVisitor *, const char *, QObject *): Assertion `name' failed.

      Expected results

      No crash

      Actual results

      qemu-kvm: ../qapi/qobject-output-visitor.c:95: void qobject_output_add_obj(QObjectOutputVisitor *, const char *, QObject *): Assertion `name' failed.

      Stack trace of thread 123787:
      #0 0x0000ffff948a26e8 __pthread_kill_implementation (libc.so.6 + 0x826e8)
      #1 0x0000ffff9485a87c raise (libc.so.6 + 0x3a87c)
      #2 0x0000ffff94846fb4 abort (libc.so.6 + 0x26fb4)
      #3 0x0000ffff948541f0 __assert_fail_base (libc.so.6 + 0x341f0)
      #4 0x0000ffff94854260 __assert_fail (libc.so.6 + 0x34260)
      #5 0x0000aaaab4172f50 qobject_output_add_obj (qemu-kvm + 0x902f50)
      #6 0x0000aaaab4172b5c qobject_output_type_uint64 (qemu-kvm + 0x902b5c)
      #7 0x0000aaaab3f5e0d4 balloon_stats_get_all (qemu-kvm + 0x6ee0d4)
      #8 0x0000aaaab3fe317c object_property_get (qemu-kvm + 0x77317c)
      #9 0x0000aaaab3fe6ad0 property_get_alias (qemu-kvm + 0x776ad0)
      #10 0x0000aaaab3fe317c object_property_get (qemu-kvm + 0x77317c)
      #11 0x0000aaaab3fe7fe4 object_property_get_qobject (qemu-kvm + 0x777fe4)
      #12 0x0000aaaab4148b9c qmp_marshal_qom_get (qemu-kvm + 0x8d8b9c)
      #13 0x0000aaaab4174f4c do_qmp_dispatch_bh (qemu-kvm + 0x904f4c)
      #14 0x0000aaaab4198b0c aio_bh_poll (qemu-kvm + 0x928b0c)
      #15 0x0000aaaab417f324 aio_dispatch (qemu-kvm + 0x90f324)
      #16 0x0000aaaab4199898 aio_ctx_dispatch (qemu-kvm + 0x929898)
      #17 0x0000ffff94d250c0 g_main_context_dispatch (libglib-2.0.so.0 + 0x550c0)
      #18 0x0000aaaab419a0a0 main_loop_wait (qemu-kvm + 0x92a0a0)
      #19 0x0000aaaab3c2bff4 qemu_main_loop (qemu-kvm + 0x3bbff4)
      #20 0x0000aaaab40e71c4 qemu_default_main (qemu-kvm + 0x8771c4)
      #21 0x0000ffff94847280 __libc_start_call_main (libc.so.6 + 0x27280)
      #22 0x0000ffff94847358 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27358)
      #23 0x0000aaaab3b335b0 _start (qemu-kvm + 0x2c35b0)
      See full backtrace in attachment

              rh-ee-shahuang Shaoqin Huang
              rhn-support-dzheng Dan Zheng
              virt-maint virt-maint
              Mario Casquero Mario Casquero
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: