Closed Bug 1682516 Opened 3 years ago Closed 3 years ago

Make the WER runtime exception module launch the crash reporter client when the browser crashes

Categories

(Toolkit :: Crash Reporting, task)

Unspecified
Windows
task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(2 files)

Givent that the WER runtime exception module should catch crashes that aren't caught by Breakpad's exception handler it will need to launch the crash reporter client on its own when the browser process crashes. The module will need to write out an event file including as much metadata information as possible like we do here. It will then need to launch the crash report client.

Depending on which process is used to invoke the module's callbacks it might also have to set the environment variables used to instruct the crash reporter client about what to do.

Blocks: 1682520
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED

I'm facing an odd problem in this bug: I wrote the code that launches the crash reporter and it works fine. The crash reporter client launches correctly, identifies the minidump and processes it, etc... However when it comes to submitting the crash report I get a DNS failure even though the URL is correct. So I was wondering if there were some permissions associated to Windows processes that could prevent one from making network requests. My process is launched from the WER service so maybe it inherits a limited set of permissions?

Flags: needinfo?(bobowencode)

Nevermind, I figured out what was wrong: I was launching the new process with an empty environment and apparently that's what was causing the problem. With a properly filled up environment everything is fine.

Flags: needinfo?(bobowencode)
Attachment #9210764 - Attachment description: Bug 1682516 - Launch the crash reporter client after having captured a minidump with the WER runtime exception module r=bobowen → Bug 1682516 - Launch the crash reporter client after having captured a minidump with the WER runtime exception module r=KrisWright
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c924308a0dcf
Launch the crash reporter client after having captured a minidump with the WER runtime exception module r=KrisWright
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4082e0963c98
Fix resizing the crash reporter client window when the URL field is not present r=bobowen
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: