зеркало из https://github.com/mozilla/gecko-dev.git
b81f65bc8d
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 |
||
---|---|---|
.. | ||
2d | ||
angle | ||
cairo | ||
config | ||
docs | ||
gl | ||
graphite2 | ||
harfbuzz | ||
ipc | ||
layers | ||
ots | ||
qcms | ||
sfntly | ||
skia | ||
src | ||
tests | ||
thebes | ||
vr | ||
webrender_bindings | ||
wr | ||
ycbcr | ||
moz.build |