Changeset 177722 in webkit
- Timestamp:
- Dec 24, 2014 12:34:55 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r177718 r177722 1 2014-12-23 Alexey Proskuryakov <ap@apple.com> 2 3 DumpRenderTree crashes are mis-reported as timeouts on Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=139933 5 6 Reviewed by Daniel Bates. 7 8 Crash logs take a very long time to be generated on Yosemite (rdar://problem/18701447), 9 and there is no way for run-webkit-tests to tell a crashed process from a frozen one 10 until ReportCrash lets it go. 11 12 Reuse existing machinery that tells run-webkit-tests about crashes. The script may 13 even get the actual crash log eventually - even when it times out waiting for the log, it 14 makes a second lookup at the very end, after all tests finish. There may be further 15 improvements needed here, but this small fix addresses most cases that happen in practice. 16 17 * DumpRenderTree/mac/DumpRenderTree.mm: 18 (writeCrashedMessageOnFatalError): 19 (dumpRenderTree): 20 Removed PLATFORM(IOS) ifdefs, this code is just as helpful on Mac. 21 22 * Scripts/webkitpy/port/driver.py: (Driver._check_for_driver_crash): Removed an 23 unhelpful comment. 24 1 25 2014-12-23 Alexey Proskuryakov <ap@apple.com> 2 26 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r177363 r177722 1122 1122 } 1123 1123 1124 #if PLATFORM(IOS)1125 1124 const char crashedMessage[] = "#CRASHED\n"; 1126 1125 … … 1135 1134 fsync(STDERR_FILENO); 1136 1135 } 1137 #endif1138 1136 1139 1137 void dumpRenderTree(int argc, const char *argv[]) … … 1151 1149 int errfd = open(stderrPath, O_RDWR | O_NONBLOCK); 1152 1150 dup2(errfd, STDERR_FILENO); 1151 #endif 1153 1152 1154 1153 signal(SIGILL, &writeCrashedMessageOnFatalError); … … 1156 1155 signal(SIGBUS, &writeCrashedMessageOnFatalError); 1157 1156 signal(SIGSEGV, &writeCrashedMessageOnFatalError); 1158 #endif1159 1157 1160 1158 initializeGlobalsFromCommandLineOptions(argc, argv); -
trunk/Tools/Scripts/webkitpy/port/driver.py
r177471 r177722 375 375 def _check_for_driver_crash(self, error_line): 376 376 if error_line == "#CRASHED\n": 377 # This is used on Windows and iOS to report that the process has crashed378 # See http://trac.webkit.org/changeset/65537.379 377 self._crashed_process_name = self._server_process.name() 380 378 self._crashed_pid = self._server_process.pid()
Note: See TracChangeset
for help on using the changeset viewer.