Shawn Furrow
2012-Aug-22 12:54 UTC
[libvirt-users] Libvirt Seg Fault when compiling either 0.9.13 or 0.10.0-rc1
Hi all, I am trying to install a version of Libvirt that will be compatible with qemu-kvm-1.1 but I cannot seem to get Libvirt to compile. During the make portion of the install I get the following error: ... make[4]: Entering directory `/home/shawn/libvirt-0.10.0/docs' Generating 404.html.tmp /bin/bash: line 5: 59204 Segmentation fault /usr/bin/xsltproc --stringparam pagename $name --nonet --html ../docs/site.xsl 404.html.in > 404.html.tmp make[4]: *** [404.html.tmp] Error 1 make[4]: Leaving directory `/home/shawn/libvirt-0.10.0/docs' ... I have tried using "./configure --without-xen" and "./autogen --without-xen" for the configure step and then I run make (and get the seg fault error) This error happens for both 0.9.13 and 0.10.0-rc1 so I'm pretty sure its something on my end just don't know what. I am using Ubuntu 10.04 Server and qemu-kvm-1.1. I have been able to get the qemu-kvm and libvirt-bin distribution packages to work together but now I'm trying to build both of them from source so that I can make some modifications to the source code. Any help is appreciated. Thanks, Shawn -- Virginia Tech Bradley Department of Electrical and Computer Engineering B.S. Electrical Engineering B.S. Computer Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120822/ae6baa31/attachment.htm>
Eric Blake
2012-Aug-22 13:09 UTC
[libvirt-users] Libvirt Seg Fault when compiling either 0.9.13 or 0.10.0-rc1
On 08/22/2012 06:54 AM, Shawn Furrow wrote:> Hi all, > > I am trying to install a version of Libvirt that will be compatible with > qemu-kvm-1.1 but I cannot seem to get Libvirt to compile. During the make > portion of the install I get the following error: > > ... > make[4]: Entering directory `/home/shawn/libvirt-0.10.0/docs' > Generating 404.html.tmp > /bin/bash: line 5: 59204 Segmentation fault /usr/bin/xsltproc > --stringparam pagename $name --nonet --html ../docs/site.xsl 404.html.in > > 404.html.tmpThat's a segfault in xsltproc. What version of xsltproc do you have installed? Have you checked for/filed a bug against that package? Still, it may be something where a tweak to libvirt sources could avoid tickling that bug in xsltproc, since I don't have any problems building the docs when building on Fedora. -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120822/2e4e425f/attachment.sig>
Whit Blauvelt
2012-Aug-22 13:09 UTC
[libvirt-users] Libvirt Seg Fault when compiling either 0.9.13 or 0.10.0-rc1
On Wed, Aug 22, 2012 at 08:54:13AM -0400, Shawn Furrow wrote:> I am trying to install a version of Libvirt that will be compatible with > qemu-kvm-1.1 but I cannot seem to get Libvirt to compile. During the make > portion of the install I get the following error:Shawn, In my experience a segfault on compilation can be an indicator of failing hardware on the machine doing the compiling, whether RAM or something else. Compilation stresses it more than just running normal stuff. Whit
Daniel Veillard
2012-Aug-22 13:34 UTC
[libvirt-users] Libvirt Seg Fault when compiling either 0.9.13 or 0.10.0-rc1
On Wed, Aug 22, 2012 at 08:54:13AM -0400, Shawn Furrow wrote:> Hi all, > > I am trying to install a version of Libvirt that will be compatible with > qemu-kvm-1.1 but I cannot seem to get Libvirt to compile. During the make > portion of the install I get the following error: > > ... > make[4]: Entering directory `/home/shawn/libvirt-0.10.0/docs' > Generating 404.html.tmp > /bin/bash: line 5: 59204 Segmentation fault /usr/bin/xsltproc > --stringparam pagename $name --nonet --html ../docs/site.xsl 404.html.in > > 404.html.tmp > make[4]: *** [404.html.tmp] Error 1 > make[4]: Leaving directory `/home/shawn/libvirt-0.10.0/docs'[...] You managed to get xsltproc to segfault, the XSLT transformation engine ! That's completely unrelated to libvirt. What does /usr/bin/xsltproc --version and /usr/bin/xmllint --version report. My guess is that you updated manually zlib without updating libxml2 and you got a nice crashing system ... restore your libxml2 libxslt and zlib version of origin from your system ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/