Closed Bug 1262536 Opened 9 years ago Closed 9 years ago

Pass dump success status to GeckoCrashReporter

Categories

(Firefox for Android Graveyard :: General, defect)

45 Branch
defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
Firefox 49
Tracking Status
firefox49 --- fixed

People

(Reporter: snorp, Assigned: droeh)

Details

Attachments

(1 file)

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
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
It might also be useful to log the exit code so it shows up in any submitted logcats.
Attached patch Proposed patchSplinter Review
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)
Attachment #8753571 - Flags: review?(snorp) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: