En Wed, 25 Feb 2009 10:40:23 -0200, Christian Meesters <meest...@gmx.de> escribió:

I have a problem using my software on my 64bit laptop, after an update of
my system. The same code still runs on 32bit Intel, but on my laptop I
provoke the crash in the title. The crash is caused - as narrowed down by
me - by returning a static PyObject from a C-extension function.

I think you got all the reference counts wrong, specially dummy1, dummy2 and r.

(BTW, when you know the size, it's better to use PyList_New(size) + PyList_SET_ITEM instead of PyList_New(0) + PyList_Append)

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to