Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10971 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2011-08-06 12:23 +0100 |
| Last post | 2011-08-06 12:23 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Segmentation Fault on exit Chris Angelico <rosuav@gmail.com> - 2011-08-06 12:23 +0100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2011-08-06 12:23 +0100 |
| Subject | Re: Segmentation Fault on exit |
| Message-ID | <mailman.1974.1312629816.1164.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web