gecko-dev/gfx/vr/service
thomasmo b81f65bc8d Bug 1570230 - Crash in [@ mozilla::gfx::VRShMem::JoinShMem] r=kip
Bug 1570440 - [Web content] Firefox Crashes on CNN.COM (Windows7)

This change addresses an issue where VRShMem can be in an invalid state when
there is no VR process available. In this case, the VRExternalShmem struct is
allocated on the heap rather than accessed via shared memory. When VRService
stops, it clears this pointer, but cannot re-access it when it restarts. Thus,
this results in a nullptr crash when a tab Enters, Exits, and Re-enters VR.

The fix is to distinguish between in-proc heap allocation vs cross-proc shared
memory so that VRService can decide to make the call to LeaveShMem in its Stop
function. This will keep the heap allocation alive across service restarts and
prevent the null crash.

Differential Revision: https://phabricator.services.mozilla.com/D40681

--HG--
extra : moz-landing-system : lando
2019-08-08 17:57:34 +00:00
..
binding Bug 1559843 - Replace VR code endling to LF. r=kip 2019-07-02 23:40:27 +00:00
oculus Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
openvr Bug 1496615 - Part 1: update openvr to 1.0.17. r=kip 2018-12-17 20:36:28 +00:00
osvr Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
OSVRSession.cpp Bug 1570075 - WebXR: Extend VRDisplayState and VRDisplayCapabilityFlags r=imanol 2019-07-31 11:46:48 +00:00
OSVRSession.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
OculusSession.cpp Bug 1570075 - WebXR: Extend VRDisplayState and VRDisplayCapabilityFlags r=imanol 2019-07-31 11:46:48 +00:00
OculusSession.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
OpenVRSession.cpp Bug 1570075 - WebXR: Extend VRDisplayState and VRDisplayCapabilityFlags r=imanol 2019-07-31 11:46:48 +00:00
OpenVRSession.h Bug 1558952 - Vive cosmos controller binding for OpenVR. r=kip 2019-06-26 18:26:16 +00:00
PuppetSession.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
PuppetSession.h Bug 1559843 - Replace VR code endling to LF. r=kip 2019-07-02 23:40:27 +00:00
VRService.cpp Bug 1570230 - Crash in [@ mozilla::gfx::VRShMem::JoinShMem] r=kip 2019-08-08 17:57:34 +00:00
VRService.h Bug 1570230 - Crash in [@ mozilla::gfx::VRShMem::JoinShMem] r=kip 2019-08-08 17:57:34 +00:00
VRSession.cpp Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
VRSession.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
moz.build Bug 1562497 - Build PuppetSession on Tier3 as VRService depends on it. r=daoshengmu 2019-07-04 07:41:57 +00:00