[vdsm] Help needed to debug segfault when using ctypes

Aravinda avishwan at redhat.com
Thu Aug 22 12:23:34 UTC 2013


Hi,

In following patch I am using ctypes to load libgfapi(GlusterFS API) to 
get the Gluster volume statvfs information.
http://gerrit.ovirt.org/#/c/17822

I am getting *segfault* when I run
vdsClient 0 glusterVolumeSizeInfoGet volumeName=gv1

But I checked as below and it is working.

     cd /usr/share/vdsm
     python
     >> from gluster import gfapi
     >> print gfapi.volumeStatvfs("gv1")
     posix.statvfs_result(f_bsize=4096L, f_frsize=4096L, 
f_blocks=25803070L, f_bfree=19130426L, f_bavail=17819706L, 
f_files=6553600L,     f_ffree=5855876L, f_favail=5855876L, f_flag=4096L, 
f_namemax=255L)

Please suggest how I can debug this issue.

--
Regards
Aravinda


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/vdsm-devel/attachments/20130822/acf199e8/attachment.html>


More information about the vdsm-devel mailing list