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

Kashyap Chamarthy kchamart at redhat.com
Wed Sep 12 09:56:02 UTC 2012


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 at 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 at moon ~]#
#--------------------------------------------------------#


#--------------------------------------------------------#
[root at moon ~]# virsh list
 Id    Name                           State
----------------------------------------------------
 3     daisy                          running

[root at moon ~]#
#--------------------------------------------------------#
[root at 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 at moon ~]#
#--------------------------------------------------------#
[root at 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 at moon ~]#
#--------------------------------------------------------#
[root at moon ~]# virsh snapshot-list daisy
Segmentation fault
[root at moon ~]#
#--------------------------------------------------------#
[root at moon ~]# virsh snapshot-list --tree daisy
Segmentation fault
[root at 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




More information about the libvir-list mailing list