[issue7736] os.listdir hangs since opendir() and closedir() do not release GIL

Marcin Bachry report at bugs.python.org
Wed Jan 20 15:02:52 CET 2010


Marcin Bachry <hegel666 at gmail.com> added the comment:

> Still, I'd be extremly grateful if someone could tell me the trick how 
to create a backtrace in such a deadlock situation

Sorry, I should have mentioned that. In order to get backtrace you let the process freeze, attach gdb to it (it will freeze too), then go to /sys/fs/fuse/connections/ and find your fuse connection (it's most likely the one with non-zero value in "waiting" file). Then do "echo 1 > abort" and go back to gdb.

----------

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


More information about the Python-bugs-list mailing list