Title: [274418] trunk/Tools
- Revision
- 274418
- Author
- [email protected]
- Date
- 2021-03-15 06:15:44 -0700 (Mon, 15 Mar 2021)
Log Message
[GLIB] Filter cppfilt output when generating crash logs
https://bugs.webkit.org/show_bug.cgi?id=223171
Reviewed by Carlos Garcia Campos.
Like the output from other external commands, the output of cppfilt
must also be decoded.
This should fix the early exits due to unicode exceptions when
running the GTK4 bot layout tests.
* Scripts/webkitpy/port/linux_get_crash_log.py:
(GDBCrashLogGenerator.generate_crash_log): Decode cppfilt output.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (274417 => 274418)
--- trunk/Tools/ChangeLog 2021-03-15 13:15:05 UTC (rev 274417)
+++ trunk/Tools/ChangeLog 2021-03-15 13:15:44 UTC (rev 274418)
@@ -1,3 +1,19 @@
+2021-03-15 Lauro Moura <[email protected]>
+
+ [GLIB] Filter cppfilt output when generating crash logs
+ https://bugs.webkit.org/show_bug.cgi?id=223171
+
+ Reviewed by Carlos Garcia Campos.
+
+ Like the output from other external commands, the output of cppfilt
+ must also be decoded.
+
+ This should fix the early exits due to unicode exceptions when
+ running the GTK4 bot layout tests.
+
+ * Scripts/webkitpy/port/linux_get_crash_log.py:
+ (GDBCrashLogGenerator.generate_crash_log): Decode cppfilt output.
+
2021-03-14 Fujii Hironori <[email protected]>
[Win][WK1] Add a new API IWebPreferences::startBatchingUpdates to defer WebPreferencesChangedNotification
Modified: trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py (274417 => 274418)
--- trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py 2021-03-15 13:15:05 UTC (rev 274417)
+++ trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py 2021-03-15 13:15:44 UTC (rev 274418)
@@ -161,6 +161,7 @@
cppfilt_proc = self._executive.popen(
['c++filt'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
errors_str = cppfilt_proc.communicate(string_utils.encode(errors_str))[0]
+ errors_str = string_utils.decode(errors_str, errors='ignore')
if not crash_log:
if not log_directory:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes