Red Hat Bugzilla – Bug 988660
libvirt handle leak
Last modified: 2013-07-29 05:24:59 EDT
Description of problem:
the libvirt in windows will result in handle leak
Version-Release number of selected component (if applicable):
libvirt client version0.8.8 in win7
libvirtd using libvirt 0.8.5 in rhve 5.5
Steps to Reproduce:
1. in win7 start the virsh.exe tool
2. excute the list or dominfo command of virsh tool
3. the handle of the process virsh.exe increase limitless
i try to debug this bug, i find every call of prepareCall function in libvirt lib, it generate some mutex handle , but the libvirt do not destroy the unused mutex handle.
in prepareCall it call virCondInit to new a mutex, but it not call virCondDestroy, so the handle leak.
The libvirt version 0.8.8 is really old and since it was released we've done a couple releases that fixed quite a lot resource leaks. Please re-test if this issue still happens with the current upstream version. If it does happen please attach information about the leak from the debugging tool and also libvirt logs.
I'm closing this as fixed UPSTREAM. If it isn't fixed in the current upstream version, please re-open this bug.