Hey Steve... This is a tricky one to pin down; what I normally do is change the startup of Zope so that it can be debugged under gdb, e.g. $ gdb python gdb> run z2.py -Z '' -t 1 but that only runs one thread, so you may NEVER encounter the problem. You can experiment with running more than one thread under gdb. When gdb halts next, there's your segfault! If "where" shows a recursion depth of greater than 300 or so, there's an infinate loop. Alternately, you can run into problems if you try to run against a Python with a different storage allocator (and potentially even garbage collection, although I *think* gc is safe) since ExtensionClass is not aware of the changes to object construction/destruction that need to take place. Some people have reported (and I don't know if they've been fixed) that some of the C routines use "PyMem_Del*" methods to delete objects, when they should use "PyObject_Delete" to release storage. This mismatch causes grief when additional pointer manipulation is happening by the storage allocator and/or garbage collection. Steve Alexander wrote:
Hi folks.
I have a Zope 2.4 CVS checkout from a couple of days ago, which I'm running on a linux system on a Cobalt Raq.
I've compiled it against Python 2.1.1 (compiled from source), and compiled a fresh DynPersist.so for it for use with ZPatterns.
Every so often, the server restarts after crashing on a signal 11.
The log entry looks something like this:
2001-08-15T18:26:03 ERROR(200) zdaemon zdaemon: Wed Aug 15 19:26:03 2001: Aiieee! 8736 exited with error code: 11
I can't reliably reproduce the problem, but it does keep happening.
Seeing as it's a signal 11, I'm guessing that something in Python or a Zope C module isn't compiled right.
Any pointers as to where to start to debug this?
Thanks.
-- Steve Alexander Software Engineer Cat-Box limited
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )