Hi Andreas,

   I would be really surprised if this were a python problem. 
Are you using any other extensions with your product? Can you
post a more complete set of code that shows how this constructor
is really called? It sounds like the heap is getting corrupted
somehow, maybe a bad Py_DECREF?

thanks,
-steve

>>>>> "Andreas" == Andreas Jung <[EMAIL PROTECTED]> writes:

    Andreas> On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve
    Andreas> 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....

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

    Andreas> Andreas

 



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to