Bug 849622
Summary: | Hang in virNetSocketEventFree | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Zeeshan Ali <zeenix> |
Component: | libvirt-glib | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | berrange, dyasny, mclasen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-21 16:18:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zeeshan Ali
2012-08-20 11:30:06 UTC
This is a flaw in libvirt-glib's event loop. _event_handle_remove must *not* hold the event loop lock while invoking the callback, otherwise it leads to this deadlock scenario This bug was introduced in this commit commit 924178f6b35735458b37d30303fe7bc753dde0b1 Author: Christophe Fergeau <cfergeau> Date: Wed Jun 20 11:04:25 2012 +0200 mainloop: protect 'handles' and 'timeouts' against concurrent accesses We just need to move the lock calls down to after the callback invocation Please check whether this patch solves the hang https://www.redhat.com/archives/libvir-list/2012-August/msg01345.html |