Closed Bug 1522576 Opened 10 months ago Closed 9 months ago

Firefox will be hanged after VR process is killed

Categories

(Core :: WebVR, defect)

Unspecified
Windows
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: daoshengmu, Unassigned)

References

Details

Reproduce steps:

  1. Open FF and visit https://webvr.info/samples/04-simple-mirroring.html
  2. Kill VR process in Process Explorer.

We will see the Firefox be hanged after VR process is killed. The current workaround is calling VRManager->Destroy(); (https://searchfox.org/mozilla-central/rev/c035ee7d3a5cd6913e7143e1bce549ffb4a566ff/gfx/ipc/GPUParent.cpp#465). However, it also makes a side effect that will cause the GPU process be shutdown and relaunch.

Blocks: 1476092
Depends on: 1522358

Per [1], one possible fixing approach is making VRManager::RunTasks() to be a cancelableTask. When we decide to destroy VR manager, we will cancel the current task.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1522358#c0

We fixed it at Bug 1523923.

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.