|
From: Andreas K. <and...@us...> - 2008-03-07 22:42:47
|
Update of /cvsroot/tcl/tcl In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14507 Modified Files: ChangeLog Log Message: * generic/tclResult.c (ReleaseKeys): Workaround for [Bug 1904907]. Reset the return option keys to NULL to allow full re-initialization by GetKeys(). This introduces a memory leak for the key objects, but gets us around a crash in the finalization of reflected channels when handling returns, either at compile- or runtime. In both cases we access the keys after they have been released by their thread exit handler. A proper fix is entangled with the untangling of the finalization ordering and attendant issues. For now we choose the lesser evil. |