Closed Bug 1297843 Opened 8 years ago Closed 8 years ago

Add crash service support for the GPU process

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dvander, Assigned: dvander)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

When the GPU process crashes, we should have a doorhanger/notification like content does so the user can submit a crash report. We also need to make sure Socorro will recognize these crash reports.

Note: We can't (easily) use PCrashReporter in the GPU process because its Parent/Child relationship is inverted with respect to GPUChild/GPUParent. That's why this is blocked on bug 1278717.
Whiteboard: [gfx-noted]
Attached patch patch (deleted) — Splinter Review
This builds on bug 1278717 (which adds support for taking minidumps+metadata) and also adds crash service support. I don't know this code very well so I'm not sure what else might need to be done.
Assignee: nobody → dvander
Status: NEW → ASSIGNED
Attachment #8797942 - Flags: review?(gfritzsche)
Note: going to file a separate bug for UI.
Summary: Enable crash reporting in the GPU process → Add crash service support for the GPU process
Comment on attachment 8797942 [details] [diff] [review]
patch

I don't think i have good context for the crash reporting service right now, although i can try to review as a fallback.

Ted, are you still actively reviewing for this?
Attachment #8797942 - Flags: review?(gfritzsche) → review?(ted)
David, heads-up for those new crash types coming up. This might be relevant to your teams work.
Flags: needinfo?(ddurst)
Comment on attachment 8797942 [details] [diff] [review]
patch

Review of attachment 8797942 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/components/crashes/nsICrashService.idl
@@ +22,5 @@
>    const long PROCESS_TYPE_MAIN = 0;
>    const long PROCESS_TYPE_CONTENT = 1;
>    const long PROCESS_TYPE_PLUGIN = 2;
>    const long PROCESS_TYPE_GMPLUGIN = 3;
> +  const long PROCESS_TYPE_GPU = 4;

It might be time to put an explanatory comment above each of these...
Attachment #8797942 - Flags: review?(ted) → review+
Blocks: 1310716
Bleh. I had checked this in under the wrong bug #. Should be:

https://hg.mozilla.org/mozilla-central/rev/c8183800343e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 1352496
Flags: needinfo?(ddurst)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: