Open Bug 1678591 Opened 4 years ago Updated 3 years ago

Install the exception handler early during firefox(.exe) startup

Categories

(Toolkit :: Crash Reporting, enhancement)

enhancement

Tracking

()

People

(Reporter: gsvelto, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Currently Breakpad's exception handler is installed only sometimes after we load libxul, well into XPCOM initialization. This is because some of our crash infrastructure depends on XPCOM. This means that we rarely capture early crashes in libxul/XPCOM initialization and we simply cannot capture crashes happening in the firefox binary.

However the dependency on XPCOM can be broken once we move out minidump writing to an external crash monitor program. Once the crash monitor is completed we should move the exception handler into firefox.exe so that we can capture all crashes irrespective of when they happen. Because of the XPCOM dependency we disable the exception handler before firefox quits which also causes us to lose crashes. We should remove that too letting the exception handler be active for the entire lifetime of Firefox and close the crash monitor only after it has quit.

You need to log in before you can comment on or make changes to this bug.