[Cython] Temp allocation bug

Stefan Behnel stefan_ml at behnel.de
Sat Jan 17 13:41:28 CET 2009


Robert Bradshaw wrote:
> It seems there's a bug in temp allocation, basically a temp is  
> allocated but never released (even though it's freed).
> 
> See http://hg.cython.org/cython-devel/file/4f0327bdebc9/tests/run/ 
> call_crash.pyx

The problem is that AttributeNode is not a NewTempExprNode and thus fails
to pass on the request for freeing the temp. Changing its baseclass fixes
this problem, but it also breaks tons of other test cases. It might just be
one problem that kills all of them, but in any case, this needs some
investigation. I'll try to look into it this weekend if I find the time.

Stefan


More information about the Cython-dev mailing list