Segmentation Fault on exit
Vipul Raheja
vipul.iiith at gmail.com
Sat Aug 6 09:34:47 EDT 2011
Hi,
I did look out for the problem's solution but have been struggling with it
ever since. I also asked around on IRC too but haven't quite progressed
towards the solution. Here is the link to the swig-generated .cxx file which
we need to look into for the answers. Could you please have a look 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 <rosuav at gmail.com> wrote:
> On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja <vipul.iiith at gmail.com>
> wrote:
> > Hi Chris,
> > Thanks for the reply.
> > However, the error occurs even if I don't do anything, that is, even if I
> > simply import the library and exit() after that.
> > I created a file a.py whose contents were the following:
> > import pyossim
> > exit()
>
> In that case, it may be in your initialization/cleanup code. Check to
> see if you return Py_None without increffing it, or keep a reference
> to something you don't own and decref it on exit.
>
> ChrisA
> --
> 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/67c7ccdf/attachment-0001.html>
More information about the Python-list
mailing list