iOS DumpRenderTree records most crashes as time outs because ReportCrash(8) delays the exit notification to LayoutTestRelay past the run-webkit-tests time-out time limit. We should use a similar approach as used in the patch for bug #37859 and write "#CRASHED" to the standard error stream when DumpRenderTree.app receives a signal for a fatal error (e.g. SIGSEGV). Then run-webkit-tests script will mark the test as crashing when it reads "#CRASHED" from the standard error stream.
Created attachment 242332 [details] Patch
Comment on attachment 242332 [details] Patch r=me
Comment on attachment 242332 [details] Patch Clearing flags on attachment: 242332 Committed r176669: <http://trac.webkit.org/changeset/176669>
All reviewed patches have been landed. Closing bug.
We probably need this fix on Mac too, and also in WebKitTestRunner on both platforms. On Mac, ReportCrash usually finishes before run-webkit-tests decides that it was a timeout, but not on Yosemite. WebKit2 is less affected, because we do print #CRASHED for WebProcess crashes - but UI process has the same problem.