Closed Bug 1334977 Opened 7 years ago Closed 7 years ago

[webvr] Crash in mozilla::gfx::VRSystemManagerOpenVR::ScanForControllers

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: daoshengmu, Assigned: daoshengmu)

References

Details

Crash Data

Attachments

(1 file)

Although I try to fix this crash at Bug 1334310, it still happen crash. I think it is because we set mVRSystem at GetHMDs() after making OpenVR is initialized. Therefore, we should check mVRSystem is nullptr at ScanForControllers() like before (https://reviewboard.mozilla.org/r/106786/diff/3#index_header).
Assignee: nobody → dmu
See Also: → 1334310
Crash Signature: @ mozilla::gfx::VRSystemManagerOpenVR::ScanForControllers
Crash Signature: @ mozilla::gfx::VRSystemManagerOpenVR::ScanForControllers → [@ mozilla::gfx::VRSystemManagerOpenVR::ScanForControllers ]
Comment on attachment 8831620 [details]
Bug 1334977 - Checking mVRSystem is not nullptr before scannibg OpenVR controllers;

https://reviewboard.mozilla.org/r/108170/#review109696

LGTM, Thanks!
Attachment #8831620 - Flags: review?(kgilbert) → review+
Pushed by dmu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/064f8ea8ee11
Checking mVRSystem is not nullptr before scannibg OpenVR controllers; r=kip
https://hg.mozilla.org/mozilla-central/rev/064f8ea8ee11
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: