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 ronaldoussoren
Recipients ronaldoussoren
Date 2007-11-07.22:05:52
SpamBayes Score 0.31786764
Marked as misclassified No
Message-id <1194473152.44.0.739478133219.issue1402@psf.upfronthosting.co.za>
In-reply-to
Content
Py_Finalize cleans up the thread state by first calling _PyGILState_Fini 
and then calling PyInterpreterState_Clear. The latter can cause user 
code to run, which could use the GILState API and this then causes a 
crash.

The attached file 'threads.py' causes a crash on OSX leopard because of 
this issue. The script causes an exception to be set that has an 
attribute that uses the GILState API in its dealloc slot.
Files
File name Uploaded
threads.py ronaldoussoren, 2007-11-07.22:05:52
History
Date User Action Args
2007-11-07 22:05:52ronaldoussorensetspambayes_score: 0.317868 -> 0.31786764
recipients: + ronaldoussoren
2007-11-07 22:05:52ronaldoussorensetspambayes_score: 0.317868 -> 0.317868
messageid: <1194473152.44.0.739478133219.issue1402@psf.upfronthosting.co.za>
2007-11-07 22:05:52ronaldoussorenlinkissue1402 messages
2007-11-07 22:05:52ronaldoussorencreate