[Stackless] Advice on Tracking down GC Assertion Failure

Richard Tew richard.m.tew at gmail.com
Mon Nov 29 03:36:11 CET 2010


On Mon, Nov 29, 2010 at 5:17 AM, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
> I know that this is with my experimental version of Stackless Python with select() so it is a bit more difficult to track down.
>
> However I am getting a number of errors that result in the following:
>
> python: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
> Aborted
>
> In the past, Kevin and I tried various things to track down the error. I figure the problem revolves around not decrementing a reference count somewhere. Can anyone recommend a strategy for hunting this down? I have to admit that I am not as familiar with the C code base as Kevin was but now I am working on it.

This sounds like a general Python development problem.  You would be
best to refer to whatever existing help or documentation has been
given for it in general Python development locations.  I am sure there
is a wealth of it.

Cheers,
Richard.



More information about the Stackless mailing list