[Numpy-discussion] "GC object already in linked list" error when testall.test()

Todd Miller jmiller at stsci.edu
Fri Feb 20 09:01:50 EST 2004


On Fri, 2004-02-20 at 10:49, Tina Li wrote:
> Hello,
> 
> I installed numarray on a RedHat 8.0 with Python 2.2.1. The build completed
> fine, but it failed when I tried to testall.test(). Here is the output:
> 
> ------------------------------------------------------------
> Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
> [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numarray.testall as testall
> >>> testall.test()
> numarray:                               ((0, 1142), (0, 1142))
> numarray.records:                       (0, 48)
> numarray.strings:                       (0, 168)
> numarray.memmap:                        (0, 82)
> numarray.objects:                       (0, 68)
> numarray.memorytest:                    (0, 16)
> Fatal Python error: GC object already in linked list
> Aborted
> ------------------------------------------------------------
> 
> Seems like a garbage collector problem. That's all I can tell. I installed
> using "python setup.py install --gencode --prefix=<installation directory>"
> and then "export PYTHONPATH". Does anyone have a clue how this can be fixed?

Python-2.2.3 and Python-2.3.3 both (seem to) work fine, so I suggest
upgrading to one of those.

I've had no problem reproducing this bug,  but solving it is another
matter.

Regards,
Todd

-- 
Todd Miller <jmiller at stsci.edu>





More information about the NumPy-Discussion mailing list