Closed Bug 1030233 Opened 10 years ago Closed 6 years ago

Gallery crash when zooming a picture

Categories

(Firefox OS Graveyard :: Vendcom, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: augustin.trancart, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140608211622

Steps to reproduce:

Update Keon to 20140625021319
Open gallery app.
Select a picture.
Zoom it several time.



Actual results:

Eventually, gallery crashes (I manage to do it all the time, even with picture < 300 ko). In logcat I have :

/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(1600, 1200, 2, 00000133, ...) failed -12 (Out of memory)
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(1600, 1200, 2, 00000133, ...) failed -12 (Out of memory)
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(1600, 1200, 2, 00000133, ...) failed -12 (Out of memory)
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(1600, 1200, 2, 00000133, ...) failed -12 (Out of memory)
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(1600, 1200, 2, 00000133, ...) failed -12 (Out of memory)
E/Profiler(  109): BPUnw: [1 total] thread_unregister_for_profiling(me=0x1edcd80)  (NOT REGISTERED) 
E/Profiler(  109): BPUnw: [1 total] thread_unregister_for_profiling(me=0x1edce30)  (NOT REGISTERED) 
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(2048, 1536, 2, 00000133, ...) failed -12 (Out of memory)
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(2048, 1536, 4, 00000133, ...) failed -12 (Out of memory)
I/Gecko   (  109): 
I/Gecko   (  109): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
I/Gecko   (  109): 
I/Gonk    (  109): Setting nice for pid 3604 to 1
I/Gonk    (  109): Changed nice for pid 3604 from 18 to 1.
I/GeckoDump(  109): Crash reporter : Not online, postponing.
E/Sensors (  109): sensor activate  handle 0 enable 0 drv 0
I/Gonk    (  109): Setting nice for pid 4273 to 1
I/Gonk    (  109): Changed nice for pid 4273 from 18 to 1.



Expected results:

Gallery should not crash.
Actually, the crash really happens on

I/Gecko   (  109): 
I/Gecko   (  109): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
I/Gecko   (  109):

I have 
E/memalloc(  109): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  109): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  109): alloc(2048, 1536, 4, 00000133, ...) failed -12 (Out of memory)
each time I zoom, but it does not necessarily make the Gallery crash
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
I can't set the version, but it is v1.4 from geeksphone.
If it's a Geeksphone, more than likely it has to do with graphics and it's running ICS-chocolate.  We're running JB on 1.4 on most devices.  ie.  Geeksphone has to update their gonk layer.
Component: Gaia::Gallery → Vendcom
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.