[Zope] [BUG] calling a constructor crashes Zope

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Mon, 25 Dec 2000 17:57:21 +0100


On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve Spicklemire wrote:
> 
> Hi Andreas,
> 
>    You might try this: Start Zope in debug mode (./start -D ). Then in your __init__...
> 
> class AJFile:
>   def __init__(self):
>      import pdb
>      pdb.set_trace()
>      self.d = {}
> 
> 
> Zope will stop in the debugger. Step through with the debugger and see where things are
> going south....

It is a problem of Python 1.5.2. It seems to crash somewhere in glibc
(malloc.c) when called from PyTuple_New(). I also reported this bug
on the bug list for Python (#126790).

Andreas