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)
Core
Graphics: Layers
Tracking
()
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | disabled |
| firefox51 | --- | unaffected |
| firefox52 | --- | unaffected |
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, Whiteboard: [gfx-noted])
Comment 1•9 years ago
|
||
Looks like a null pointer crash in the layers code.
Component: WebRTC → Graphics: Layers
Comment 2•9 years ago
|
||
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]
Comment 3•9 years ago
|
||
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Comment 4•9 years ago
|
||
This stopped around the same time as bug 1289761, which probably isn't a coincidence.
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → affected
status-firefox51:
--- → unaffected
status-firefox52:
--- → unaffected
Flags: needinfo?(ryanvm)
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Flags: needinfo?(ryanvm)
Comment 5•9 years ago
|
||
| bugherder uplift | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•