[Stackless] Stackless segfault
Michael Hudson
mwh at python.net
Fri Oct 17 18:11:11 CEST 2003
"Giovanni Bajo" <giovannibajo at libero.it> writes:
> Hello Chris,
>
> deep within our game, I get a segfault with Stackless (3.0 on 2.2.3 of course).
> By tracing it, it happens within dictobject.c, dict_dealloc(). The problem is
> that it's trying to free memory which is already freed. Back in the call stack,
> it comes from tasklet_end: Py_DECREF(task->f.frame) crashes. It seems like
> everythign was already deleted or something. I tried to change it to Py_XDECREF
> but it does not fix the problem. task->topframe is NULL at this point.
Well, that sure *sounds* like a refcounting bug. Can you try a debug
build? (Would be more use in 2.3, but...)
Cheers,
mwh
--
[Perl] combines all the worst aspects of C and Lisp: a billion
different sublanguages in one monolithic executable. It combines
the power of C with the readability of PostScript. -- Jamie Zawinski
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless
More information about the Stackless
mailing list