Hi, as I've been working on libvirt-php I've been able to see that sometimes the virConnectClose() API function is returning the undefined value, like in this example: [2011-06-21 17:29:59 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3184158) returned 0 [2011-06-21 17:29:59 libvirt-php/core]: Freeing libvirt domain resource at 0x3d9751b3184158 [2011-06-21 17:29:59 libvirt-php/core]: free_resource: virDomainFree(0xb3184158) completed successfully [2011-06-21 17:29:59 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb3382588) returned 1 ((null)) [2011-06-21 17:29:59 libvirt-php/core]: check_resource_allocation: libvirt domain resource (conn 0xb3184158) is not allocated In the API reference of libvirt there's an information that it returns 0 or -1 ("0 in case of success or -1 in case of error" as can be seen at [1]) however according to my libvirt-php tests with the debug log enabled there's a return value of 1 with the error string (as caught by libvirt error handler) undefined, i.e. NULL. Does anybody have an idea what may be wrong and why is libvirt sometimes returning undefined value for this function? Thanks, Michal [1] http://libvirt.org/html/libvirt-libvirt.html#virConnectClose -- Michal Novotny <minovotn@xxxxxxxxxx>, RHCE, Red Hat Virtualization Team (xen userspace) | libvirt-php bindings -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list