Closed Bug 1513022 Opened 2 years ago Closed 2 years ago

Crash in mozilla::gfx::VRProcessParent::Shutdown


(Core :: WebVR, defect)

Not set



Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 --- fixed
firefox66 --- fixed


(Reporter: jan, Assigned: daoshengmu)


(Blocks 1 open bug)


(Keywords: crash, nightly-community)

Crash Data


(1 file)

Debian Testing, gfx.webrender.all;true, layers.gpu-process.enabled;true, dom.vr.process.enabled;true

By opening WebRender (the GPU process) crashed, but it seems something VR-related would have crashed as well. Might it be related to bug 1512429?

bp-7c6fd4df-b8fe-432d-a15c-86b420181210 [@ webrender::frame_builder::FrameBuilder::build ]
bp-f8f0214b-62b7-4636-b751-74a390181210 [@ webrender::frame_builder::FrameBuilder::build ]
bp-6c0acfec-8d43-42fe-ad92-c572a0181210 [@ mozilla::gfx::VRProcessParent::Shutdown ]

This bug was filed from the Socorro interface and is
report bp-6c0acfec-8d43-42fe-ad92-c572a0181210.

Top 10 frames of crashing thread:

0 mozilla::gfx::VRProcessParent::Shutdown mfbt/UniquePtr.h:308
1 mozilla::gfx::VRProcessManager::OnXPCOMShutdown gfx/vr/ipc/VRProcessManager.cpp:69
2 mozilla::gfx::VRProcessManager::Observer::Observe gfx/vr/ipc/VRProcessManager.cpp:117
3 nsObserverService::NotifyObservers xpcom/ds/nsObserverList.cpp:66
4 mozilla::ShutdownXPCOM xpcom/build/XPCOMInit.cpp:851
5 ScopedXPCOMStartup::~ScopedXPCOMStartup toolkit/xre/nsAppRunner.cpp:1323
6 mozilla::UniquePtr<ScopedXPCOMStartup, mozilla::DefaultDelete<ScopedXPCOMStartup> >::reset mfbt/UniquePtr.h:486
7 XREMain::XRE_main mfbt/UniquePtr.h:296
8 XRE_main toolkit/xre/nsAppRunner.cpp:4845
9 firefox-bin do_main browser/app/nsBrowserApp.cpp:214

Component: Graphics → WebVR
We are not going to make dom.vr.process.enabled;true in Linux. We only wanna provide VR process in Windows.
See Also: → 1515938
We will hide dom.vr.process.enabled pref on other platforms to avoid to trigger unexpected behaviors.
Assignee: nobody → dmu
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Comment on attachment 9032985 [details]
Bug 1513022 - Only show dom.vr.process.enabled pref in Windows.

[Beta/Release Uplift Approval Request]

Feature/Bug causing the regression: Bug 1430038

User impact if declined: We don't expect user to enable this preference besides Windows platform, so I would like to hide this preference to avoid unexpected behavior, like crashes, at other platforms.

Is this code covered by automated tests?: Yes

Has the fix been verified in Nightly?: Yes

Needs manual test from QE?: No

If yes, steps to reproduce: 

List of other uplifts needed: None

Risk to taking this patch: Low

Why is the change risky/not risky? (and alternatives if risky): It only hides the preference, it will not change any functionalities.

String changes made/needed:
Attachment #9032985 - Flags: approval-mozilla-beta?
Blocks: 1515938
Comment on attachment 9032985 [details]
Bug 1513022 - Only show dom.vr.process.enabled pref in Windows.

[Triage Comment]
Hides a preference from non-Windows users so they don't set it and start crashing. Approved for 65.0b8.
Attachment #9032985 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.