Closed Bug 713851 Opened 13 years ago Closed 13 years ago

Can not type into input fields, no visible characters -- typing into input fields yields: gralloc_alloc_buffer() failed to allcoate UMP memory -- reboots device

Categories

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

ARM
Android
defect

Tracking

(firefox12 affected, fennec11+)

RESOLVED WORKSFORME
Tracking Status
firefox12 --- affected
fennec 11+ ---

People

(Reporter: aaronmt, Assigned: snorp)

References

()

Details

(Keywords: regression, reproducible)

Attachments

(1 file)

I/InputDispatcher( 2714): Delivering touch to current input target: action: 1, channel '40a3c6f8 InputMethod (server)'
I/GeckoApp( 5454): Got message: FormAssist:AutoComplete
I/GeckoApp( 5454): Got message: FormAssist:AutoComplete
W/WindowManager( 2714): Window Window{40a6a978 PopupWindow:405a5428 paused=false} destroyed surface Surface(name=PopupWindow:405a5428, identity=-1, mNativeSurface=0), session Session{40956c78 uid 10102}
I/InputReader( 2714): dispatchTouch::touch event's action is 0, pending(waiting finished signal)=0
I/InputDispatcher( 2714): Delivering touch to current input target: action: 0, channel '40a3c6f8 InputMethod (server)'
W/SurfaceFlinger( 2714): PopupWindow:405a5428[158] is not removed from mLayerMap
E/gralloc ( 5454): gralloc_alloc_buffer() failed to allcoate UMP memory
W/GraphicBufferAllocator( 5454): alloc(1024, 2048, 4, 00000130, ...) failed -1 (Operation not permitted)
E/gralloc ( 5454): Locking invalid buffer, returning error
W/GraphicBufferMapper( 5454): lock(...) failed -22 (Invalid argument)
E/gralloc ( 5454): Unlocking invalid buffer, returning error
W/GraphicBufferMapper( 5454): unlock(...) failed -22 (Invalid argument)
E/GeckoSoftwareLayerClient( 5454): Bad viewport description: 
E/        ( 5454): egl_image* _egl_create_image_ANDROID_native_buffer(egl_display*, egl_context*, void*, EGLint*, void*) failed to map native buffer
I/AndroidGraphicBuffer( 5454): No valid EGLImage!
W/System.err( 5454): java.lang.RuntimeException: org.json.JSONException: End of input at character 0 of 
W/System.err( 5454): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.updateViewport(GeckoSoftwareLayerClient.java:201)
W/System.err( 5454): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.endDrawing(GeckoSoftwareLayerClient.java:211)
W/System.err( 5454): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err( 5454): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err( 5454): 	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:460)
W/System.err( 5454): 	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:107)
W/System.err( 5454): Caused by: org.json.JSONException: End of input at character 0 of 
W/System.err( 5454): 	at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
W/System.err( 5454): 	at org.json.JSONTokener.nextValue(JSONTokener.java:93)
W/System.err( 5454): 	at org.json.JSONObject.<init>(JSONObject.java:154)
W/System.err( 5454): 	at org.json.JSONObject.<init>(JSONObject.java:171)
W/System.err( 5454): 	at org.mozilla.gecko.gfx.GeckoSoftwareLayerClient.updateViewport(GeckoSoftwareLayerClient.java:171)
W/System.err( 5454): 	... 5 more
I/WindowManager( 2714):   CREATE SURFACE Surface(name=PopupWindow:405a5428, identity=159, mNativeSurface=0) IN SESSION android.view.SurfaceSession@4098ee80: pid=2875 format=-3 flags=0x0 / Window{40a6a978 PopupWindow:405a5428 paused=false}
I/InputReader( 2714): dispatchTouch::touch event's action is 1, pending(waiting finished signal)=0
I/InputDispatcher( 2714): Delivering touch to current input target: action: 1, channel '40a3c6f8 InputMethod (server)'
I/WindowOrientationListener( 2714): orientation = 3.460465 Tilt = 48.309406 -- 0 ,  6 ,  7
E/gralloc ( 2714): gralloc_alloc_buffer() failed to allcoate UMP memory
W/GraphicBufferAllocator( 2714): alloc(135, 116, 1, 00000133, ...) failed -1 (Operation not permitted)
D/GraphicBufferAllocator( 2714): Allocated buffers:
D/GraphicBufferAllocator( 2714):   0x163bc0:  750.00 KiB |  480 ( 480) x  400 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x1b42a8:    2.11 KiB |   18 (  18) x   30 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x21d518:   71.25 KiB |  480 ( 480) x   38 |  2 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x2edfa8:  344.06 KiB |  480 ( 480) x  367 |  4 | 0x00000702
D/GraphicBufferAllocator( 2714):   0x2f0cc8: 1500.00 KiB |  480 ( 480) x  800 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x2f2ac0:  750.00 KiB |  480 ( 480) x  800 |  4 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x2f69b8: 1500.00 KiB |  480 ( 480) x  800 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x3a8c10: 1357.50 KiB |  480 ( 480) x  724 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x3a9220:  750.00 KiB |  480 ( 480) x  800 |  4 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x3a93c8:   71.25 KiB |  480 ( 480) x   38 |  2 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x4a5228:  750.00 KiB |  480 ( 480) x  400 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714):   0x4a90c8:  344.06 KiB |  480 ( 480) x  367 |  4 | 0x00000702
D/GraphicBufferAllocator( 2714):   0x6cce20:  757.50 KiB |  480 ( 480) x  404 |  1 | 0x00000133
D/GraphicBufferAllocator( 2714): Total allocated: 8947.73 KB
E/SurfaceFlinger( 2714): Layer::requestBuffer(this=0x5d52c0), index=0, w=135, h=116 failed (Operation not permitted)
E/Surface ( 2875): Surface (identity=159) requestBuffer(0, 0, 0, 0, 00000033) returned a buffer with a null handle
E/Surface ( 2875): getBufferLocked(0, 0, 0, 0, 00000033) failed (Out of memory)
E/Surface ( 2875): dequeueBuffer failed (Out of memory)
E/ViewRoot( 2875): OutOfResourcesException locking surface
E/ViewRoot( 2875): android.view.Surface$OutOfResourcesException
E/ViewRoot( 2875): 	at android.view.Surface.lockCanvasNative(Native Method)
E/ViewRoot( 2875): 	at android.view.Surface.lockCanvas(Surface.java:322)
E/ViewRoot( 2875): 	at android.view.ViewRoot.draw(ViewRoot.java:1464)
E/ViewRoot( 2875): 	at android.view.ViewRoot.performTraversals(ViewRoot.java:1266)
E/ViewRoot( 2875): 	at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)
E/ViewRoot( 2875): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/ViewRoot( 2875): 	at android.os.Looper.loop(Looper.java:130)
E/ViewRoot( 2875): 	at android.app.ActivityThread.main(ActivityThread.java:3691)
E/ViewRoot( 2875): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/ViewRoot( 2875): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/ViewRoot( 2875): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/ViewRoot( 2875): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
E/ViewRoot( 2875): 	at dalvik.system.NativeStart.main(Native Method)
D/Keyboard( 2875): islockscreenmaking isLockScreenViewMaking() = false
V/Keyboard( 2875): islockscreenmaking keyboard's display metrics:DisplayMetrics{density=1.5, width=480, height=800, scaledDensity=1.5, xdpi=217.71428, ydpi=218.49463}
E/gralloc ( 5454): gralloc_alloc_buffer() failed to allcoate UMP memory
W/GraphicBufferAllocator( 5454): alloc(1024, 2048, 4, 00000130, ...) failed -1 (Operation not permitted)
E/gralloc ( 5454): Locking invalid buffer, returning error

