[zope2-tracker] [Bug 587760] Re: Zope 2.12.6 fails to run on Fedora

Artur Zaprzała zope at arturz.ownmail.net
Thu Jun 3 07:29:28 EDT 2010


The same problem exists in Zope 2.12.0.

Here is how to trace the bug (assuming ZOPE is installed in
/opt/Zope-2.12.6) under Fedora 12:

yum install --disablerepo '*' --enablerepo updates-debuginfo python-debuginfo
gdb /opt/Zope-2.12.6/bin/python
set args -c 'import ExtensionClass'
break Objects/typeobject.c:1728 if type.tp_base!=0 && type.tp_base.tp_basicsize>type.tp_basicsize
run
print type.tp_base.tp_basicsize
print type.tp_basicsize
bt


The problem is in _ExtensionClass.c: tp_basicsize is 0 for ExtensionClassType, BaseType, NoInstanceDictionaryBaseType and in PyExtensionClass_Export() when typ->tp_base is set, typ->tp_basicsize should be set, too.

-- 
Zope 2.12.6 fails to run on Fedora
https://bugs.launchpad.net/bugs/587760
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list