WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
72526
REGRESSION (NRWT): WebKitTestRunner crash log gets saved when web process crashes, but WebProcess crash log should get saved instead
https://bugs.webkit.org/show_bug.cgi?id=72526
Summary
REGRESSION (NRWT): WebKitTestRunner crash log gets saved when web process cra...
Adam Roben (:aroben)
Reported
2011-11-16 11:03:53 PST
When the web process crashes, NRWT saves a WebKitTestRunner crash log. But it needs to save a WebProcess crash log instead! (ORWT handled this case correctly.)
Attachments
Make NRWT find crash logs for the crashed process, which may not necessarily be the driver process
(10.71 KB, patch)
2011-11-17 08:01 PST
,
Adam Roben (:aroben)
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2011-11-16 11:12:48 PST
Here's an example:
http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r100464%20(1808)/results.html
All those crashes are actually assertions in the web process (which you can see here: <
http://build.webkit.org/builders/Lion%20Intel%20Debug%20%28WebKit2%20Tests%29/builds/1808/steps/layout-test/logs/stdio
>). But the wrong crash log has gotten uploaded.
Eric Seidel (no email)
Comment 2
2011-11-16 11:13:39 PST
I explicitly wrote the code to do this... at one point it worked. So clearly something broke or I failed to unittest correctly. Will investigate.
Adam Roben (:aroben)
Comment 3
2011-11-16 12:01:02 PST
Looks like we do save the crashed process name:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/driver.py?rev=100374#L52
…but then always look for crash logs matching the driver name, not the crashed process name:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py?rev=100374#L165
Adam Roben (:aroben)
Comment 4
2011-11-17 08:01:30 PST
Created
attachment 115591
[details]
Make NRWT find crash logs for the crashed process, which may not necessarily be the driver process
Eric Seidel (no email)
Comment 5
2011-11-17 11:12:40 PST
Comment on
attachment 115591
[details]
Make NRWT find crash logs for the crashed process, which may not necessarily be the driver process OK. so it looks like when I finally landed or re-landed the --leaks dff, it must have failed to apply and I never noticed due to insuffcient testing. Thank you for fixing!
Adam Roben (:aroben)
Comment 6
2011-11-17 11:18:14 PST
Committed
r100648
: <
http://trac.webkit.org/changeset/100648
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug