Re: [vdsm] Help needed to debug segfault when using ctypes

2013-08-27 Thread Yaniv Bronheim
me know and I'll investigate more Yaniv Bronhaim - Original Message - From: Aravinda avish...@redhat.com To: vdsm-devel@lists.fedorahosted.org Sent: Thursday, August 22, 2013 3:23:34 PM Subject: [vdsm] Help needed to debug segfault when using ctypes Hi, In following patch I am

Re: [vdsm] Help needed to debug segfault when using ctypes

2013-08-27 Thread Yaniv Bronheim
:40 PM Subject: Re: [vdsm] Help needed to debug segfault when using ctypes On 08/27/2013 12:03 PM, Yaniv Bronheim wrote: Maybe you should pass it with quotes - vdsClient 0 glusterVolumeSizeInfoGet volumeName=gv1 But probably that's not the issue, Did you try to add prints in http

[vdsm] Help needed to debug segfault when using ctypes

2013-08-22 Thread Aravinda
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

Re: [vdsm] Help needed to debug segfault when using ctypes

2013-08-22 Thread Deepak C Shetty
I haven't worked much on using ctypes in python.. but did you try to look into the core to see where exactly the segfault is happening.. that might give some clues for further debug. On 08/22/2013 05:53 PM, Aravinda wrote: Hi, In following patch I am using ctypes to load libgfapi(GlusterFS