Typing into input fields does not display whatever characters I type. What yields is a: gralloc_alloc_buffer() failed to allcoate UMP memory.

Used test site: mail.yahoo.com 

--
Samsung Galaxy SII (Android 2.3.4)
Samsung Nexus S (Android 4.0.3)
Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20111228 Firefox/12.0a1 Fennec/12.0a1
See Also: → 712945
Whiteboard: [QA^]
dupe of bug 712945 ?
Assignee: nobody → snorp
Priority: -- → P1
Still reproducible on the Samsung Galaxy SII (Android 2.3.4), except with today's builds it will reboot my device; which makes typing into inputs a blocker.

Used test site: mail.yahoo.com

--
Samsung Galaxy SII (Android 2.3.4)
Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20120103 Firefox/12.0a1 Fennec/12.0a1
Summary: Can not type into input fields, no visible characters -- typing into input fields yields: gralloc_alloc_buffer() failed to allcoate UMP memory → Can not type into input fields, no visible characters -- typing into input fields yields: gralloc_alloc_buffer() failed to allcoate UMP memory -- reboots device
Severity: normal → critical
Whiteboard: [QA^]
There is a chance that the fix for 713774 will fix this too. Can you retest with a build that has those changes? I can't reproduce the issue on any phone I have here.
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #3)
> There is a chance that the fix for 713774 will fix this too. Can you retest
> with a build that has those changes? I can't reproduce the issue on any
> phone I have here.

WFM with a build with that fix from bug 713774.

20120104040221
http://hg.mozilla.org/integration/mozilla-inbound/rev/ad98a08690cb
Status: NEW → RESOLVED
Closed: 13 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: