[Zope3-dev] Re: Core dump with z3

Godefroid Chapelle gotcha@swing.be
Tue, 29 Apr 2003 09:52:14 +0200


Tim Peters wrote:
> [Godefroid Chapelle]
> 
>>Hello workers on _OIBTree,
> 
> 
> That would be me.
> 
> 
> 
> Which version of Python?
> 
> 
Python 2.2.2

> 
> I'm not using cygwin, and have no problem running z3.py under either the
> released Python 2.2.2 or current CVS Python (I just tried both).  That means
> it's something specific to cygwin, 
I suppose so.
> or a shy bug affecting everyone that
> nobody else has seen yet.  In either case, it may take a lot of debugging
> sweat.  If nobody else reports this problem, the presumption has to favor
> that it's specific to cygwin.
> 
> Did you run the Zope3 test suite?  Those beat up BTrees with some intensity.
> 
Yes it is always the first thing I do after an update.

I also get a core dump while importing OIBTree :

import zodb.btrees._OIBTree # dynamically loaded from 
/cygdrive/c/zope3head/zope
3/src/zodb/btrees/_OIBTree.dll
Segmentation fault (core dumped)


> It may help to do a debug build of Python.

There's a new Cygwin Python 2.2.2. I'll get it first and tell you about 
it. If the problem is still there I'll try to build Python with debug on.

Can you tell me what options need to be passed to make a debug build ?
A quick search did not help me.

Thanks


-- 
Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901

TVA 467 093 008
RC Niv 49849