Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10971

Re: Segmentation Fault on exit

References <CANMJH-t13ntKy1cVmOZ6kmON3_aQoO2BZ=4trO5bz7haHyJDHQ@mail.gmail.com> <CAPTjJmrpYzEAzjyFODzkYBGw2fMiWZr_8y3Wd5VtpZ2iwcTSGQ@mail.gmail.com> <CANMJH-vS-rg=FV90Eti9bdETfPDj=Sfa2NOwVXOC4aXWJ_piGQ@mail.gmail.com>
Date 2011-08-06 12:23 +0100
Subject Re: Segmentation Fault on exit
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1974.1312629816.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja <vipul.iiith@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Segmentation Fault on exit Chris Angelico <rosuav@gmail.com> - 2011-08-06 12:23 +0100

csiph-web