Title: [124327] trunk/Tools
Revision
124327
Author
[email protected]
Date
2012-08-01 05:23:39 -0700 (Wed, 01 Aug 2012)

Log Message

[EFL] Dump a backtrace in case of a crash on the UIProcess
https://bugs.webkit.org/show_bug.cgi?id=92843

Patch by Thiago Marcos P. Santos <[email protected]> on 2012-08-01
Reviewed by Csaba Osztrogonác.

We are already dumping the backtraces when automated tests are
crashing, but only for the WebProcess. This patch adds the same
hooks for the UIProcess.

* TestWebKitAPI/efl/main.cpp:
(main):
* WebKitTestRunner/efl/main.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (124326 => 124327)


--- trunk/Tools/ChangeLog	2012-08-01 12:03:09 UTC (rev 124326)
+++ trunk/Tools/ChangeLog	2012-08-01 12:23:39 UTC (rev 124327)
@@ -1,3 +1,19 @@
+2012-08-01  Thiago Marcos P. Santos  <[email protected]>
+
+        [EFL] Dump a backtrace in case of a crash on the UIProcess
+        https://bugs.webkit.org/show_bug.cgi?id=92843
+
+        Reviewed by Csaba Osztrogonác.
+
+        We are already dumping the backtraces when automated tests are
+        crashing, but only for the WebProcess. This patch adds the same
+        hooks for the UIProcess.
+
+        * TestWebKitAPI/efl/main.cpp:
+        (main):
+        * WebKitTestRunner/efl/main.cpp:
+        (main):
+
 2012-08-01  Adam Barth  <[email protected]>
 
         [Chromium] Merge final nits to DumpRenderTree.gyp for Android

Modified: trunk/Tools/TestWebKitAPI/efl/main.cpp (124326 => 124327)


--- trunk/Tools/TestWebKitAPI/efl/main.cpp	2012-08-01 12:03:09 UTC (rev 124326)
+++ trunk/Tools/TestWebKitAPI/efl/main.cpp	2012-08-01 12:23:39 UTC (rev 124327)
@@ -29,6 +29,7 @@
 #include <Ecore.h>
 #include <Eina.h>
 #include <getopt.h>
+#include <wtf/Assertions.h>
 
 bool useX11Window = false;
 
@@ -48,6 +49,8 @@
 
 int main(int argc, char** argv)
 {
+    WTFInstallReportBacktraceOnCrashHook();
+
     if (!eina_init())
         return EXIT_FAILURE;
 

Modified: trunk/Tools/WebKitTestRunner/efl/main.cpp (124326 => 124327)


--- trunk/Tools/WebKitTestRunner/efl/main.cpp	2012-08-01 12:03:09 UTC (rev 124326)
+++ trunk/Tools/WebKitTestRunner/efl/main.cpp	2012-08-01 12:23:39 UTC (rev 124327)
@@ -21,6 +21,7 @@
 
 #include "EWebKit2.h"
 #include "TestController.h"
+#include <wtf/Assertions.h>
 
 #ifdef HAVE_ECORE_X
 #include <Ecore_X.h>
@@ -28,6 +29,8 @@
 
 int main(int argc, char** argv)
 {
+    WTFInstallReportBacktraceOnCrashHook();
+
     if (!ewk_init())
         return 1;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to