[ZODB-Dev] Error running test.py in zodb3.1b

Samir Patel mepython@yahoo.com
Wed, 25 Sep 2002 13:43:42 -0700 (PDT)


ZODB 3.1b compile fine on both gentoo 1.4 RC1 and
mandrake 9.0 RC3, but in both case I got error running
test.py. I think there is a problem running ZODB in
gcc 3.2. Here is dump of python -v test.py:

Any help will be greatly appriciated.

***********************************************
# /usr/lib/python2.2/site.pyc matches
/usr/lib/python2.2/site.py
import site # precompiled from
/usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches
/usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches
/usr/lib/python2.2/posixpath.py
import posixpath # precompiled from
/usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches
/usr/lib/python2.2/stat.py
import stat # precompiled from
/usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches
/usr/lib/python2.2/UserDict.py
import UserDict # precompiled from
/usr/lib/python2.2/UserDict.pyc
# /usr/lib/python2.2/copy_reg.pyc matches
/usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from
/usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches
/usr/lib/python2.2/types.py
import types # precompiled from
/usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches
/usr/lib/python2.2/__future__.py
import __future__ # precompiled from
/usr/lib/python2.2/__future__.pyc
# /usr/lib/python2.2/string.pyc matches
/usr/lib/python2.2/string.py
import string # precompiled from
/usr/lib/python2.2/string.pyc
dlopen("/usr/lib/python2.2/lib-dynload/strop.so", 2);
import strop # dynamically loaded from
/usr/lib/python2.2/lib-dynload/strop.so
Python 2.2.1 (#1, Sep  9 2002, 09:26:21)
[GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for
more information.
import gc # builtin
# /usr/lib/python2.2/re.pyc matches
/usr/lib/python2.2/re.py
import re # precompiled from /usr/lib/python2.2/re.pyc
# /usr/lib/python2.2/sre.pyc matches
/usr/lib/python2.2/sre.py
import sre # precompiled from
/usr/lib/python2.2/sre.pyc
# /usr/lib/python2.2/sre_compile.pyc matches
/usr/lib/python2.2/sre_compile.py
import sre_compile # precompiled from
/usr/lib/python2.2/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.2/sre_constants.pyc matches
/usr/lib/python2.2/sre_constants.py
import sre_constants # precompiled from
/usr/lib/python2.2/sre_constants.pyc
# /usr/lib/python2.2/sre_parse.pyc matches
/usr/lib/python2.2/sre_parse.py
import sre_parse # precompiled from
/usr/lib/python2.2/sre_parse.pyc
# /usr/lib/python2.2/traceback.pyc matches
/usr/lib/python2.2/traceback.py
import traceback # precompiled from
/usr/lib/python2.2/traceback.pyc
# /usr/lib/python2.2/linecache.pyc matches
/usr/lib/python2.2/linecache.py
import linecache # precompiled from
/usr/lib/python2.2/linecache.pyc
# /usr/lib/python2.2/unittest.pyc matches
/usr/lib/python2.2/unittest.py
import unittest # precompiled from
/usr/lib/python2.2/unittest.pyc
dlopen("/usr/lib/python2.2/lib-dynload/time.so", 2);
import time # dynamically loaded from
/usr/lib/python2.2/lib-dynload/time.so
import distutils # directory
/usr/lib/python2.2/distutils
# /usr/lib/python2.2/distutils/__init__.pyc matches
/usr/lib/python2.2/distutils/__init__.py
import distutils # precompiled from
/usr/lib/python2.2/distutils/__init__.pyc
# /usr/lib/python2.2/distutils/util.pyc matches
/usr/lib/python2.2/distutils/util.py
import distutils.util # precompiled from
/usr/lib/python2.2/distutils/util.pyc
# /usr/lib/python2.2/distutils/errors.pyc matches
/usr/lib/python2.2/distutils/errors.py
import distutils.errors # precompiled from
/usr/lib/python2.2/distutils/errors.pyc
# /usr/lib/python2.2/distutils/dep_util.pyc matches
/usr/lib/python2.2/distutils/dep_util.py
import distutils.dep_util # precompiled from
/usr/lib/python2.2/distutils/dep_util.pyc
# /usr/lib/python2.2/distutils/spawn.pyc matches
/usr/lib/python2.2/distutils/spawn.py
import distutils.spawn # precompiled from
/usr/lib/python2.2/distutils/spawn.pyc
# /usr/lib/python2.2/getopt.pyc matches
/usr/lib/python2.2/getopt.py
import getopt # precompiled from
/usr/lib/python2.2/getopt.pyc
import BTrees # directory lib.linux-i686-2.2/BTrees
# lib.linux-i686-2.2/BTrees/__init__.pyc matches
lib.linux-i686-2.2/BTrees/__init__.py
import BTrees # precompiled from
lib.linux-i686-2.2/BTrees/__init__.pyc
import ZODB # directory lib.linux-i686-2.2/ZODB
# lib.linux-i686-2.2/ZODB/__init__.pyc matches
lib.linux-i686-2.2/ZODB/__init__.py
import ZODB # precompiled from
lib.linux-i686-2.2/ZODB/__init__.pyc
dlopen("lib.linux-i686-2.2/ZODB/cPersistence.so", 2);
dlopen("lib.linux-i686-2.2/ZODB/TimeStamp.so", 2);
dlopen("lib.linux-i686-2.2/ExtensionClass.so", 2);
import ExtensionClass # dynamically loaded from
lib.linux-i686-2.2/ExtensionClass.so
import ZODB.TimeStamp # dynamically loaded from
lib.linux-i686-2.2/ZODB/TimeStamp.so
import ZODB.cPersistence # dynamically loaded from
lib.linux-i686-2.2/ZODB/cPersistence.so
import Persistence # directory
lib.linux-i686-2.2/Persistence
# lib.linux-i686-2.2/Persistence/__init__.pyc matches
lib.linux-i686-2.2/Persistence/__init__.py
import Persistence # precompiled from
lib.linux-i686-2.2/Persistence/__init__.pyc
import zLOG # directory lib.linux-i686-2.2/zLOG
# lib.linux-i686-2.2/zLOG/__init__.pyc matches
lib.linux-i686-2.2/zLOG/__init__.py
import zLOG # precompiled from
lib.linux-i686-2.2/zLOG/__init__.pyc
# lib.linux-i686-2.2/zLOG/MinimalLogger.pyc matches
lib.linux-i686-2.2/zLOG/MinimalLogger.py
import zLOG.MinimalLogger # precompiled from
lib.linux-i686-2.2/zLOG/MinimalLogger.pyc
# lib.linux-i686-2.2/zLOG/FormatException.pyc matches
lib.linux-i686-2.2/zLOG/FormatException.py
import zLOG.FormatException # precompiled from
lib.linux-i686-2.2/zLOG/FormatException.pyc
# lib.linux-i686-2.2/ZODB/PersistentMapping.pyc
matches lib.linux-i686-2.2/ZODB/PersistentMapping.py
import ZODB.PersistentMapping # precompiled from
lib.linux-i686-2.2/ZODB/PersistentMapping.pyc
Segmentation fault
[root@m90cvgsrv ZODB3-3.1b1]# python setup.py build
running build
running build_py
not copying BTrees/Length.py (output up-to-date)
not copying BTrees/IIBTree.py (output up-to-date)
not copying BTrees/IOBTree.py (output up-to-date)
not copying BTrees/OIBTree.py (output up-to-date)
not copying BTrees/Interfaces.py (output up-to-date)
not copying BTrees/convert.py (output up-to-date)
not copying BTrees/__init__.py (output up-to-date)
not copying BTrees/OOBTree.py (output up-to-date)
not copying BTrees/tests/testBTrees.py (output
up-to-date)
not copying BTrees/tests/testSetOps.py (output
up-to-date)
not copying BTrees/tests/testConflict.py (output
up-to-date)
not copying BTrees/tests/testBTreesUnicode.py (output
up-to-date)
not copying BTrees/tests/__init__.py (output
up-to-date)
not copying ZODB/BaseStorage.py (output up-to-date)
not copying ZODB/lock_file.py (output up-to-date)
not copying ZODB/ExportImport.py (output up-to-date)
not copying ZODB/DB.py (output up-to-date)
not copying ZODB/conversionhack.py (output up-to-date)
not copying ZODB/dbmStorage.py (output up-to-date)
not copying ZODB/fsdump.py (output up-to-date)
not copying ZODB/bpthread.py (output up-to-date)
not copying ZODB/Mount.py (output up-to-date)
not copying ZODB/MappingStorage.py (output up-to-date)
not copying ZODB/fsIndex.py (output up-to-date)
not copying ZODB/PersistentMapping.py (output
up-to-date)
not copying ZODB/ConflictResolution.py (output
up-to-date)
not copying ZODB/UndoLogCompatible.py (output
up-to-date)
not copying ZODB/fsrecover.py (output up-to-date)
not copying ZODB/referencesf.py (output up-to-date)
not copying ZODB/POSException.py (output up-to-date)
not copying ZODB/TmpStore.py (output up-to-date)
not copying ZODB/ZApplication.py (output up-to-date)
not copying ZODB/FileStorage.py (output up-to-date)
not copying ZODB/DemoStorage.py (output up-to-date)
not copying ZODB/Connection.py (output up-to-date)
not copying ZODB/__init__.py (output up-to-date)
not copying ZODB/ActivityMonitor.py (output
up-to-date)
not copying ZODB/PersistentList.py (output up-to-date)
not copying ZODB/Transaction.py (output up-to-date)
not copying ZODB/utils.py (output up-to-date)
not copying ZODB/tests/PackableStorage.py (output
up-to-date)
not copying ZODB/tests/IteratorStorage.py (output
up-to-date)
not copying
ZODB/tests/TransactionalUndoVersionStorage.py (output
up-to-date)
not copying ZODB/tests/speed.py (output up-to-date)
not copying ZODB/tests/testTimeStamp.py (output
up-to-date)
not copying ZODB/tests/ReadOnlyStorage.py (output
up-to-date)
not copying ZODB/tests/testfsIndex.py (output
up-to-date)
not copying ZODB/tests/MinPO.py (output up-to-date)
not copying ZODB/tests/StorageTestBase.py (output
up-to-date)
not copying ZODB/tests/MTStorage.py (output
up-to-date)
not copying ZODB/tests/LocalStorage.py (output
up-to-date)
not copying ZODB/tests/PersistentStorage.py (output
up-to-date)
not copying ZODB/tests/testUtils.py (output
up-to-date)
not copying ZODB/tests/testZODB.py (output up-to-date)
not copying ZODB/tests/RevisionStorage.py (output
up-to-date)
not copying ZODB/tests/ConflictResolution.py (output
up-to-date)
not copying ZODB/tests/BasicStorage.py (output
up-to-date)
not copying ZODB/tests/testPersistentList.py (output
up-to-date)
not copying ZODB/tests/TransactionalUndoStorage.py
(output up-to-date)
not copying ZODB/tests/testCache.py (output
up-to-date)
not copying ZODB/tests/Corruption.py (output
up-to-date)
not copying ZODB/tests/testActivityMonitor.py (output
up-to-date)
not copying ZODB/tests/HistoryStorage.py (output
up-to-date)
not copying ZODB/tests/testFileStorage.py (output
up-to-date)
not copying ZODB/tests/testDemoStorage.py (output
up-to-date)
not copying ZODB/tests/Synchronization.py (output
up-to-date)
not copying ZODB/tests/testPersistentMapping.py
(output up-to-date)
not copying ZODB/tests/__init__.py (output up-to-date)
not copying ZODB/tests/testDB.py (output up-to-date)
not copying ZODB/tests/VersionStorage.py (output
up-to-date)
not copying ZODB/tests/testMappingStorage.py (output
up-to-date)
not copying ZODB/tests/testTransaction.py (output
up-to-date)
not copying Persistence/__init__.py (output
up-to-date)
not copying ThreadedAsync/LoopCallback.py (output
up-to-date)
not copying ThreadedAsync/__init__.py (output
up-to-date)
not copying zLOG/FormatException.py (output
up-to-date)
not copying zLOG/MinimalLogger.py (output up-to-date)
not copying zLOG/__init__.py (output up-to-date)
not copying zLOG/tests/testzLog.py (output up-to-date)
not copying zLOG/tests/__init__.py (output up-to-date)
not copying zdaemon/Heartbeat.py (output up-to-date)
not copying zdaemon/SignalHandler.py (output
up-to-date)
not copying zdaemon/ZDaemonLogging.py (output
up-to-date)
not copying zdaemon/SignalPasser.py (output
up-to-date)
not copying zdaemon/Daemon.py (output up-to-date)
not copying zdaemon/__init__.py (output up-to-date)
not copying zdaemon/tests/testDaemon.py (output
up-to-date)
not copying zdaemon/tests/__init__.py (output
up-to-date)
not copying ZEO/ClientStub.py (output up-to-date)
not copying ZEO/simul.py (output up-to-date)
not copying ZEO/TransactionBuffer.py (output
up-to-date)
not copying ZEO/ClientStorage.py (output up-to-date)
not copying ZEO/StorageServer.py (output up-to-date)
not copying ZEO/Exceptions.py (output up-to-date)
not copying ZEO/start.py (output up-to-date)
not copying ZEO/stats.py (output up-to-date)
not copying ZEO/util.py (output up-to-date)
not copying ZEO/ServerStub.py (output up-to-date)
not copying ZEO/ClientCache.py (output up-to-date)
not copying ZEO/ICache.py (output up-to-date)
not copying ZEO/CommitLog.py (output up-to-date)
not copying ZEO/__init__.py (output up-to-date)
not copying ZEO/zrpc/error.py (output up-to-date)
not copying ZEO/zrpc/server.py (output up-to-date)
not copying ZEO/zrpc/marshal.py (output up-to-date)
not copying ZEO/zrpc/smac.py (output up-to-date)
not copying ZEO/zrpc/connection.py (output up-to-date)
not copying ZEO/zrpc/log.py (output up-to-date)
not copying ZEO/zrpc/trigger.py (output up-to-date)
not copying ZEO/zrpc/client.py (output up-to-date)
not copying ZEO/zrpc/__init__.py (output up-to-date)
not copying ZEO/tests/stress.py (output up-to-date)
not copying ZEO/tests/testStart.py (output up-to-date)
not copying ZEO/tests/speed.py (output up-to-date)
not copying ZEO/tests/winserver.py (output up-to-date)
not copying ZEO/tests/multi.py (output up-to-date)
not copying ZEO/tests/ThreadTests.py (output
up-to-date)
not copying ZEO/tests/forker.py (output up-to-date)
not copying ZEO/tests/CommitLockTests.py (output
up-to-date)
not copying ZEO/tests/testTransactionBuffer.py (output
up-to-date)
not copying ZEO/tests/TestThread.py (output
up-to-date)
not copying ZEO/tests/testClientCache.py (output
up-to-date)
not copying ZEO/tests/__init__.py (output up-to-date)
not copying ZEO/tests/testZEO.py (output up-to-date)
not copying ZEO/tests/Cache.py (output up-to-date)
running build_ext
skipping 'ExtensionClass' extension (up-to-date)
skipping 'Acquisition' extension (up-to-date)
skipping 'ComputedAttribute' extension (up-to-date)
skipping 'MethodObject' extension (up-to-date)
skipping 'Missing' extension (up-to-date)
skipping 'MultiMapping' extension (up-to-date)
skipping 'Sync' extension (up-to-date)
skipping 'ThreadLock' extension (up-to-date)
skipping 'Record' extension (up-to-date)
skipping 'ZODB.cPersistence' extension (up-to-date)
skipping 'ZODB.cPickleCache' extension (up-to-date)
skipping 'ZODB.TimeStamp' extension (up-to-date)
skipping 'ZODB.coptimizations' extension (up-to-date)
skipping 'ZODB.winlock' extension (up-to-date)
skipping 'BTrees._OOBTree' extension (up-to-date)
skipping 'BTrees._OIBTree' extension (up-to-date)
skipping 'BTrees._IIBTree' extension (up-to-date)
skipping 'BTrees._IOBTree' extension (up-to-date)
skipping 'BTrees._fsBTree' extension (up-to-date)
skipping 'bsddb3Storage._helper' extension
(up-to-date)
[root@m90cvgsrv ZODB3-3.1b1]# python test.py
Segmentation fault
[root@m90cvgsrv ZODB3-3.1b1]# python -v test.py
# /usr/lib/python2.2/site.pyc matches
/usr/lib/python2.2/site.py
import site # precompiled from
/usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches
/usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches
/usr/lib/python2.2/posixpath.py
import posixpath # precompiled from
/usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches
/usr/lib/python2.2/stat.py
import stat # precompiled from
/usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches
/usr/lib/python2.2/UserDict.py
import UserDict # precompiled from
/usr/lib/python2.2/UserDict.pyc
# /usr/lib/python2.2/copy_reg.pyc matches
/usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from
/usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches
/usr/lib/python2.2/types.py
import types # precompiled from
/usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches
/usr/lib/python2.2/__future__.py
import __future__ # precompiled from
/usr/lib/python2.2/__future__.pyc
# /usr/lib/python2.2/string.pyc matches
/usr/lib/python2.2/string.py
import string # precompiled from
/usr/lib/python2.2/string.pyc
dlopen("/usr/lib/python2.2/lib-dynload/strop.so", 2);
import strop # dynamically loaded from
/usr/lib/python2.2/lib-dynload/strop.so
Python 2.2.1 (#1, Sep  9 2002, 09:26:21)
[GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for
more information.
import gc # builtin
# /usr/lib/python2.2/re.pyc matches
/usr/lib/python2.2/re.py
import re # precompiled from /usr/lib/python2.2/re.pyc
# /usr/lib/python2.2/sre.pyc matches
/usr/lib/python2.2/sre.py
import sre # precompiled from
/usr/lib/python2.2/sre.pyc
# /usr/lib/python2.2/sre_compile.pyc matches
/usr/lib/python2.2/sre_compile.py
import sre_compile # precompiled from
/usr/lib/python2.2/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.2/sre_constants.pyc matches
/usr/lib/python2.2/sre_constants.py
import sre_constants # precompiled from
/usr/lib/python2.2/sre_constants.pyc
# /usr/lib/python2.2/sre_parse.pyc matches
/usr/lib/python2.2/sre_parse.py
import sre_parse # precompiled from
/usr/lib/python2.2/sre_parse.pyc
# /usr/lib/python2.2/traceback.pyc matches
/usr/lib/python2.2/traceback.py
import traceback # precompiled from
/usr/lib/python2.2/traceback.pyc
# /usr/lib/python2.2/linecache.pyc matches
/usr/lib/python2.2/linecache.py
import linecache # precompiled from
/usr/lib/python2.2/linecache.pyc
# /usr/lib/python2.2/unittest.pyc matches
/usr/lib/python2.2/unittest.py
import unittest # precompiled from
/usr/lib/python2.2/unittest.pyc
dlopen("/usr/lib/python2.2/lib-dynload/time.so", 2);
import time # dynamically loaded from
/usr/lib/python2.2/lib-dynload/time.so
import distutils # directory
/usr/lib/python2.2/distutils
# /usr/lib/python2.2/distutils/__init__.pyc matches
/usr/lib/python2.2/distutils/__init__.py
import distutils # precompiled from
/usr/lib/python2.2/distutils/__init__.pyc
# /usr/lib/python2.2/distutils/util.pyc matches
/usr/lib/python2.2/distutils/util.py
import distutils.util # precompiled from
/usr/lib/python2.2/distutils/util.pyc
# /usr/lib/python2.2/distutils/errors.pyc matches
/usr/lib/python2.2/distutils/errors.py
import distutils.errors # precompiled from
/usr/lib/python2.2/distutils/errors.pyc
# /usr/lib/python2.2/distutils/dep_util.pyc matches
/usr/lib/python2.2/distutils/dep_util.py
import distutils.dep_util # precompiled from
/usr/lib/python2.2/distutils/dep_util.pyc
# /usr/lib/python2.2/distutils/spawn.pyc matches
/usr/lib/python2.2/distutils/spawn.py
import distutils.spawn # precompiled from
/usr/lib/python2.2/distutils/spawn.pyc
# /usr/lib/python2.2/getopt.pyc matches
/usr/lib/python2.2/getopt.py
import getopt # precompiled from
/usr/lib/python2.2/getopt.pyc
import BTrees # directory lib.linux-i686-2.2/BTrees
# lib.linux-i686-2.2/BTrees/__init__.pyc matches
lib.linux-i686-2.2/BTrees/__init__.py
import BTrees # precompiled from
lib.linux-i686-2.2/BTrees/__init__.pyc
import ZODB # directory lib.linux-i686-2.2/ZODB
# lib.linux-i686-2.2/ZODB/__init__.pyc matches
lib.linux-i686-2.2/ZODB/__init__.py
import ZODB # precompiled from
lib.linux-i686-2.2/ZODB/__init__.pyc
dlopen("lib.linux-i686-2.2/ZODB/cPersistence.so", 2);
dlopen("lib.linux-i686-2.2/ZODB/TimeStamp.so", 2);
dlopen("lib.linux-i686-2.2/ExtensionClass.so", 2);
import ExtensionClass # dynamically loaded from
lib.linux-i686-2.2/ExtensionClass.so
import ZODB.TimeStamp # dynamically loaded from
lib.linux-i686-2.2/ZODB/TimeStamp.so
import ZODB.cPersistence # dynamically loaded from
lib.linux-i686-2.2/ZODB/cPersistence.so
import Persistence # directory
lib.linux-i686-2.2/Persistence
# lib.linux-i686-2.2/Persistence/__init__.pyc matches
lib.linux-i686-2.2/Persistence/__init__.py
import Persistence # precompiled from
lib.linux-i686-2.2/Persistence/__init__.pyc
import zLOG # directory lib.linux-i686-2.2/zLOG
# lib.linux-i686-2.2/zLOG/__init__.pyc matches
lib.linux-i686-2.2/zLOG/__init__.py
import zLOG # precompiled from
lib.linux-i686-2.2/zLOG/__init__.pyc
# lib.linux-i686-2.2/zLOG/MinimalLogger.pyc matches
lib.linux-i686-2.2/zLOG/MinimalLogger.py
import zLOG.MinimalLogger # precompiled from
lib.linux-i686-2.2/zLOG/MinimalLogger.pyc
# lib.linux-i686-2.2/zLOG/FormatException.pyc matches
lib.linux-i686-2.2/zLOG/FormatException.py
import zLOG.FormatException # precompiled from
lib.linux-i686-2.2/zLOG/FormatException.pyc
# lib.linux-i686-2.2/ZODB/PersistentMapping.pyc
matches lib.linux-i686-2.2/ZODB/PersistentMapping.py
import ZODB.PersistentMapping # precompiled from
lib.linux-i686-2.2/ZODB/PersistentMapping.pyc
Segmentation fault


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com