Build Update for libvirt/libvirt
-------------------------------------
Build: #1306
Status: Errored
Duration: 18 mins and 54 secs
Commit: 67c56f6 (master)
Author: Jim Fehlig
Message: libxl: fix leaking logfile fds
Per-domain log files were introduced in commit a30b08b7179. The FILE
objects associated with these log files are stored in a hash table
using domid as a key. When a domain is shutdown, destroyed, or
otherwise powered-off, the FILE object is removed from the hash table,
where the free function will close the FILE.
Unfortunately the call to remove the FILE from the hash table occurs
after setting domid=-1 in the libxlDomainCleanup() function. The
object is never removed from the hash table, the free function is
never called, and the underlying fd is leaked. Fix by removing the
FILE object from the hash table before setting domid=-1.
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
View the changeset:
https://github.com/libvirt/libvirt/compare/a1b43af0ba0d...67c56f6e65b9
View the full build log and details:
https://travis-ci.org/libvirt/libvirt/builds/388019006?utm_source=email&a...
--
You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
This email was sent to libvirt-ci(a)redhat.com (mailto:libvirt-ci@redhat.com)
unsubscribe from this list
(
http://clicks.travis-ci.com/track/unsub.php?u=14313403&id=4965f35f034...)