Help needed with using SWIG wrapped code in Python

2011-08-15 Thread Vipul Raheja
(result)); { if (arg3) free(arg3); } return resultobj; fail: { if (arg3) free(arg3); } return NULL; } Kindly help. Thanks and regards, Vipul Raheja -- http://mail.python.org/mailman/listinfo/python-list

Segmentation Fault on exit

2011-08-06 Thread Vipul Raheja
:39) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. import pyossim * Do some stuff * exit() Segmentation fault vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$ Kindly help. Thanks and Regards, Vipul Raheja -- http://mail.python.org/mailman/listinfo/python

Re: Segmentation Fault on exit

2011-08-06 Thread Vipul Raheja
0x0805a8ab in main () (gdb) Regards, Vipul Raheja On Sat, Aug 6, 2011 at 4:32 PM, Chris Angelico ros...@gmail.com wrote: On Sat, Aug 6, 2011 at 11:35 AM, Vipul Raheja vipul.ii...@gmail.com wrote: Hi, I have wrapped a library from C++ to Python using SWIG. But when I import it in Python, I

Re: Segmentation Fault on exit

2011-08-06 Thread Vipul Raheja
at it and help? It'll be really great. Here's the link: www.geofemengineering.it/data/master_wrap.cxx Thanks and Regards, Vipul Raheja On Sat, Aug 6, 2011 at 4:53 PM, Chris Angelico ros...@gmail.com wrote: On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja vipul.ii...@gmail.com wrote: Hi Chris