gc assertion failure

Michael Hudson mwh at python.net
Wed Oct 29 13:36:05 EST 2003


Todd Miller <jmiller at stsci.edu> writes:

> I recently discovered an assertion failure in the Python garbage
> collection system when scripts using our C extension (numarray)
> exit. The assertion is activated for Pythons configured using
> --with-pydebug. I have a feeling I may be doing something wrong with
> garbage collection support for some of our c types,  but I'm not sure
> exactly what.
> 
> Here is the assertion output:
> 
> python: Modules/gcmodule.c:231: visit_decref: Assertion
> `gc->gc.gc_refs != 0' failed.
> Abort (core dumped)
> 
> 
> Here's the traceback from gdb:

[snip] 

> Can anyone give me any insight into what needs fixing?

Oh good grief, it could be anything (I think).  Are you using the very
latest version of Python?

Cheers,
mwh

-- 
  Well, yes.  I don't think I'd put something like "penchant for anal
  play" and "able to wield a buttplug" in a CV unless it was relevant
  to the gig being applied for...
                                 -- Matt McLeod, alt.sysadmin.recovery




More information about the Python-list mailing list