Closed Bug 712945 Opened 12 years ago Closed 12 years ago

gralloc_alloc_buffer() failed to allcoate UMP memory -- OutOfResourcesException

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(fennec11+)

RESOLVED WORKSFORME
Tracking Status
fennec 11+ ---

People

(Reporter: aaronmt, Assigned: snorp)

References

Details

(Keywords: crash, Whiteboard: oom, [native-crash])

Attachments

(1 file)

E/gralloc ( 2715): gralloc_alloc_buffer() failed to allcoate UMP memory
W/GraphicBufferAllocator( 2715): alloc(800, 724, 1, 00000133, ...) failed -1 (Operation not permitted)
D/GraphicBufferAllocator( 2715): Allocated buffers:
D/GraphicBufferAllocator( 2715):   0x18cf40:   71.25 KiB |  480 ( 480) x   38 |  2 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x18d640:  655.31 KiB |  480 ( 480) x  699 |  4 | 0x00000702
D/GraphicBufferAllocator( 2715):   0x1d7060: 1357.50 KiB |  480 ( 480) x  724 |  1 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x246b00:    2.11 KiB |   18 (  18) x   30 |  1 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x26d8b0: 1500.00 KiB |  800 ( 800) x  480 |  1 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x2863d0: 1500.00 KiB |  480 ( 480) x  800 |  2 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x2c7348:  757.50 KiB |  480 ( 480) x  404 |  1 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x317d48:  655.31 KiB |  480 ( 480) x  699 |  4 | 0x00000702
D/GraphicBufferAllocator( 2715):   0x384600:  750.00 KiB |  480 ( 480) x  800 |  4 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x3b9ab0:  750.00 KiB |  480 ( 480) x  800 |  4 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x3c5ec8:  118.75 KiB |  800 ( 800) x   38 |  2 | 0x00000133
D/GraphicBufferAllocator( 2715):   0x4ee728: 1500.00 KiB |  480 ( 480) x  800 |  1 | 0x00000133
D/GraphicBufferAllocator( 2715): Total allocated: 9617.73 KB
E/SurfaceFlinger( 2715): Layer::requestBuffer(this=0x356978), index=1, w=800, h=724 failed (Operation not permitted)
E/Surface ( 2854): Surface (identity=4) requestBuffer(1, 0, 0, 0, 00000033) returned a buffer with a null handle
E/Surface ( 2854): getBufferLocked(1, 0, 0, 0, 00000033) failed (Out of memory)
E/Surface ( 2854): dequeueBuffer failed (Out of memory)
E/ViewRoot( 2854): OutOfResourcesException locking surface
E/ViewRoot( 2854): android.view.Surface$OutOfResourcesException
E/ViewRoot( 2854): 	at android.view.Surface.lockCanvasNative(Native Method)
E/ViewRoot( 2854): 	at android.view.Surface.lockCanvas(Surface.java:322)
E/ViewRoot( 2854): 	at android.view.ViewRoot.draw(ViewRoot.java:1464)
E/ViewRoot( 2854): 	at android.view.ViewRoot.performTraversals(ViewRoot.java:1266)
E/ViewRoot( 2854): 	at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)
E/ViewRoot( 2854): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/ViewRoot( 2854): 	at android.os.Looper.loop(Looper.java:130)
E/ViewRoot( 2854): 	at android.app.ActivityThread.main(ActivityThread.java:3691)
E/ViewRoot( 2854): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/ViewRoot( 2854): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/ViewRoot( 2854): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/ViewRoot( 2854): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
E/ViewRoot( 2854): 	at dalvik.system.NativeStart.main(Native Method)

The only STR methods I recall was that I was rotating my device on m.yahoo.com

--
Samsung Galaxy SII (Android 2.3.4)
Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20111222 Firefox/12.0a1 Fennec/12.0a1
See Also: → 711426
Assignee: nobody → snorp
Priority: -- → P2
Keywords: crash
Whiteboard: oom, [native-crash]
Severity: normal → critical
Simple pinch also triggers this 


