Closed Bug 1262681 Opened 6 years ago Closed 6 years ago

crash in mozilla::layers::RotatedBuffer::DrawBufferQuadrant


(Core :: Graphics: Layers, defect)

44 Branch
Windows 7
Not set



Tracking Status
firefox45 --- affected
firefox46 --- affected
firefox47 --- affected
firefox48 --- affected


(Reporter: alex_mayorga, Assigned: milan)


(Keywords: crash, Whiteboard: [gfx-noted])

Crash Data


(1 file, 1 obsolete file)

This bug was filed from the Socorro interface and is 
report bp-60244d11-07c4-4cfd-b546-115092160407.


569 crashes (12 startup) in the past month at
All of the ones I've seen call DrawTargetCairo::Snapshot with invalid DrawTarget, returning null , having RotatedBuffer::DrawBufferQuadrant (which got the snapshot through RotatedContentBuffer::GetSourceSurface call) use that snapshot without checking.

This perhaps starts with Factory::CreateDrawTargetForData getting called with DIRECT2D1_1 as the BackendType, which is not something we do.

Could be an OOM of some type, or a device reset.
Whiteboard: [gfx-noted]
Comment on attachment 8739130 [details] [diff] [review]
Not necessariy a patch that deals with this issue, but we need to worry about the validity, not just the existence, of a draw target.

Review of attachment 8739130 [details] [diff] [review]:

I'm not sure how much this adds, but it can't hurt.
Attachment #8739130 - Flags: feedback?(bas) → feedback+
(In reply to Carsten Book [:Tomcat] from comment #8)

No crashes of this type since just before this patch landed (20160413030239 is the last one so far.)

I did find a (single, linux) crash that has error reports added in the above patch:  I doubt this is new, it just would have crashed elsewhere before.

Lets wait for more days and data, and see if we get any crashes with the extra info once we go to dev edition with 48.
Flags: needinfo?(milan)
I don't see any of these crashes in 48 or 49.  Not enough volume to uplift to 47 beta, looks like we're getting two or so crashes per day, so maybe just call this fixed and let it ride 48.
Assignee: nobody → milan
Closed: 6 years ago
Flags: needinfo?(milan)
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.