When connecting to my Windows 7 host over RDP, a debug build of Firefox hits the MOZ_ASSERT(false) fatal assertion in gfxWindowsPlatform::DidRenderingDeviceReset. The unhandled HRESULT stored in hr is E_OUTOFMEMORY, which is not a documented return value for ID3D11Device::GetDeviceRemovedReason. Adding the HRESULT to the handled cases (I reused DeviceResetReason::DRIVER_ERROR) allows Firefox to work normally.
Well that's very unfortunate! Particularly the lack of documentation! Let's add a DeviceResetReason and then add it to the list, do you want to write the patch or do you want me to?
4 years ago
(In reply to Matthew Gregan from comment #0) > The unhandled HRESULT stored > in hr is E_OUTOFMEMORY, which is not a documented return value for > ID3D11Device::GetDeviceRemovedReason. MSDN doesn't actually claim that its list is exhaustive.
You need to log in before you can comment on or make changes to this bug.