Closed Bug 1681756 Opened 10 months ago Closed 9 months ago

Crash in [@ mozilla::wr::DCSurface::GetTile]

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

(Reporter: sefeng, Assigned: sotaro)

References

Details

(Keywords: crash)

Crash Data

Attachments

(2 files)

Crash report: https://crash-stats.mozilla.org/report/index/36f2e46e-3d27-467b-8095-9201a0201209

MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(tile_it != mDCTiles.end())

Top 10 frames of crashing thread:

0 xul.dll mozilla::wr::DCSurface::GetTile const gfx/webrender_bindings/DCLayerTree.cpp:651
1 xul.dll mozilla::wr::DCLayerTree::Bind gfx/webrender_bindings/DCLayerTree.cpp:312
2 xul.dll mozilla::wr::RenderCompositorANGLE::Bind gfx/webrender_bindings/RenderCompositorANGLE.cpp:856
3 xul.dll mozilla::wr::wr_compositor_bind gfx/webrender_bindings/RenderCompositor.cpp:52
4 xul.dll webrender_bindings::bindings::{{impl}}::bind gfx/webrender_bindings/src/bindings.rs:1311
5 xul.dll webrender::renderer::Renderer::render_impl gfx/wr/webrender/src/renderer.rs:3523
6 xul.dll webrender::renderer::Renderer::render gfx/wr/webrender/src/renderer.rs:3244
7 xul.dll webrender_bindings::bindings::wr_renderer_render gfx/webrender_bindings/src/bindings.rs:614
8 xul.dll mozilla::wr::RendererOGL::UpdateAndRender gfx/webrender_bindings/RendererOGL.cpp:193
9 xul.dll mozilla::wr::RenderThread::UpdateAndRender gfx/webrender_bindings/RenderThread.cpp:488
Blocks: gfx-triage

All crashes had the following GraphicsCriticalError message.

Failed to initialize DCTile: 00

Tile size is set in DCLayerTree::CreateSurface()

Assignee: nobody → sotaro.ikeda.g
Depends on: 1682735

Updated GraphicsCriticalError of crash repors had the following. Then DEBUG_OVERLAY seemed to cause the problem.

TileSize is not positive aId: 18446744073709551615 aTileSize(0,0)

Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0f41db4ddb5
Make RenderCompositorANGLE::GetBufferSize() to be positive with native compositor r=mattwoodrow
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

D100220 had a silly mistake :(

Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6f144aa78811
Fix return of RenderCompositorANGLE::GetBufferSize() r=nical
Status: REOPENED → RESOLVED
Closed: 9 months ago9 months ago
Resolution: --- → FIXED
No longer blocks: gfx-triage
You need to log in before you can comment on or make changes to this bug.