Closed
Bug 1262536
Opened 9 years ago
Closed 9 years ago
Pass dump success status to GeckoCrashReporter
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: snorp, Assigned: droeh)
Details
Attachments
(1 file)
11.04 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
It looks like nsExceptionHandler::MinidumpCallback() gets an argument indicating whether or not the dump was successful or not. We should pass this state on to GeckoCrashReporter in the intent so we can know the dump failed or if we are just failing to submit the dump there.
[0] https://dxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/nsExceptionHandler.cpp?case=true&from=nsExceptionHandler.cpp#783
Reporter | ||
Comment 1•9 years ago
|
||
Looks like the 'success' argument is derived from the exit code of the dump process[0], which I think should be a pretty good indicator.
[0] https://dxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc#567
Reporter | ||
Comment 2•9 years ago
|
||
It might also be useful to log the exit code so it shows up in any submitted logcats.
Assignee | ||
Comment 3•9 years ago
|
||
This passes the success/failure status to CrashReporter as an extra boolean, and CrashReporter adds it to the report and outputs a logcat message if the minidump is unsuccessful.
Attachment #8753571 -
Flags: review?(snorp)
Reporter | ||
Updated•9 years ago
|
Attachment #8753571 -
Flags: review?(snorp) → review+
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•