Closed Bug 881169 Opened 11 years ago Closed 11 years ago

[B2G/skiaGL] Fix SharedSurface_Gralloc::Create crash due to null allocator

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pchang, Assigned: pchang)

References

Details

Attachments

(1 file, 1 obsolete file)

With skiaGL enabled, 2D canvas app crashed with null allocator at the following line.
http://mxr.mozilla.org/mozilla-central/source/gfx/gl/SharedSurfaceGralloc.cpp#77.

It was related to bug 843599 which enabled the gralloc backend for gl streaming.
Assignee: nobody → pchang
Summary: [B2G] 2D canvas crash with skiaGL enabled → [B2G/skiaGL] Fix SharedSurface_Gralloc::Create crash due to null allocator
update commit for reviewer
Attachment #760293 - Attachment is obsolete: true
Attachment #760719 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/projects/birch/rev/c35fea511dc6

Can we get a test for this?
Flags: in-testsuite?
Keywords: checkin-needed
create the try with my patch which only affect b2g platform.

https://tbpl.mozilla.org/?tree=Try&rev=f70eb49c1225
https://hg.mozilla.org/mozilla-central/rev/c35fea511dc6
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 858237
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: