Open Bug 1711641 Opened 5 years ago Updated 1 year ago

Reintroduce the MemoryErrorCorrection annotation by moving its detection to a separate process

Categories

(Toolkit :: Startup and Profile System, enhancement)

enhancement

Tracking

()

People

(Reporter: gsvelto, Unassigned)

References

(Depends on 1 open bug)

Details

Restore the MemoryErrorCorrection annotation we removed in bug 1710152 by moving the detection logic in a separate process that gets lazily spawned only when we need the info instead of greedily at startup. That would mean doing it either from the crash reporter client (for main process crashes) or from Firefox itself but only after we encounter a child process crash.

Note that we already have something similar for detecting OpenGL features on Linux. We might consider generalizing this mechanism into a single tool used to query stuff that we don't want to do at startup and in particular that we don't want to do in Firefox' main process because it can be crash-happy.

This is something we could do in the crash reporter client and - even better - in the OOP crash reporter once that's also working.

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