• Gregory P. Smith's avatar
    Provide a sanity check during PyThreadState_DeleteCurrent() and · 2778c999
    Gregory P. Smith yazdı
    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.
    2778c999
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...