Closed
Bug 835785
Opened 12 years ago
Closed 12 years ago
Don't show additional dump names in about:crashes
Categories
(Toolkit :: Crash Reporting, defect)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: gfritzsche, Assigned: gfritzsche)
Details
Attachments
(1 file, 2 obsolete files)
|
2.34 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Since we changed how additional dumps are submitted, more then one dump per crash is shown per plugin hang in about:crashes.
E.g.:
7af96978-6b96-4966-bdd8-8ef4f0f4441e
7af96978-6b96-4966-bdd8-8ef4f0f4441e-browser
7af96978-6b96-4966-bdd8-8ef4f0f4441e-flash1
7af96978-6b96-4966-bdd8-8ef4f0f4441e-flash2
We should only show the "main" dump to avoid confusion.
| Assignee | ||
Comment 1•12 years ago
|
||
Sorry for all those CCs - i failed cloning another bug properly.
| Assignee | ||
Updated•12 years ago
|
Attachment #707585 -
Flags: review?(ted)
Comment 2•12 years ago
|
||
So uh, related note, if you click-to-submit the main dump from about:crashes, does it successfully submit all the other dumps at the same time?
| Assignee | ||
Comment 3•12 years ago
|
||
Yes, it did so independently of which of the entries you clicked.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → georg.fritzsche
Updated•12 years ago
|
Attachment #707585 -
Attachment is patch: true
Comment 4•12 years ago
|
||
Comment on attachment 707585 [details] [diff] [review]
Don't show additional dumps/reports
Review of attachment 707585 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/crashreporter/content/crashes.js
@@ +131,5 @@
> var file = entries.getNext().QueryInterface(Ci.nsIFile);
> var leaf = file.leafName;
> + var id = leaf.slice(0, -4);
> + if (leaf.substr(-4) == ".dmp" &&
> + ['browser', 'flash1', 'flash2'].indexOf(id.split('-').pop()) == -1) {
Hardcoding the dump types here kind of sucks. Can we instead just strip test if the length of the filename (minus extension) is greater than that of a UUID (with dashes included), and skip them in that case?
Attachment #707585 -
Flags: review?(ted)
| Assignee | ||
Comment 5•12 years ago
|
||
Right, sorry, i was rushing this one between other things :(
Alternative suggestion using a regex test.
Attachment #707585 -
Attachment is obsolete: true
Attachment #709035 -
Flags: review?(ted)
Updated•12 years ago
|
Attachment #709035 -
Flags: review?(ted) → review+
| Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Backed out for mochitest failures.
https://hg.mozilla.org/integration/mozilla-inbound/rev/01361f5fda96
https://tbpl.mozilla.org/php/getParsedLog.php?id=19412987&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | about:crashes lists correct number of crash reports - Got 1, expected 2
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | uncaught exception - TypeError: el is null at chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js:1201
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | Test timed out
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | Found a tab after previous test timed out: about:crashes
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser_aboutCrashesResubmit.js | about:crashes lists correct number of crash reports - Got 1, expected 2
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser_aboutCrashesResubmit.js | uncaught exception - TypeError: el is null at chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js:1201
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser_aboutCrashesResubmit.js | Test timed out
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/crashreporter/test/browser_aboutCrashesResubmit.js | Found a tab after previous test timed out: about:crashes
| Assignee | ||
Comment 8•12 years ago
|
||
Turns out there was a bug in the corresponding head.js (substring() returns the range [indexA,indexB)).
https://tbpl.mozilla.org/?tree=Try&rev=60de3873ca30
Attachment #709035 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 709730 [details] [diff] [review]
Don't show additional dumps/reports, v3
I'm not sure if that small change in head.js requires another review, so defaulting to requesting one.
Attachment #709730 -
Flags: review?(ted)
Comment 10•12 years ago
|
||
Comment on attachment 709730 [details] [diff] [review]
Don't show additional dumps/reports, v3
Review of attachment 709730 [details] [diff] [review]:
-----------------------------------------------------------------
I would have been fine with you just fixing that, but r=me.
Attachment #709730 -
Flags: review?(ted) → review+
| Assignee | ||
Comment 11•12 years ago
|
||
Thanks, noted for next time.
https://hg.mozilla.org/integration/mozilla-inbound/rev/8eb63dccfe41
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•