[Pkg-libvirt-maintainers] Bug#470024: libvirt0: Floating point exeption on virDomainGetXMLDesc and virNodeGetInfo
Marc Donner
donner at dbd-breitband.de
Sat Mar 8 17:04:37 UTC 2008
Package: libvirt0
Version: 0.4.0-5
Severity: important
Hi,
on calling virDomainGetXMLDesc or viNodeGetInfo, and maybe other functions
you get a 'Floating point exeption'.
I used a smal test programm:
/* libvirt test program */
#include <stdio.h>
#include <libvirt/libvirt.h>
int
main (int argc, char **argv) {
virConnectPtr conn;
virDomainPtr dom;
char *xml;
conn = virConnectOpen(NULL);
if (!conn) {
fprintf(stderr, "Failed to connect\n");
return 1;
}
dom = virDomainLookupByName(conn, argv[1]);
if (!dom) {
fprintf(stderr, "Failed to lookup domain\n");
return 1;
}
xml = virDomainGetXMLDesc(dom, 0);
if (!xml) {
fprintf(stderr, "Failed to get domain description\n");
return 1;
}
printf("%s\n", xml);
return 0;
}
/* EOF */
the output of the programm called for the active domain 'test2':
# ./test test2
Floating point exception
#
regards
Marc
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libvirt0 depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libgnutls26 2.2.2-1 the GNU TLS library - runtime libr
ii libsasl2-2 2.1.22.dfsg1-18 Cyrus SASL - authentication abstra
ii libxenstore3.0 3.2.0-3 Xenstore communications library fo
ii libxml2 2.6.31.dfsg-1 GNOME XML library
libvirt0 recommends no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list