Open Bug 1140231 Opened 7 years ago Updated 7 years ago

Fatal assertion in gfxWindowsPlatform::DidRenderingDeviceReset during startup when using RDP

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

People

(Reporter: kinetik, Unassigned)

References

Details

(Whiteboard: gfx-noted)

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?
(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.