Closed Bug 1332798 Opened 6 years ago Closed 6 years ago
Crash in <name omitted> | mozilla::widget::Rect
Texture Image::Begin Update
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.
Yes, submitted a patch to fix this.
Assignee: nobody → mtseng
Comment on attachment 8829348 [details] Bug 1332798 - Add null check after CreateIOSurface. https://reviewboard.mozilla.org/r/106466/#review108250
Attachment #8829348 - Flags: review?(mstange) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/6b8e2061312f Add null check after CreateIOSurface. r=mstange
AFAICT, this crash goes back a ways. Please request Aurora/Beta approval on this patch when you get a chance.
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
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.