[Zope3-dev] --without-cycle-gc needed?

Jeremy Hylton jeremy@alum.mit.edu
Tue, 26 Feb 2002 11:46:54 -0500


> Program received signal SIGSEGV, Segmentation fault.
> 0x22e0a in visit_move (op=0x40294310, tolist=0xdfbf8c6c)
>     at Modules/gcmodule.c:96
> 96              node->gc.gc_prev->gc.gc_next = node->gc.gc_next;
>
> If I compile up python 2.2 with --without-cycle-gc, no trouble (so
> far).  I was advised to bring this to everyone's attention...

Oh, you've got trouble alright.  You just don't have the garbage collector
to catch it for you.

> Python 2.2 (#1, Feb 25 2002, 20:31:30)
> [GCC 2.95.3 20010125 (prerelease)] on openbsd3
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from Persistence.BTrees.OOBTree import OOBTree

This is the culprit.  I've been trying to track down the same bug in the
BTrees code for the last several days.  The test suite doesn't provoke it,
although it surely runs the garbage collector.  So the BTrees are
experimental still, as in don't quite work.

Jeremy