PATCH: Robustify executable.py

Mark Mitchell mark at codesourcery.com
Thu Jul 21 04:55:54 UTC 2005


This patch fixes a bug in TimeoutExecutable; in particular, when os.fork 
threw an exception, TimeoutExecutable still tried to kill the child 
process.

This situation showed up for me on Cygwin, where, for some reason, 
calling os.fork results in:

C:\cygwin\bin\python2.4.exe (3076): *** unable to remap 
C:\cygwin\bin\cygssl-0.9.7.dll to same address as parent(0x18CA0000) != 
0x18CB0000

Does anyone know how to avoid this problem?

Committed.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: executable.patch
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20050720/44ca76b5/attachment.ksh>


More information about the qmtest mailing list