Closed Bug 1497787 Opened Last year Closed Last year

Crash at OpenVR VRCompositor::Submit() in MacOS

Categories

(Core :: WebVR, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: daoshengmu, Assigned: daoshengmu)

References

Details

Attachments

(1 file)

When `dom.vr.service;true` and `dom.vr.external;true`, we were trying to send MacIOSurface ptr at VR_SubmitFrame thread and use the ptr at VRSession thread. MacIOSurface ptr is not thread safe, we are only allowed to pass the MacIOSurface handle to other threads and access its ptr.
Assignee: nobody → dmu
Blocks: 1484076
MozReview-Commit-ID: FmWOuctM3yH
Pushed by dmu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/994a0ec3420f
MacIOSurface should only be access at VRSession thread. r=kip
https://hg.mozilla.org/mozilla-central/rev/994a0ec3420f
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
See Also: → 1498789
You need to log in before you can comment on or make changes to this bug.