Segmentation Fault on exit

Dan Stromberg drsalists at gmail.com
Sat Aug 6 18:49:23 CEST 2011


I have little reason to doubt that it's related to referencing counting,
but:

http://stromberg.dnsalias.org/~dstromberg/checking-early.html

On Sat, Aug 6, 2011 at 3:35 AM, Vipul Raheja <vipul.iiith at gmail.com> wrote:

> Hi,
>
> I have wrapped a library from C++ to Python using SWIG. But when I
> import it in Python, I am able to work fine with it, but it gives a
> segmentation fault while exiting. Following is the log:
>
> vipul at vipul-laptop:~/ossim-svn/src/pyossim/swig$ python
> Python 2.6.6 (r266:84292, Sep 15 2010, 15:52: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 at vipul-laptop:~/ossim-svn/src/pyossim/swig$
>
> Kindly help.
>
> Thanks and Regards,
> Vipul Raheja
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110806/c53004cc/attachment.html>


More information about the Python-list mailing list