[libvirt] 'virsh snapshot-list' throws a segfault [with libvirt-0.9.13-3]

Hi, After creating a couple of external snapshots, running 'virsh snapshot-list $name' fails with a segfault. I wonder what's going on here: Host: Fedora-17 Guest: F18/rawhide Version Info: #--------------------------------------------------------# [root@moon ~]# rpm -q libvirt qemu-kvm ; uname -r ; cat /etc/fedora-release libvirt-0.9.13-3.fc17.x86_64 qemu-kvm-1.2-0.1.20120806git3e430569.fc17.x86_64 3.5.2-3.fc17.x86_64 Fedora release 17 (Beefy Miracle) [root@moon ~]# #--------------------------------------------------------# #--------------------------------------------------------# [root@moon ~]# virsh list Id Name State ---------------------------------------------------- 3 daisy running [root@moon ~]# #--------------------------------------------------------# [root@moon ~]# virsh snapshot-create-as daisy snap1-daisy "snap1 description" --diskspec vda,file=/export/vmimgs/snap1-daisy.qcow2 --disk-only --atomic Domain snapshot snap1-daisy created [root@moon ~]# #--------------------------------------------------------# [root@moon ~]# virsh snapshot-create-as daisy snap2-daisy "snap2 description" --diskspec vda,file=/export/vmimgs/snap2-daisy.qcow2 --disk-only --atomic Domain snapshot snap2-daisy created [root@moon ~]# #--------------------------------------------------------# [root@moon ~]# virsh snapshot-list daisy Segmentation fault [root@moon ~]# #--------------------------------------------------------# [root@moon ~]# virsh snapshot-list --tree daisy Segmentation fault [root@moon ~]# #--------------------------------------------------------#
From /var/log/messages: #--------------------------------------------------------# Sep 12 15:01:49 moon kernel: [847381.051241] virsh[23174]: segfault at 67 ip 00007fbaa6e66751 sp 00007fff2e07e048 error 4 in libc-2.15.so[7fbaa6de1000+1ac000] Sep 12 15:01:49 moon libvirtd[2276]: 2012-09-12 09:31:49.553+0000: 2276: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error Sep 12 15:06:09 moon kernel: [847640.758497] virsh[23364]: segfault at 35 ip 00007f11f1944751 sp 00007fff59beea58 error 4 in libc-2.15.so[7f11f18bf000+1ac000] Sep 12 15:06:09 moon libvirtd[2276]: 2012-09-12 09:36:09.260+0000: 2276: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error #--------------------------------------------------------#
Any hints here? -- /kashyap

On 09/12/2012 11:56 AM, Kashyap Chamarthy wrote:
Hi,
After creating a couple of external snapshots, running 'virsh snapshot-list $name' fails with a segfault. I wonder what's going on here:
Hi, I believe you're hitting a bug #837544 [1]. Try newer version. Have a nice day, Martin [1] https://bugzilla.redhat.com/show_bug.cgi?id=837544

On 09/12/2012 03:37 PM, Martin Kletzander wrote:
On 09/12/2012 11:56 AM, Kashyap Chamarthy wrote:
Hi,
After creating a couple of external snapshots, running 'virsh snapshot-list $name' fails with a segfault. I wonder what's going on here:
Hi, I believe you're hitting a bug #837544 [1]. Try newer version.
Gah, thought so. I'm on F17. The latest I see for F17 on koji is - libvirt-0.9.11.5-3.fc17 Trying to do a scratch build of this for F17 - libvirt-0.10.1-3.fc18 Thanks for the hint
Have a nice day, Martin
-- /kashyap

On 09/12/2012 03:56 AM, Kashyap Chamarthy wrote:
Hi,
After creating a couple of external snapshots, running 'virsh snapshot-list $name' fails with a segfault. I wonder what's going on here:
[root@moon ~]# rpm -q libvirt qemu-kvm ; uname -r ; cat /etc/fedora-release libvirt-0.9.13-3.fc17.x86_64
You must be using fedora-virt-preview - this is a known bug in the current fedora-virt-preview repo, and should be fixed once Cole finishes building 0.10.1 for F18 and for F17 fedora-virt-preview. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 09/12/2012 07:25 PM, Eric Blake wrote:
On 09/12/2012 03:56 AM, Kashyap Chamarthy wrote:
Hi,
After creating a couple of external snapshots, running 'virsh snapshot-list $name' fails with a segfault. I wonder what's going on here:
[root@moon ~]# rpm -q libvirt qemu-kvm ; uname -r ; cat /etc/fedora-release libvirt-0.9.13-3.fc17.x86_64
You must be using fedora-virt-preview -
Yes.
this is a known bug in the current fedora-virt-preview repo, and should be fixed once Cole finishes building 0.10.1 for F18 and for F17 fedora-virt-preview.
Yeah, I made scratch builds(as the rpms weren't available a few hours ago) for libvirt-0.10.1-3, for F17 and tested. It indeed works fine. (Meanwhile, I just noticed, Cole has generated the latest libvirt rpms for F17 in the virt-preview repo, Thanks for the response. -- /kashyap
participants (3)
-
Eric Blake
-
Kashyap Chamarthy
-
Martin Kletzander