Closed Bug 1248761 Opened 8 years ago Closed 8 years ago

Firefox crashes after closing if navigator.getVRDevices() is called

Categories

(Core :: DOM: Device Interfaces, defect)

47 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox47 --- affected
firefox48 --- fixed

People

(Reporter: caseyyee.ca, Assigned: kip)

Details

(Whiteboard: [webvr] dom-triaged btpp-active)

Attachments

(1 file)

1. Load up any WebVR example (mozvr.com)

2. Close Firefox.

3. Crash

or:

1. Opening the dev tools console.

2. navigator.getVRDevices()

3. Close Firefox

4. Crash

Here is a crash report:
https://crash-stats.mozilla.com/report/index/a7a83f28-29f8-47e5-bb59-9ec552160216
Whiteboard: [webvr]
Assignee: nobody → kgilbert
Component: General → DOM: Device Interfaces
Product: Firefox → Core
Whiteboard: [webvr] → [webvr] dom-triaged btpp-active
- Fixes a crash caused when shutting down the Oculus SDK objects
  in a different thread than the one that was used to
  initialize them.

Review commit: https://reviewboard.mozilla.org/r/38063/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/38063/
Attachment #8726501 - Flags: review?(dmu)
Comment on attachment 8726501 [details]
MozReview Request: Bug 1248761 - Destroy VRHMDInfo objects on the compositor thread

https://reviewboard.mozilla.org/r/38063/#review34651
Attachment #8726501 - Flags: review?(dmu) → review+
https://hg.mozilla.org/mozilla-central/rev/eca3a6b94f79
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: