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

NEW
Unassigned

Status

()

4 years ago
4 years ago

People

(Reporter: kinetik, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: gfx-noted)

(Reporter)

Description

4 years ago
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?
Whiteboard: gfx-noted

Comment 2

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.