[issue12469] test_faulthandler failures on FreeBSD 6

STINNER Victor report at bugs.python.org
Sat Jul 2 01:49:53 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

On FreeBSD 6, os.kill(os.getpid(), signum) calls immediatly the signal handler before the creation of the first thread (which was the case by default before my commit 024827a9db64), whereas the signal handler is called "later" (when exactly?) after the creation of the first thread (default after my commit).

The traceback is sometimes "truncated" because tstate->frame is NULL. I suppose that the signal handler is called after the execution of the last instruction, after PyEval_EvalFrameEx() has set tstate->frame to f->f_back (which is NULL for the last frame).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12469>
_______________________________________


More information about the Python-bugs-list mailing list