[Zope-dev] Core dumps - How to find out the bug?

Joseph Wayne Norton norton@alum.mit.edu
Mon, 21 Jan 2002 17:04:14 +0900


Dario -

I had faced similar problems ... try the following thread for help

  http://aspn.activestate.com/ASPN/Mail/Message/zope-Dev/940742

on how to trap the error on a running process.  For linux, you need
the command strace ... here is one url

  http://www.pugcentral.org/howto/truss.htm

Once you have the core file, you should invoke gdb like this ...

 gdb program core

where program is the path to the python executable and core is the
core file.  Then, type "info threads" to see which thread and where
the problem occured in zope/python.

- j