STINNER Victor <victor.stin...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12469>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to