Re: Refcount problem in ceval.c

2008-09-11 Thread Berthold Höllmann
Christian Heimes <[EMAIL PROTECTED]> writes: > Berthold Höllmann wrote: >> Is there any "common" reason to for such a strange object on the command >> stack, or is it more likely that any of my extension modules is causing >> havoc? > > It's very likely that your extension has a reference counting

Re: Refcount problem in ceval.c

2008-09-10 Thread Christian Heimes
Berthold Höllmann wrote: Is there any "common" reason to for such a strange object on the command stack, or is it more likely that any of my extension modules is causing havoc? It's very likely that your extension has a reference counting bug. It looks like you are either missing a Py_INCREF o

Refcount problem in ceval.c

2008-09-10 Thread Berthold Höllmann
I have a problem with my debug Python 2.5.2 executable with Py_REF_DEBUG and Py_TRACE_REFS set. With one of my scripts I get: ... Fatal Python error: Python/ceval.c:947 object at 0x2aa3f4d840 has negative ref count -2604246222170760230 Program received signal SIGABRT, Aborted. [Switching to Thre