Title: [146651] trunk/Source/WebCore
Revision
146651
Author
[email protected]
Date
2013-03-22 13:36:05 -0700 (Fri, 22 Mar 2013)

Log Message

Unreviewed. Force kill gcc-3.exe during bindings generation tests to avoid process hangs.

This problem is occuring on the WinEWS bots where there are somehow multiple gcc-3 processes existing at the same time.
This is a speculative fix. There should only be 1 gcc-3.exe process running at a time ever.

* bindings/scripts/preprocessor.pm:
(applyPreprocessor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (146650 => 146651)


--- trunk/Source/WebCore/ChangeLog	2013-03-22 20:34:53 UTC (rev 146650)
+++ trunk/Source/WebCore/ChangeLog	2013-03-22 20:36:05 UTC (rev 146651)
@@ -1,3 +1,13 @@
+2013-03-22  Roger Fong  <[email protected]>
+
+        Unreviewed. Force kill gcc-3.exe during bindings generation tests to avoid process hangs.
+
+        This problem is occuring on the WinEWS bots where there are somehow multiple gcc-3 processes existing at the same time.
+        This is a speculative fix. There should only be 1 gcc-3.exe process running at a time ever.
+
+        * bindings/scripts/preprocessor.pm:
+        (applyPreprocessor):
+
 2013-03-22  Eric Carlson  <[email protected]>
 
         Cleanup text track selection logic

Modified: trunk/Source/WebCore/bindings/scripts/preprocessor.pm (146650 => 146651)


--- trunk/Source/WebCore/bindings/scripts/preprocessor.pm	2013-03-22 20:34:53 UTC (rev 146650)
+++ trunk/Source/WebCore/bindings/scripts/preprocessor.pm	2013-03-22 20:36:05 UTC (rev 146651)
@@ -66,6 +66,7 @@
     if ($Config{osname} eq "cygwin" || $Config{osname} eq 'MSWin32') {
         # This call can fail if Windows rebases cygwin, so retry a few times until it succeeds.
         for (my $tries = 0; !$pid && ($tries < 20); $tries++) {
+            system("TASKKILL /F /T /IM gcc-3.exe>nul 2>&1");
             eval {
                 # Suppress STDERR so that if we're using cl.exe, the output
                 # name isn't needlessly echoed.
@@ -73,6 +74,7 @@
                 $pid = open3(\*PP_IN, \*PP_OUT, $err, split(' ', $preprocessor), @args, @macros, $fileName);
                 1;
             } or do {
+                print "Failed GCC attempt";
                 sleep 1;
             }
         };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to