Hi,

Some months ago, I proposed a patch to display the Python backtrace on a
segfault. The API was not stable, it was too for Python 3.2, and it was
enabled by default. I wrote a module instead of a patch so it can be
used on any version of Python, and it has a better API. And now I would
like to include the module into Python directly to use it more easily.
See http://bugs.python.org/issue11393 for the details. The module:

   https://github.com/haypo/faulthandler

It is now possible to dump the backtrace on an user signal (eg. SIGUSR1)
or after a delay in seconds (it may be useful for buildbot hangs without
user interaction). You can choose to display the current thread or all
threads, and in which file the trace is written.

So, what do you think?

Victor

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to