Closed Bug 1829108 Opened 2 years ago Closed 2 years ago

Remove Utility specific timeout

Categories

(Core :: IPC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

Attachments

(2 files, 2 obsolete files)

No description provided.
Attached file WIP: Bug 1829108 - Reproducer (obsolete) —

Trying to repro:

  • make BaseProcessLauncher::PerformAsyncLaunch() wait X ms before self->FinishLaunch()
  • make UtilityProcessHost::LaunchTimeout wait Y ms before calling a timeout
  • make sure Y << X (e.g. 1ms VS 500ms)
  • this should trigger LaunchTimeout
  • UtilityProcessManager::StartRemoteDecodingUtilityPromise rejection code should not think we are in shutdown
  • MOZ_LOG=timestamp,utilityproc:5 BUILD_DEBUG=1 ./mach test --headless dom/media/webaudio/test/test_decodeAudioDataPromise.html
  • Utility process should not have enough time to go through OnChannelConnect
Attachment #9329462 - Attachment is obsolete: true

From https://bugzilla.mozilla.org/show_bug.cgi?id=1827894#c12 there is no evidence we have any other problem here besides the system just taking several seconds to create the process.

Attachment #9329967 - Attachment is obsolete: true
Summary: Increase local timeout for Utility → Remove Utility specific timeout
Attachment #9331857 - Attachment description: WIP: Bug 1829108 - Remove Utility specific launch timeout and rely on IPC timeouts → Bug 1829108 - Remove Utility specific launch timeout and rely on IPC timeouts r?#ipc-reviewers!
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1fd3cc93a75d Remove Utility specific launch timeout and rely on IPC timeouts r=ipc-reviewers,nika https://hg.mozilla.org/integration/autoland/rev/f7e66a495369 Relax assertions on UtilityProcessManager r=ipc-reviewers,nika
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: