Closed Bug 1332798 Opened 9 years ago Closed 8 years ago

Crash in <name omitted> | mozilla::widget::RectTextureImage::BeginUpdate

Categories

(Core :: Widget: Cocoa, defect)

Unspecified
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox51 --- wontfix
firefox52 --- fixed
firefox53 --- fixed
firefox54 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: mtseng)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is report bp-0b3cb402-547b-40cc-8a02-63ebc2170120. ============================================================= Looks like a null-pointer crash in RectTextureImage::BeginUpdate: https://hg.mozilla.org/releases/mozilla-release/annotate/8612c3320053/widget/cocoa/RectTextureImage.mm#l56 The MacIOSurface::CreateIOSurface may return nullptr.
Flags: needinfo?(mtseng)
Yes, submitted a patch to fix this.
Assignee: nobody → mtseng
Flags: needinfo?(mtseng)
Attachment #8829348 - Flags: review?(mstange) → review+
Pushed by mtseng@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6b8e2061312f Add null check after CreateIOSurface. r=mstange
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
AFAICT, this crash goes back a ways. Please request Aurora/Beta approval on this patch when you get a chance.
Flags: needinfo?(mtseng)
Comment on attachment 8829348 [details] Bug 1332798 - Add null check after CreateIOSurface. Approval Request Comment [Feature/Bug causing the regression]: [User impact if declined]: Firefox will crash sometimes. [Is this code covered by automated tests?]: [Has the fix been verified in Nightly?]: [Needs manual test from QE? If yes, steps to reproduce]: [List of other uplifts needed for the feature/fix]: [Is the change risky?]: No. [Why is the change risky/not risky?]: It just added a null check. [String changes made/needed]: none
Flags: needinfo?(mtseng)
Attachment #8829348 - Flags: approval-mozilla-beta?
Attachment #8829348 - Flags: approval-mozilla-aurora?
Comment on attachment 8829348 [details] Bug 1332798 - Add null check after CreateIOSurface. We will take this patch to fix the crash. Aurora53+. And, in the future, please fill the whole uplift request template.
Attachment #8829348 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8829348 [details] Bug 1332798 - Add null check after CreateIOSurface. crash fix for beta52
Attachment #8829348 - 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: