Closed Bug 1615921 Opened 5 years ago Closed 5 years ago

Advance the toolkit.shutdown.lateWriteChecksStage pref to before xpcom-shutdown-threads

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: alexical, Assigned: alexical)

References

Details

(Whiteboard: [fxperf:p2])

Attachments

(3 files)

We should be able to move this value forward at this point. It's not clear that anything will show up past this point, so it would be good to confirm that or observe in the wild that there is nothing.

This moves the late write checking forward to before xpcom-shutdown-threads
in Nightly, and it turns it on for after the last cycle collection on
beta/release.

We are intending to advance the toolkit.shutdown.lateWriteChecksStage
pref, to collect information (and crash on DEBUG) about writes which
happen during and after the xpcom-shutdown-threads notification. This
is producing failures in the PrintTargetPDF.cpp destructor because
we end up calling write_func and writing to (I presume) the target
PDF. This feels like something we can just skip, so that's the
review request I am sending, but please let me know if it's critical
that we write to this file during shutdown.

Depends on D63216

Keywords: leave-open
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c7f36f4ae89 Suspend late write checks in Windows vprintf_stderr r=froydnj
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3817b1074f5c Move lateWriteChecks earlier in shutdown r=froydnj https://hg.mozilla.org/integration/autoland/rev/edf46a901a6b Skip writing to pdf file if shutting down r=jwatt
Whiteboard: [fxperf] → [fxperf:p2]
Keywords: leave-open
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: