<br>I have little reason to doubt that it's related to referencing counting, but:<br><br><a href="http://stromberg.dnsalias.org/~dstromberg/checking-early.html">http://stromberg.dnsalias.org/~dstromberg/checking-early.html</a><br>
<br><div class="gmail_quote">On Sat, Aug 6, 2011 at 3:35 AM, Vipul Raheja <span dir="ltr"><<a href="mailto:vipul.iiith@gmail.com">vipul.iiith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I have wrapped a library from C++ to Python using SWIG. But when I<br>
import it in Python, I am able to work fine with it, but it gives a<br>
segmentation fault while exiting. Following is the log:<br>
<br>
vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$ python<br>
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)<br>
[GCC 4.4.5] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import pyossim<br>
>>><br>
* Do some stuff *<br>
>>> exit()<br>
Segmentation fault<br>
vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$<br>
<br>
Kindly help.<br>
<br>
Thanks and Regards,<br>
Vipul Raheja<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>