Title: [116769] trunk/Tools
- Revision
- 116769
- Author
- ph...@webkit.org
- Date
- 2012-05-11 08:23:49 -0700 (Fri, 11 May 2012)
Log Message
Unreviewed, GTK 64-bit Debug bot fix attempt.
* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort._get_gdb_output): Ignore unicode decoding errors when
processing gdb output.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (116768 => 116769)
--- trunk/Tools/ChangeLog 2012-05-11 15:05:42 UTC (rev 116768)
+++ trunk/Tools/ChangeLog 2012-05-11 15:23:49 UTC (rev 116769)
@@ -1,3 +1,11 @@
+2012-05-11 Philippe Normand <pnorm...@igalia.com>
+
+ Unreviewed, GTK 64-bit Debug bot fix attempt.
+
+ * Scripts/webkitpy/layout_tests/port/gtk.py:
+ (GtkPort._get_gdb_output): Ignore unicode decoding errors when
+ processing gdb output.
+
2012-05-11 Gustavo Noronha Silva <g...@gnome.org>
REGRESSION(r116205): [GTK]: build no longer supports thin archives
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py (116768 => 116769)
--- trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2012-05-11 15:05:42 UTC (rev 116768)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2012-05-11 15:23:49 UTC (rev 116769)
@@ -125,8 +125,9 @@
cmd = ['gdb', '-ex', 'thread apply all bt', '--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() for l in proc.stderr.readlines()]
- return (proc.stdout.read(), errors)
+ errors = [l.strip().decode('utf8', 'ignore') for l in proc.stderr.readlines()]
+ trace = proc.stdout.read().decode('utf8', 'ignore')
+ return (trace, errors)
def _get_crash_log(self, name, pid, stdout, stderr, newer_than):
pid_representation = str(pid or '<unknown>')
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes