Closed Bug 1067633 Opened 9 years ago Closed 1 year ago
Child::Quick Exit() should not gently fail in debug builds
QuickExit() is used in a bunch of places. Only one of those places, the early exit in non-debug builds, is normal. The rest of the places are places where we've gotten an error we've decided is so bad we need to immediately kill the process. The problem is that because QuickExit() is very gentle, only doing an NS_WARNING() followed by an _exit(0), there's no noticeable indication of this on automation, so there are a ton of reasons we QuickExit() in a normal run. Eventually, I'd like to get leak log checking re-enabled, so that we error out if we fail to produce one, which will notice these failures, but it seems like we should actually fail in a way that will give us information about what went wrong, with an assert plus an exit(-1) or something.
I'm pushing ahead with an alternate plan to get leak checking working, bug 1091766, but this would still be good to do to be able to detect places that may be behaving badly when they run after shutdown.
No longer blocks: 1051230
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S4
Type: defect → task
Priority: P5 → P3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.