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 - Robert