Closed Bug 1709019 Opened 3 years ago Closed 2 years ago

Report shutdown phases in case of hang during late shutdown

Categories

(Toolkit :: Async Tooling, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1766572

People

(Reporter: jstutte, Unassigned)

References

Details

Attachments

(1 obsolete file)

We currently report the last entered shutdown phase only if !sShutdownNotified, otherwise we report a generic Shutdown hanging after all known phases and workers finished..

But after mozilla::XPCOMShutdownNotified(); there is still quite some way to go and we even advance to mozilla::ShutdownPhase::XPCOMShutdownThreads afterwards, with no effect on the reporting.

Given some recent spikes in late shutdown hangs (bug 1684441, bug 1358898) we want to be able to monitor also late shutdown and maybe even add some more phases to late shutdown.

Blocks: 1684441
Assignee: nobody → jstutte
No longer blocks: 1684441
Blocks: 1684441
Attachment #9219787 - Attachment description: WIP: Bug 1709019: Make sure that late shutdown phases are reported if hanging. → Bug 1709019: Make sure that late shutdown phases are reported if hanging. r?#xpcom-reviewers,dthayer
Severity: -- → S4
Status: NEW → ASSIGNED
Priority: -- → P3
Attachment #9219787 - Attachment description: Bug 1709019: Make sure that late shutdown phases are reported if hanging. r?#xpcom-reviewers,dthayer → WIP: Bug 1709019: Make sure that late shutdown phases are reported if hanging. wip?#xpcom-reviewers,dthayer

There is a patch now on bug 1766572 that will guarantee this.

Assignee: jstutte → nobody
Status: ASSIGNED → NEW
Depends on: 1766572
Attachment #9219787 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: