Abort in garbage collector in 2.2.2

Martin v. Loewis martin at v.loewis.de
Fri Nov 1 17:08:36 EST 2002


x0phe at netscape.net (Christophe) writes:

> Any idea what could cause this?

Are you using any additional C modules, beyond what the standard
distribution provides?

It would be interesting to see the value of gc_refs for the object for
which the assertion fails, i.e. the value of

  unreachable->gc.gc_next->gc.gc_refs

As an assertion, it is supposed to never happen. If it happens anyway,
the most likely reason is that some buggy code has stomped over the gc
data structures.

It would be also interesting to see whether the object itself is
meaningful, i.e. what is its ob_refcnt field, and its ob_type->tp_name
field?

Regards,
Martin



More information about the Python-list mailing list