D/GeckoLayerController(17490): scrollBy: v=RectF(-188.01466, 174.03668, 291.98547, 873.0367) p=(462.91812,674.1278) z=1.4466711 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-188.95972, 171.6625, 291.0404, 870.6625) p=(460.62143,670.78326) z=1.4394938 o=0.0,0.0; zf=1.4394938
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-187.95972, 173.6625, 292.0404, 872.6625) p=(460.62143,670.78326) z=1.4394938 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-191.06667, 165.85724, 288.93347, 864.85724) p=(453.0709,659.7877) z=1.4158975 o=0.0,0.0; zf=1.4158975
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-191.56667, 165.35724, 288.43347, 864.35724) p=(453.0709,659.7877) z=1.4158975 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-192.52898, 162.93973, 287.47113, 861.9397) p=(450.73227,656.3821) z=1.408589 o=0.0,0.0; zf=1.408589
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-192.02898, 164.43973, 287.97113, 863.4397) p=(450.73227,656.3821) z=1.408589 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-194.2323, 158.90454, 285.76782, 857.90454) p=(445.37775,648.58453) z=1.3918555 o=0.0,0.0; zf=1.3918555
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-194.7323, 158.90454, 285.26782, 857.90454) p=(445.37775,648.58453) z=1.3918555 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-195.07909, 158.03336, 284.92102, 857.0333) p=(444.535,647.3573) z=1.3892218 o=0.0,0.0; zf=1.3892218
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-194.57909, 158.53336, 285.42102, 857.5333) p=(444.535,647.3573) z=1.3892218 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-195.55061, 156.09268, 284.44952, 855.09265) p=(442.17398,643.91907) z=1.3818433 o=0.0,0.0; zf=1.3818433
D/GeckoPanZoomController(17490): onScale in state PINCHING
D/GeckoLayerController(17490): scrollBy: v=RectF(-196.55061, 155.59268, 283.44952, 854.59265) p=(442.17398,643.91907) z=1.3818433 o=0.0,0.0
D/GeckoLayerController(17490): scaleWithFocus: v=RectF(-197.86435, 152.29233, 282.13577, 851.29236) p=(438.98135,639.2698) z=1.371866 o=0.0,0.0; zf=1.371866
E/gralloc (17490): gralloc_alloc_buffer() failed to allcoate UMP memory
W/GraphicBufferAllocator(17490): alloc(1024, 2048, 4, 00000130, ...) failed -1 (Operation not permitted)
E/gralloc (17490): Locking invalid buffer, returning error
W/GraphicBufferMapper(17490): lock(...) failed -22 (Invalid argument)
E/gralloc (17490): Unlocking invalid buffer, returning error
W/GraphicBufferMapper(17490): unlock(...) failed -22 (Invalid argument)
E/GeckoSoftwareLayerClient(17490): Bad viewport description: 
W/System.err(17490): java.lang.RuntimeException: org.json.JSONException: End of input at character 0 of 
W/System.err(17490): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.updateViewport(GeckoSoftwareLayerClient.java:201)
W/System.err(17490): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.endDrawing(GeckoSoftwareLayerClient.java:211)
W/System.err(17490): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err(17490): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err(17490): 	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:460)
W/System.err(17490): 	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:107)
W/System.err(17490): Caused by: org.json.JSONException: End of input at character 0 of 
W/System.err(17490): 	at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
W/System.err(17490): 	at org.json.JSONTokener.nextValue(JSONTokener.java:93)
W/System.err(17490): 	at org.json.JSONObject.<init>(JSONObject.java:154)
W/System.err(17490): 	at org.json.JSONObject.<init>(JSONObject.java:171)
W/System.err(17490): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.updateViewport(GeckoSoftwareLayerClient.java:171)
W/System.err(17490): 	... 5 more
D/GeckoPanZoomController(17490): onScale in state PINCHING
I think this was fixed with the allocator crash rotation fix. Will re-open if I see it again.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
tracking-fennec: --- → 11+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: