cpython/Python
Tim Peters fb1ffb0ebb SF bug 1061968: threads: segfault or Py_FatalError at exit
PyGILState_Ensure():  The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673.  Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.

Alas, there's no useful test case for this shy bug.  Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box.  I've never been able to provoke it (but not for lack of
trying!).

This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673.  I don't intend to
backport this fix.  For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.
2004-11-08 04:30:21 +00:00
..
.cvsignore
atof.c
bltinmodule.c Patch #1015021: Stop claiming that coerce can return None. 2004-08-25 10:42:41 +00:00
ceval.c SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick 2004-10-11 02:40:51 +00:00
codecs.c Fix a couple of signed/unsigned comparison warnings 2004-07-08 01:55:58 +00:00
compile.c SF patch 1025636: Check for NULL returns in compile.c:com_import_stmt 2004-11-07 14:04:00 +00:00
dup2.c
dynload_aix.c
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c
dynload_shlib.c Print verbose messages to stderr. Fixes #1036752. 2004-10-03 08:51:35 +00:00
dynload_stub.c
dynload_win.c
errors.c
exceptions.c Stop producing or using OverflowWarning. PEP 237 thought this would 2004-08-25 02:14:08 +00:00
fmod.c
frozen.c
frozenmain.c
future.c SF patch #1007189, multi-line imports, for instance: 2004-08-31 10:07:13 +00:00
getargs.c Fix 2004-08-07 17:57:16 +00:00
getcompiler.c
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c SF patch #1007189, multi-line imports, for instance: 2004-08-31 10:07:13 +00:00
hypot.c
import.c SF patch #1035498: -m option to run a module as a script 2004-10-07 06:46:25 +00:00
importdl.c
importdl.h
mactoolboxglue.c SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core 2004-11-05 07:02:59 +00:00
marshal.c
memmove.c
modsupport.c This is Pete Shinners' patch from his bug report 2004-07-14 11:28:06 +00:00
mysnprintf.c
mystrtoul.c
pyfpe.c
pystate.c SF bug 1061968: threads: segfault or Py_FatalError at exit 2004-11-08 04:30:21 +00:00
pystrtod.c
pythonrun.c Patch #975056 - fixes for restartable signals on *BSD. In addition, 2004-10-13 14:48:50 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c
symtable.c
sysmodule.c This is my patch: 2004-08-12 18:19:17 +00:00
thread.c find_key(): This routine wasn't thread-correct, and accounts for the 2004-10-10 01:58:44 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c