Bug#463686: [Pkg-libvirt-maintainers] Bug#463686: libvirtd segfault when starting with a kvm machine defined
Hi Gilles, On Sat, Feb 02, 2008 at 12:32:48PM +0100, Gilles Mocellin wrote: A strace shows that it's while reading the xml file of the VM : Your boot device setting is invalid - the libvirt I'm about to upload should tell this too instead of segfaulting - are you sure you didn't hand edit the xml file? -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463686: [Pkg-libvirt-maintainers] Bug#463686: libvirtd segfault when starting with a kvm machine defined
Le Saturday 02 February 2008 17:37:26 Guido Guenther, vous avez écrit : On Sat, Feb 02, 2008 at 12:32:48PM +0100, Gilles Mocellin wrote: [EMAIL PROTECTED]:~$ sudo /etc/init.d/libvirt-bin restart Restarting libvirt management daemon: /usr/sbin/libvirtd/etc/init.d/libvirt-bin: line 89: 23111 Erreur de segmentation start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts A strace shows that it's while reading the xml file of the VM : Well it probably happens after parsing the xml - the xml looks o.k. indeed, could you run libvirt in gdb and post the backtrace? Recompiling with --debug would help a lot too. I'll look into this further but won't get near a kvm capable machine during the next week. Cheers, -- Guido I didn't managed to compile with the symbols... I put --enabl-debug=yes in the debian/rules file, but here what I got : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b7aea3f92d0 (LWP 20684)] 0x2b7ae9faa62a in ?? () from /usr/lib/libvirt.so.0 (gdb) bt #0 0x2b7ae9faa62a in ?? () from /usr/lib/libvirt.so.0 #1 0x2b7ae9faa6b6 in ?? () from /usr/lib/libvirt.so.0 #2 0x2b7ae9fa58f0 in ?? () from /usr/lib/libvirt.so.0 #3 0x2b7ae9f8db0d in __virStateInitialize () from /usr/lib/libvirt.so.0 #4 0x00406724 in ?? () #5 0x00407c8b in ?? () #6 0x003d8981e1c4 in __libc_start_main () from /lib/libc.so.6 #7 0x00405399 in ?? () #8 0x7fffc0b29358 in ?? () #9 0x in ?? () signature.asc Description: This is a digitally signed message part.
Bug#463686: [Pkg-libvirt-maintainers] Bug#463686: libvirtd segfault when starting with a kvm machine defined
Hi, On Sat, Feb 02, 2008 at 12:32:48PM +0100, Gilles Mocellin wrote: [EMAIL PROTECTED]:~$ sudo /etc/init.d/libvirt-bin restart Restarting libvirt management daemon: /usr/sbin/libvirtd/etc/init.d/libvirt-bin: line 89: 23111 Erreur de segmentation start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts How did you create the xml file - with virsh, virt-manager, virtinstall, by hand? Libvirt segfaulting is indeed a bug but the xml file should be valid too. Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463686: [Pkg-libvirt-maintainers] Bug#463686: libvirtd segfault when starting with a kvm machine defined
Le Saturday 02 February 2008 14:10:58 Guido Guenther, vous avez écrit : Hi, On Sat, Feb 02, 2008 at 12:32:48PM +0100, Gilles Mocellin wrote: [EMAIL PROTECTED]:~$ sudo /etc/init.d/libvirt-bin restart Restarting libvirt management daemon: /usr/sbin/libvirtd/etc/init.d/libvirt-bin: line 89: 23111 Erreur de segmentation start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts How did you create the xml file - with virsh, virt-manager, virtinstall, by hand? Libvirt segfaulting is indeed a bug but the xml file should be valid too. Cheers, -- Guido I have created the VM with virt-manager. I can open it in Iceweasel with no syntax errors. domain type=kvm namevmfedora/name uuid4b5a6895-a230-2049-6ce7-79fe2b525f11/uuid memory524288/memory currentMemory524288/currentMemory vcpu1/vcpu os typehvm/type boot dev=hda/ /os features acpi/ /features clock offset=utc/ on_poweroffdestroy/on_poweroff on_rebootrestart/on_reboot on_crashdestroy/on_crash devices emulator/usr/bin/kvm/emulator disk type=file device=disk source file=/donnees/vm/vmfedora/vmfedora.img/ target dev=hda/ /disk disk type=file device=cdrom source file=/home/gilles/dev/iso/Fedora/Fedora-8-dvd-x86_64/Fedora-8-x86_64-DVD.iso/ target dev=hdc/ readonly/ /disk interface type=bridge mac address=00:16:3e:11:6c:59/ source bridge=xenbr0/ /interface input type=mouse bus=ps2/ graphics type=vnc port=-1 listen=127.0.0.1/ /devices /domain
Bug#463686: [Pkg-libvirt-maintainers] Bug#463686: libvirtd segfault when starting with a kvm machine defined
On Sat, Feb 02, 2008 at 12:32:48PM +0100, Gilles Mocellin wrote: [EMAIL PROTECTED]:~$ sudo /etc/init.d/libvirt-bin restart Restarting libvirt management daemon: /usr/sbin/libvirtd/etc/init.d/libvirt-bin: line 89: 23111 Erreur de segmentation start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts A strace shows that it's while reading the xml file of the VM : Well it probably happens after parsing the xml - the xml looks o.k. indeed, could you run libvirt in gdb and post the backtrace? Recompiling with --debug would help a lot too. I'll look into this further but won't get near a kvm capable machine during the next week. Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]