<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p><span style="color:#000000">Kristján Valur Jónsson wrote:</span></p>
<p><span style="color:#000000">&gt; This is almost certainly not a bug in python.</span></p>
<p><span style="color:#000000">&gt; A cursory look indicates that a list being traversed in list_traverse has a</span></p>
<p><span style="color:#000000">&gt; NULL member. I'd suggest examining the other members of the list to figure</span></p>
<p><span style="color:#000000">&gt; out what this list is.  Use the debugger for this, that is what it is for.</span></p>
<p><span style="color:#000000">&gt; It is probably a list you have created in your C code but forgot to check</span></p>
<p><span style="color:#000000">&gt; for exceptions when adding members to it, thus leaving one of them with a</span></p>
<p><span style="color:#000000">&gt; NULL pointer.</span></p>
<p></p>
<p><span style="color:#000000">Thank you for your comment. A longer debugging session showed a stray Py_DECREF in an unexpected code path, which lead to the error above.</span></p>
<p></p>
<p><span style="color:#000000">The Python GC is indeed fine.</span></p>
<p></p>
<p><span style="color:#000000">Thanks,</span></p>
<p><span style="color:#000000">Moritz </span></p>
<p><span style="color:#000000">-- </span></p>
<p><span style="color:#000000">Moritz Muehlenhoff muehlenhoff@univention.de     fon: +49 421 22 232- 0</span></p>
<p><span style="color:#000000">Development        Linux for Your Business       fax: +49 421 22 232-99</span></p>
<p><span style="color:#000000">Univention GmbH    http://www.univention.de/   mobil: +49 175 22 999 23</span></p>
</body></html>