Bug 728546
Summary: | [libvirt] [logs] null dereference while preparing libvirt logs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | RHEL Program Management <pm-rhel> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.1 | CC: | abaron, bazulay, berrange, cpelland, dallan, danken, dyuan, eblake, gren, hateya, kxiong, mgoldboi, mjenner, mzhan, plyons, pm-eus, syeghiay, vbian, veillard, xen-maint |
Target Milestone: | rc | Keywords: | Regression, ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.8.7-18.el6_1.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-23 14:40:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 711206 | ||
Bug Blocks: |
Description
RHEL Program Management
2011-08-05 14:07:07 UTC
tested with libvirt-0.8.7-18.el6_1.1.x86_64 qemu-kvm-0.12.1.2-2.160.el6_1.7.x86_64 kernel-2.6.32-131.12.1.el6.x86_64 According to bug 711206 $ cat > demo.c <<EOF #include <libvirt/libvirt.h> #include <stdlib.h> int main(void) { virInitialize(); virDomainDestroy(NULL); } EOF $ gcc -o demo -lvirt demo.c This is what you should see for correct behaviour: $ LIBVIRT_DEBUG=1 ./demo 2>&1 | grep Destroy 13:58:15.178: 11291: debug : virDomainDestroy:2049 : dom=(nil), (VM: name=(null), uuid=), libvir: Domain error : invalid domain pointer in virDomainDestroy So set bug status to VERIFIED An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1197.html |