A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-November/075295.html below:

[Python-Dev] A crash during interpreter cleanup when using PyGILState APIs

[Python-Dev] A crash during interpreter cleanup when using PyGILState APIs [Python-Dev] A crash during interpreter cleanup when using PyGILState APIsRonald Oussoren ronaldoussoren at mac.com
Thu Nov 22 11:57:20 CET 2007
An extension module I use makes extensive use of the PyGILState API's  
in callback functions for C APIs. Some of the functions that use the  
PyGILState APIs are used in the tp_dealloc of methods. This seems  
cause problems when objects are cleaned up during interpreter  
shutdown: when an object is deallocated during  
PyInterpreterState_Clear I get a hard crash because the GILState  
machinery has been shut down at that time :-(

The bug report for this: http://bugs.python.org/issue1402

The report includes a patch, but I know just enough about the python  
threading infrastructure to be dangerous and am not convinced that the  
patch is actually correct.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20071122/bc28c457/attachment.bin 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4