Crash in [@ mozilla::layers::NativeLayerCA::NextSurface] MOZ_RELEASE_ASSERT(!mSize.IsEmpty()) (NextSurface invalid mSize.)
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox84 | --- | unaffected |
| firefox85 | --- | unaffected |
| firefox86 | --- | fixed |
People
(Reporter: mccr8, Assigned: bradwerth)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
Maybe Fission related. (DOMFissionEnabled=1)
Crash report: https://crash-stats.mozilla.org/report/index/0575e3da-c9aa-4e44-9b2b-a345f0210114
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(!mSize.IsEmpty()) (NextSurface invalid mSize.)
Top 10 frames of crashing thread:
0 XUL mozilla::layers::NativeLayerCA::NextSurface gfx/layers/NativeLayerCA.mm:621
1 XUL mozilla::layers::NativeLayerCA::NextSurfaceAsDrawTarget gfx/layers/NativeLayerCA.mm:674
2 XUL nsChildView::PaintWindowInContentLayer widget/cocoa/nsChildView.mm:1340
3 XUL -[ChildView updateRootCALayer] widget/cocoa/nsChildView.mm:2560
4 AppKit AppKit@0x11a49b
5 AppKit AppKit@0x2b7c8
6 AppKit AppKit@0x28d01e
7 AppKit AppKit@0x6a1a0
8 AppKit AppKit@0x119e1d
9 QuartzCore QuartzCore@0x24863
It looks like this is a "regression" from bug 1685046, but presumably this is just an assertion getting moved around based on the name of the patch there.
Comment 2•4 years ago
|
||
Yeah, I think nsChildView::PaintWindowInContentLayer() can sometimes be called on popup windows (menus or tooltips) that haven't been fully initialized yet and still have a zero size.
| Assignee | ||
Comment 3•4 years ago
|
||
Some callers of NextSurface can tolerate a false return value. This moves the
release assert one level lower (more specific) towards
RenderCompositorNativeOGL::Bind, which can't handle a missing surface.
Updated•4 years ago
|
Comment 5•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Here's a crash report which returned false because of 0x0. The stack shows that WR is enabled but the OS compositor is disabled.
https://crash-stats.mozilla.org/report/index/5ed2bbce-cc28-4552-bf32-dab2b0210214
Updated•4 years ago
|
Description
•