Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I think ingoring it would be nicer than throwing an error.
I'm fine with your fix as well, but the error message could be more specific (as NULL argument is allowed without the flags).
Fixed upstream by:
commit b987c4c3f4829eb8a0134b687cb9748ff724f98a
Author: Ján Tomko <jtomko>
CommitDate: 2014-09-26 13:35:51 +0200
Check for NULL in qemu monitor event filter
When virConnectDomainQemuMonitorEventRegister is called with the
VIR_CONNECT_DOMAIN_QEMU_MONITOR_EVENT_REGISTER_REGEX flag,
ignore the flag instead of crashing.
https://bugzilla.redhat.com/show_bug.cgi?id=1144920
git describe: v1.2.9-rc1-16-gb987c4c
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHSA-2015-0323.html
Created attachment 939852 [details] back trace description of problem: libvirtd crashed after use qemu-monitor-event --regex to a running guest Version-Release number of selected component (if applicable): libvirt-1.2.8-3.el7.x86_64 qemu-kvm-rhev-2.1.0-3.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.prepare a running guest 1.# ps aux|grep libvirtd root 20077 2.2 0.2 563028 19132 ? Ssl 18:35 0:00 /usr/sbin/libvirtd root 20234 0.0 0.0 112640 968 pts/10 S+ 18:36 0:00 grep --color=auto libvirtd 2.# virsh qemu-monitor-event r6 --regex error: End of file while reading data: Input/output error error: Failed to reconnect to the hypervisor 3.# ps aux|grep libvirtd root 20239 22.0 0.2 563028 19508 ? Ssl 18:36 0:00 /usr/sbin/libvirtd root 20332 0.0 0.0 112640 972 pts/10 R+ 18:36 0:00 grep --color=auto libvirtd Actual results: libvirtd crashed after use qemu-monitor-event --regex to a running guest Expected results: Don't crash Additional info: