[issue11223] interruption of locks by signals not guaranteed when the semaphore implementation is not used

STINNER Victor report at bugs.python.org
Wed Feb 16 17:55:10 CET 2011


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

> I will try with pdb or something.

You can also try to attach gdb to the running process: with
python-gdb.py, you have nice py-* commands.

Or if you don't have gdb7, you may try my faulthandler module: you will
have to modify the source code (eg. Lib/test/regrtest.py) to add at the
top:

   import faulthandler, signal; faulthandler.register(signal.SIGUSR1)

Then you can display the current Python backtrace by sending a SIGUSR1
signal to the running Python process (eg. killall -USR1 python).

https://github.com/haypo/faulthandler/wiki

----------

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


More information about the Python-bugs-list mailing list