id = 2707 title = "virtio-balloon crashes in a object assert when querying stats" state = "closed" created_at = "2024-12-02T14:02:52.885Z" closed_at = "2024-12-03T17:58:55.569Z" labels = ["kind::Bug"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2707" host-os = "Fedora 41" host-arch = "x86_64" qemu-version = "v9.2.0-rc2-34-g72b88908d1" guest-os = "Any" guest-arch = "All" description = """Fetch virtio-balloon stats will crash a QEMU crash with assert failures""" reproduce = """1. ./qemu-system-x86_64 -device virtio-balloon,id=balloon -qmp qmp.sock 2. Connect to qmp.sock 3. Issue 'qom-get path=/machine/peripheral/balloon property=guest-stats' 4. QEMU go boom!""" additional = """This is a regression caused by commit 0d2eeef77a33315187df8519491a900bde4a3d83, which failed to update `balloon_stat_names` with the new stats names, causing code to try to add a QDict entry with a NULL key."""