Closed Bug 1291157 Opened 9 years ago Closed 9 years ago

Intermittent dom/media/tests/mochitest/test_peerConnection_multiple_captureStream_canvas_2d.html | application crashed [@ nvwgf2umx.dll + 0x2d2f91]

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox50 --- disabled
firefox51 --- unaffected
firefox52 --- unaffected

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [gfx-noted])

Looks like a null pointer crash in the layers code.
Component: WebRTC → Graphics: Layers
The crash is at: void CompositorD3D11::PrepareViewport(const gfx::IntSize& aSize, const gfx::Matrix4x4& aProjection, float aZNear, float aZFar) { D3D11_VIEWPORT viewport; viewport.MaxDepth = aZFar; viewport.MinDepth = aZNear; viewport.Width = aSize.width; viewport.Height = aSize.height; viewport.TopLeftX = 0; viewport.TopLeftY = 0; mContext->RSSetViewports(1, &viewport); //<=== assume the crash is because mContext is nullptr. memcpy(&mVSConstants.projection, &aProjection._11, sizeof(mVSConstants.projection)); } https://hg.mozilla.org/integration/autoland/annotate/b2a6aaf59783cecf8cde63fe51fbd65e14b026df/gfx/layers/d3d11/CompositorD3D11.cpp#l1381 But if mContext is nullptr, the crash should be here. We use mContext at this line. https://hg.mozilla.org/integration/autoland/annotate/b2a6aaf59783cecf8cde63fe51fbd65e14b026df/gfx/layers/d3d11/CompositorD3D11.cpp#l1205 The PrepareViewport() is called in this line. https://hg.mozilla.org/integration/autoland/annotate/b2a6aaf59783cecf8cde63fe51fbd65e14b026df/gfx/layers/d3d11/CompositorD3D11.cpp#l1207
Whiteboard: [gfx-noted]
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
This stopped around the same time as bug 1289761, which probably isn't a coincidence.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(ryanvm)
Resolution: --- → WORKSFORME
Flags: needinfo?(ryanvm)
You need to log in before you can comment on or make changes to this bug.