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

Matt Behrens matt@zigg.com
Mon, 25 Feb 2002 20:42:50 -0500


I haven't been able to start z3 with a stock python -- if I do, I
get a crash in the first few seconds:

(gdb) run z3.py
Starting program: /opt/python2.2/bin/python z3.py

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...

This is OpenBSD 3.0-current.

A shorter testcase, from the beginnings of Zope/App/OFS/Folder/Folder.py:

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.
>>> import sys
>>> sys.path.append('lib/python')
>>> from Zope.App.OFS.IContainer import IContainer
>>> import Persistence
>>> from Persistence.BTrees.OOBTree import OOBTree
>>> from Zope.App.Security.IAttributeRolePermissionManageable \
...      import IAttributeRolePermissionManageable
>>> from Zope.ComponentArchitecture.IServiceManagerContainer import \
...      IServiceManagerContainer