Files
cpython/Python
Gregory P. Smith 2778c999e3 Provide a sanity check during PyThreadState_DeleteCurrent() and
PyThreadState_Delete() to avoid an infinite loop when the tstate list
is messed up and has somehow becomes circular and does not contain the
current thread.

I don't know how this happens but it does, *very* rarely.  On more than
one hardware platform.  I have not been able to reproduce it manually.

Attaching to a process where its happening: it has always been in an
infinite loop over a single element tstate list that is not the tstate
we're looking to delete.  It has been in t_bootstrap()'s call to
PyThreadState_DeleteCurrent() as a pthread is exiting.
2008-01-21 07:11:11 +00:00
..
2006-04-13 13:08:58 +00:00
2007-12-20 01:25:05 +00:00
2008-01-07 16:41:57 +00:00
2002-12-30 22:08:05 +00:00
2005-07-09 15:26:33 +00:00
2008-01-18 08:47:59 +00:00