Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I got a problem with ics4.0.4. My phone resolution is 640x960, it cause the SystemUI stop ,memory is out. the phone momery is 512Mbytes. with resolution HVGA, the phone work well.

So I think it is a memory configue problem?

E/memalloc(  102): /dev/pmem: No more pmem available
E/msm7627a.gralloc(  102): gralloc failed err=Out of memory
W/GraphicBufferAllocator(  102): alloc(1280, 961, 2, 00000b03, ...) failed -12 (Out of memory)
E/SurfaceFlinger(  102): GraphicBufferAlloc::createGraphicBuffer(w=1280, h=961) failed (Out of memory), handle=0x0
E/SurfaceTexture(  102): [com.android.systemui.ImageWallpaper] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB(  397): <GetSurfaceSize:386>: dequeue native buffer failed: Out of memory.
D/MSimIccProvider(  469): [MSimIccProvider] loadFromEf: efType=28474subscription = 0
I/Adreno200-EGLSUB(  102): <CreateImage:1016>: Android Image
I/Adreno200-EGLSUB(  102): <GetImageAttributes:1281>: RGBX_8888
E/SurfaceTexture(  102): [com.android.systemui.ImageWallpaper] dequeueBuffer: MIN_UNDEQUEUED_BUFFERS=1 exceeded (dequeued=2)
W/Adreno200-EGLSUB(  397): <GetSurfaceSize:386>: dequeue native buffer failed: Device or resource busy.
E/Adreno200-EGL(  397): <eglSurfaceResize:4068>: EGL_BAD_ALLOC
W/dalvikvm(  397): threadid=1: thread exiting with uncaught exception (group=0x40a7c9d8)
D/MobileDataStateTracker(  297): mms: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/MobileDataStateTracker(  297): supl: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
W/MSimIccProvider(  469): Cannot load ADN records
D/AuthenticateService(  555): service onStart!
D/MobileDataStateTracker(  297): dun: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/SimContactsService(  555): service onStart!
D/MobileDataStateTracker(  297): hipri: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
E/AndroidRuntime(  397): FATAL EXCEPTION: main
E/AndroidRuntime(  397): java.lang.RuntimeException: Cannot swap buffers
E/AndroidRuntime(  397):    at com.android.systemui.ImageWallpaper$DrawableEngine.drawWallpaperWithOpenGL(ImageWallpaper.java:442)
E/AndroidRuntime(  397):    at com.android.systemui.ImageWallpaper$DrawableEngine.drawFrameLocked(ImageWallpaper.java:322)
E/AndroidRuntime(  397):    at com.android.systemui.ImageWallpaper$DrawableEngine.onSurfaceChanged(ImageWallpaper.java:268)
E/AndroidRuntime(  397):    at android.service.wallpaper.WallpaperService$Engine.updateSurface(WallpaperService.java:673)

E/AndroidRuntime(  397):    at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.executeMessage(WallpaperService.java:1000)
E/AndroidRuntime(  397):    at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:61)
E/AndroidRuntime(  397):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  397):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  397):    at android.app.ActivityThread.main(ActivityThread.java:4450)
E/AndroidRuntime(  397):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  397):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(  397):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
E/AndroidRuntime(  397):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
E/AndroidRuntime(  397):    at dalvik.system.NativeStart.main(Native Method)
D/SimContactsService(  555):  QuerySimHandler onQueryComplete: cursor.count=0
D/MobileDataStateTracker(  297): ims: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/MobileDataStateTracker(  297): fota: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/SimContactsService(  555): cannot get sim account of sub 0
D/memalloc(  102): /dev/pmem: Freeing buffer base:0x41736000 size:2539520 offset:0 fd:30
D/memalloc(  102): /dev/pmem: Freeing buffer base:0x419a2000 size:2539520 offset:2539520 fd:33
I/WindowManager(  297): SCREENLAYOUT_SIZE (1:small, 2:normal, 3:large, 4:xlarge) 2
D/memalloc(  102): /dev/pmem: Freeing buffer base:0x41c0e000 size:2539520 offset:5079040 fd:36
D/MobileDataStateTracker(  297): cbs: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/MobileDataStateTracker(  297): mms: Received state=DISCONNECTED, old=DISCONNECTED, reason=cdmaDataDetached
D/AuthenticateService(  555): message received: sub is0accountType com.android.sim
D/Authenticator(  555): Add account
D/MobileDataStateTracker(  297): supl: Received state=DISCONNECTED, old=DISCONNECTED, reason=cdmaDataDetached
D/SimContactsService(  555): import sim contact to account: null
I/AccountManagerService(  297): the accounts changed, sending broadcast of android.accounts.LOGIN_ACCOUNTS_CHANGED
I/ActivityManager(  297): Start proc com.android.contacts for broadcast com.android.contacts/.calllog.CallLogReceiver: pid=621 uid=10020 gids={}
D/memalloc(  102): /dev/pmem: Allocated buffer base:0x41736000 size:655360 offset:34734080 fd:30
D/memalloc(  297): /dev/pmem: Mapped buffer base:0x592a1000 size:35389440 offset:34734080 fd:250
I/Adreno200-EGLSUB(  102): <CreateImage:1016>: Android Image
I/Adreno200-EGLSUB(  102): <GetImageAttributes:1225>: RGBA_8888
D/PowerManagerService(  297): bootCompleted
V/DevicePolicyManagerService(  297): Sending password expiration notifications for action android.intent.action.BOOT_COMPLETED
E/filePathInTheme(  483): fallback to res
D/VoldConnector(  297): SND -> {volume mount /mnt/fat} {null}
D/VoldCmdListener(   96): volume mount /mnt/fat
I/Vold    (   96): /dev/block/vold/7:7 being considered for volume fat
D/Vold    (   96): Volume fat state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/VoldConnector(  297): RCV <- {605 Volume fat /mnt/fat state changed from 1 (Idle-Unmounted) to 3 (Checking)}
D/MountService(  297): volume state changed for /mnt/fat (unmounted -> checking)
D/MountService(  297): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///mnt/fat (has extras) }
share|improve this question
1  
When exactly does this happen? While booting, right after startup, or just randomly while using the phone? – THelper Nov 8 '12 at 8:18
just bootup,you can see the error and lanucher at same time。it happens everytime。The phone can work,but the statusbar dispear。 after I modify the pmem size,it work well。 – eric0593 Nov 9 '12 at 9:26

closed as too localized by Lie Ryan, ce4, t0mm13b, roxan, Al Everett Nov 10 '12 at 19:10

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

I have fixed this problem。 The pmem size to too small which define in board-$(CPU).c file. just enlarge the size of mdp PMEM.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.