Title: [139736] trunk/Tools
Revision
139736
Author
[email protected]
Date
2013-01-15 07:10:14 -0800 (Tue, 15 Jan 2013)

Log Message

[GTK] Limit the number of frames printed out when backtracing with gdb
https://bugs.webkit.org/show_bug.cgi?id=106901

Reviewed by Philippe Normand.

Printing an unlimited number of frames when dumping the gdb backtracing
output can cause timeouts in the builders. This patch limits the number
of frames that are printed out to 1024.

* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort._get_gdb_output):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (139735 => 139736)


--- trunk/Tools/ChangeLog	2013-01-15 13:49:57 UTC (rev 139735)
+++ trunk/Tools/ChangeLog	2013-01-15 15:10:14 UTC (rev 139736)
@@ -1,3 +1,17 @@
+2013-01-15  Zan Dobersek  <[email protected]>
+
+        [GTK] Limit the number of frames printed out when backtracing with gdb
+        https://bugs.webkit.org/show_bug.cgi?id=106901
+
+        Reviewed by Philippe Normand.
+
+        Printing an unlimited number of frames when dumping the gdb backtracing
+        output can cause timeouts in the builders. This patch limits the number
+        of frames that are printed out to 1024.
+
+        * Scripts/webkitpy/layout_tests/port/gtk.py:
+        (GtkPort._get_gdb_output):
+
 2013-01-15  Andras Becsi  <[email protected]>
 
         [Qt] Fix ImageDiff's image format conversion

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py (139735 => 139736)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py	2013-01-15 13:49:57 UTC (rev 139735)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py	2013-01-15 15:10:14 UTC (rev 139736)
@@ -125,7 +125,7 @@
         self._run_script("run-launcher", run_launcher_args)
 
     def _get_gdb_output(self, coredump_path):
-        cmd = ['gdb', '-ex', 'thread apply all bt', '--batch', str(self._path_to_driver()), coredump_path]
+        cmd = ['gdb', '-ex', 'thread apply all bt 1024', '--batch', str(self._path_to_driver()), coredump_path]
         proc = subprocess.Popen(cmd, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         proc.wait()
         errors = [l.strip().decode('utf8', 'ignore') for l in proc.stderr.readlines()]
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to