ReferencePlatforms/Win32: Difference between revisions

Jump to navigation Jump to search
→‎Version 10: Twisted patch for process killing
(→‎Version 10: Twisted patch for process killing)
Line 254: Line 254:
In version 9, we accidentally set  
In version 9, we accidentally set  
   HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting
   HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting
to hexidecimal 10 instead of 1.
to hexidecimal 10 instead of 1. Not clear if this will fix {{bug|453260}}.


=== Setup environment vars ===
=== Setup environment vars ===
Line 262: Line 262:
** set MOZ_NO_RESET_PATH=1
** set MOZ_NO_RESET_PATH=1


=== Downgrade twisted and apply process group patch ===
To fix a long running saga with win32 machines not recovering when an executable dies, we downgrade Twisted to version 2.5.0 and patch _dumbwin32proc.py so that twisted (and hence buildbot) can kill process groups properly.
rm -rfv /d/mozilla-build/python25/Lib/site-packages/{twisted/,Twisted-8.0.1-py2.5.egg-info/,zope/} /d/mozilla-build/python25/scripts/twistd*
wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted_NoDocs-2.5.0.win32-py2.5.exe
./Twisted_NoDocs-2.5.0.win32-py2.5.exe
cd /d/mozilla-build/python25/Lib/site-packages/twisted/internet/
wget -O patch "http://twistedmatrix.com/trac/attachment/ticket/2726/_dumbwin32proc.patch?format=raw"
patch -p8 < patch


= Manual Setup Steps after VMImage =
= Manual Setup Steps after VMImage =
Confirmed users
4,293

edits

Navigation menu