Closed
Bug 931573
Opened 11 years ago
Closed 11 years ago
Samsung Galaxy S2 crashes on gralloc Android's HAL cause Framebuffer::lastHandle is not initialized to NULL
Categories
(Core Graveyard :: Widget: Gonk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: _AtilA_, Assigned: _AtilA_)
Details
Attachments
(1 file)
|
904 bytes,
patch
|
dhylands
:
review+
|
Details | Diff | Splinter Review |
I was getting a crash in Samsung's (well, right now it's the Cyanogenmod one) gralloc implementation for exynos4 devices, cause GonkDisplayJB::Post( mFBSurface->lastHandle, ... ) was calling gralloc's HAL fb_post( buffer = <uninitialized value>, ... ) with an uninitialized pointer variable (lastHandle). This was the backtrace:
#0 0x40169ba8 in validate (h=0xa5a5a5a5) at hardware/samsung/exynos4/hal/libgralloc_ump/../include/gralloc_priv.h:228
#1 fb_post (dev=0x405380c0, buffer=0xa5a5a5a5) at hardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:72
#2 0x0001442a in mozilla::GonkDisplayJB::Post (this=0x4051a380, buf=0xa5a5a5a5, fence=-1515870811) at ../../../../gecko/widget/gonk/libdisplay/GonkDisplayJB.cpp:188
#3 0x41d280d2 in SwapBuffers (this=0x47c23800) at ../../../gecko/gfx/gl/GLContextProviderEGL.cpp:600
#4 mozilla::gl::GLContextEGL::SwapBuffers (this=0x47c23800) at ../../../gecko/gfx/gl/GLContextProviderEGL.cpp:595
#5 0x41cf6f2a in mozilla::layers::CompositorOGL::EndFrame (this=0x47c374a0) at ../../../gecko/gfx/layers/opengl/CompositorOGL.cpp:1320
#6 0x41d09ada in mozilla::layers::LayerManagerComposite::Render (this=0x46fd3200) at
(...)
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #823026 -
Flags: review?(mwu)
Comment 2•11 years ago
|
||
Comment on attachment 823026 [details] [diff] [review]
0001-Bug-931573-Fixes-a-crash-in-some-gralloc-s-HAL-imple.patch
Review of attachment 823026 [details] [diff] [review]:
-----------------------------------------------------------------
I told Juan on IRC that I could review this for him, and it looks like a no-brainer r+ to me.
Attachment #823026 -
Flags: review?(mwu) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Assignee: nobody → atilag
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•