This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brian.curtin, loewis, marcin.bachry, nikratio, pitrou, theller
Date 2010-01-20.11:11:39
SpamBayes Score 4.3817625e-05
Marked as misclassified No
Message-id <1263985902.49.0.634528444266.issue7736@psf.upfronthosting.co.za>
In-reply-to
Content
Releasing the GIL when calling C library functions (e.g. opendir()) is not a requirement, it's just an optimization for slightly better multi-threading. Also, as shown in the backtrace, PyGILState_Ensure() is called which should only try to acquire the GIL if it isn't already held by the current thread; that is, it is designed to avoid the deadlock you are witnessing.

So, I would suggest the problem lies somewhere else. Does FUSE implicitly do a fork() of the current process? It's not obvious how the example shown here works.
History
Date User Action Args
2010-01-20 11:11:42pitrousetrecipients: + pitrou, loewis, theller, marcin.bachry, brian.curtin, nikratio
2010-01-20 11:11:42pitrousetmessageid: <1263985902.49.0.634528444266.issue7736@psf.upfronthosting.co.za>
2010-01-20 11:11:40pitroulinkissue7736 messages
2010-01-20 11:11:40pitroucreate