libvirtd has broken FD event handling code that causes crashes/hangs during multiple concurrent accesses to storage subsystems

Bug #344195 reported by Nick Moffitt
4
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libvirt-bin

Quoting Daniel P. Berrange:
> The core problem was that the event loop was getting confused when we
> removed a monitored file handle. It would then start running the wrong
> event handler callbacks. So the xenstore watch handler got called even
> though no watch was pending :-( This also caused clients to get stuck
> because the watch detecting end-of-file on the socket wasn't getting
> called.

The patch at
http://git.et.redhat.com/?p=libvirt.git;a=commit;h=10baf3deb8588f5902b6f2eb362fb408707e3d95
fixes this repeatable problem both in my stress-testing of libvirtd, and in
upstream testing of libvirt-cim by Daniel Veillard.

This bug is serious enough that it should be included in Jaunty.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.6.1-0ubuntu2

---------------
libvirt (0.6.1-0ubuntu2) jaunty; urgency=low

  * Add fix for event loop hang (LP: #344195)
    http://article.gmane.org/gmane.comp.emulators.libvirt/12437
  * Add fix for Xen events handling.
    http://git.et.redhat.com/?p=libvirt.git;a=commit;h=124cfcbc2bcd1b71b51e720b9bfc7d8e69e8af89

 -- Soren Hansen <email address hidden> Fri, 13 Mar 2009 16:51:33 +0100

Changed in libvirt:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.