Closed Bug 1808733 Opened 2 years ago Closed 2 years ago

Crash in [@ mozilla::layers::PersistentBufferProviderShared::IsAccelerated]

Categories

(Core :: Graphics, defect)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox108 --- unaffected
firefox109 + fixed
firefox110 + fixed

People

(Reporter: aryx, Assigned: lsalzman)

References

(Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

89 crashes for Firefox version 109 and 110 on Windows.

Crash report: https://crash-stats.mozilla.org/report/index/a8d56064-8e98-4be9-bad7-78d230230103

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0  xul.dll  mozilla::layers::PersistentBufferProviderShared::IsAccelerated const  gfx/layers/PersistentBufferProvider.cpp:662
1  xul.dll  mozilla::dom::CanvasRenderingContext2D::BorrowTarget  dom/canvas/CanvasRenderingContext2D.cpp:1350
2  xul.dll  mozilla::dom::CanvasRenderingContext2D::EnsureTarget  dom/canvas/CanvasRenderingContext2D.cpp:1434
3  xul.dll  mozilla::dom::CanvasRenderingContext2D::UpdateWebRenderCanvasData  dom/canvas/CanvasRenderingContext2D.cpp:5719
4  xul.dll  nsHTMLCanvasFrame::UpdateWebRenderCanvasData  layout/generic/nsHTMLCanvasFrame.cpp:479
4  xul.dll  nsDisplayCanvas::CreateWebRenderCommands  layout/generic/nsHTMLCanvasFrame.cpp:148
5  xul.dll  mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommands  gfx/layers/wr/WebRenderCommandBuilder.cpp:1822
5  xul.dll  mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommandsFromDisplayList  gfx/layers/wr/WebRenderCommandBuilder.cpp:2088
6  xul.dll  mozilla::nsDisplayTransform::CreateWebRenderCommands  layout/painting/nsDisplayList.cpp:6727
7  xul.dll  mozilla::layers::WebRenderCommandBuilder::CreateWebRenderCommands  gfx/layers/wr/WebRenderCommandBuilder.cpp:1822
Flags: needinfo?(lsalzman)
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED

Crash volume is high enough that we probably want to get this uplifted before we cut the RC next week.

Flags: needinfo?(lsalzman)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch

Comment on attachment 9310884 [details]
Bug 1808733 - Check for null TextureData. r?aosmond

Beta/Release Uplift Approval Request

  • User impact if declined: Crashes when using Canvas2D on Windows.
  • Is this code covered by automated tests?: Unknown
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This just adds some straight-forward null pointer checks. It shouldn't break anything and will in all likelihood fix the crashes which seem to be null derefs at these places. Worst case scenario, it shouldn't break anything even if it does nothing. This will be easier to verify the fix once we uplift this to beta.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9310884 - Flags: approval-mozilla-beta?

Comment on attachment 9310884 [details]
Bug 1808733 - Check for null TextureData. r?aosmond

Approved for 109.0rc1.

Attachment #9310884 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: