[G2 and Desire Z Q&A, Help & Troubleshooting] randalla0622:
I updated to CM7.2-r1 last night (not the gaps though as it said that it would "back them up"), and, seemingly, everything went well. However, when I went to check my mail this morning, I found that the gmail app just locks up and does Crazy Sh*t™. My list of e-mails comes up, but the entire screen becomes unresponsive, and it will flash to black and then come back at times. Also, hitting back will not generally work, but Home will. It will, though, jump back into gmail seemingly at random after I do this. Crazy.

Anyway, I've tried a number of things thus far:

1) force stopped gmail and loaded it again

2) cleared data on gmail and loaded it again

3) uninstalled and reinstalled gmail and loaded it again

Nothing seems to work.

Using adb I did capture the logcat while it was freaking out. It seems to start the intent a log, and then it runs out of memory after a short while. Here's an excerpt:

03-22 10:22:47.200 D/dalvikvm( 3668): GC_EXPLICIT freed 6K, 50% free 2698K/5379K, external 0K/0K, paused 56ms
03-22 10:22:47.310 I/ActivityManager( 1324): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.gm/.ConversationListActivityGmail bnds=[288,716][384,800] } from pid 2715
03-22 10:22:47.320 I/ActivityManager( 1324): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x2000000 cmp=com.google.android.gm/.ConversationListActivity bnds=[288,716][384,800] } from pid 4512
03-22 10:22:47.340 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408e6a40 enabled= true
03-22 10:22:47.340 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408e6a40 enabled= true
03-22 10:22:47.390 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:47.471 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40a45698 enabled= true
03-22 10:22:47.471 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40a45698 enabled= true
03-22 10:22:47.611 D/dalvikvm( 4512): GC_CONCURRENT freed 769K, 67% free 4047K/12039K, external 6K/518K, paused 1ms+7ms
03-22 10:22:47.611 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:47.611 W/InputManagerService( 1324): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409f3418 (uid=10081 pid=4512)
03-22 10:22:47.611 W/InputManagerService( 1324): Client not active, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408943e8
03-22 10:22:47.661 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408abda8 enabled= true
03-22 10:22:47.661 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408abda8 enabled= true
03-22 10:22:47.721 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:47.811 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40632188 enabled= true
03-22 10:22:47.811 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40632188 enabled= true
03-22 10:22:47.851 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:47.931 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40a9b568 enabled= true
03-22 10:22:47.941 D/ViewConsistency( 4512): AbsListView android.widget.ListView@40a9b568 enabled= true
03-22 10:22:47.981 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:48.101 D/dalvikvm( 4512): GC_CONCURRENT freed 675K, 69% free 3805K/12039K, external 6K/518K, paused 2ms+6ms
03-22 10:22:48.111 D/ViewConsistency( 4512): AbsListView android.widget.ListView@405a9150 enabled= true
03-22 10:22:48.111 D/ViewConsistency( 4512): AbsListView android.widget.ListView@405a9150 enabled= true
03-22 10:22:48.221 D/dalvikvm( 1324): GC_EXPLICIT freed 960K, 35% free 8077K/12423K, external 1568K/2080K, paused 72ms
03-22 10:22:48.301 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:48.301 W/InputManagerService( 1324): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409f3418 (uid=10081 pid=4512)
03-22 10:22:48.301 W/InputManagerService( 1324): Client not active, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40a59340
03-22 10:22:48.341 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077efe0 enabled= true
03-22 10:22:48.341 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077efe0 enabled= true
03-22 10:22:48.391 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:48.482 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4080abf8 enabled= true
03-22 10:22:48.482 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4080abf8 enabled= true
03-22 10:22:48.532 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:48.612 D/dalvikvm( 1415): GC_CONCURRENT freed 441K, 44% free 3885K/6855K, external 0K/0K, paused 2ms+2ms
03-22 10:22:48.682 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077d188 enabled= true
03-22 10:22:48.702 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077d188 enabled= true
03-22 10:22:48.712 D/dalvikvm( 4512): GC_CONCURRENT freed 253K, 67% free 3996K/12039K, external 6K/518K, paused 2ms+5ms
03-22 10:22:48.782 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:48.882 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077d788 enabled= true
03-22 10:22:48.882 D/ViewConsistency( 4512): AbsListView android.widget.ListView@4077d788 enabled= true
03-22 10:22:48.952 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:49.052 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408fac60 enabled= true
03-22 10:22:49.052 D/ViewConsistency( 4512): AbsListView android.widget.ListView@408fac60 enabled= true
03-22 10:22:49.112 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:49.222 D/ViewConsistency( 4512): AbsListView android.widget.ListView@407bd140 enabled= true
03-22 10:22:49.222 D/ViewConsistency( 4512): AbsListView android.widget.ListView@407bd140 enabled= true
03-22 10:22:49.312 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:49.372 D/dalvikvm( 4512): GC_CONCURRENT freed 513K, 68% free 3937K/12039K, external 6K/518K, paused 2ms+2ms
03-22 10:22:49.412 E/msm7x30.gralloc( 1324): /dev/pmem: no more pmem available
03-22 10:22:49.412 E/msm7x30.gralloc( 1324): couldn't open pmem (No such file or directory)
03-22 10:22:49.412 E/msm7x30.gralloc( 1324): gralloc failed err=Out of memory
03-22 10:22:49.412 W/GraphicBufferAllocator( 1324): alloc(480, 800, 2, 00000133, ...) failed -12 (Out of memory)
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): Allocated buffers:
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0xfeb80: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x1ae318: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x1ed7e0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x253240: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x3d8d20: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x40ac48: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x41b330: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x46e5c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x470e38: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x47f9c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x4e6bc0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x556948: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x57a2c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x57f778: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x599788: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.412 D/GraphicBufferAllocator( 1324): 0x5dfeb0: 1346.25 KiB | 480 ( 480) x 718 | 1 | 0x00000
03-22 10:22:49.412 E/SurfaceFlinger( 1324): Layer::requestBuffer(this=0x850e80), index=0, w=480, h=800 failed (Out of memory)
03-22 10:22:49.412 E/Surface ( 4512): Surface (identity=1118) requestBuffer(0, 0, 0, 0, 00000033) returned a buffer with a null handle
03-22 10:22:49.412 E/Surface ( 4512): getBufferLocked(0, 0, 0, 0, 00000033) failed (Out of memory)
03-22 10:22:49.412 E/Surface ( 4512): dequeueBuffer failed (Out of memory)
03-22 10:22:49.412 E/ViewRoot( 4512): OutOfResourcesException locking surface
03-22 10:22:49.412 E/ViewRoot( 4512): android.view.Surface$OutOfResourcesException
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.view.Surface.lockCanvasNative(Native Method)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.view.Surface.lockCanvas(Surface.java:314)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.view.ViewRoot.draw(ViewRoot.java:1488)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.view.ViewRoot.performTraversals(ViewRoot.java:1263)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.view.ViewRoot.handleMessage(ViewRoot.java:1892)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.os.Handler.dispatchMessage(Handler.java:99)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.os.Looper.loop(Looper.java:130)
03-22 10:22:49.412 E/ViewRoot( 4512):	at android.app.ActivityThread.main(ActivityThread.java:3835)
03-22 10:22:49.412 E/ViewRoot( 4512):	at java.lang.reflect.Method.invokeNative(Native Method)
03-22 10:22:49.412 E/ViewRoot( 4512):	at java.lang.reflect.Method.invoke(Method.java:507)
03-22 10:22:49.412 E/ViewRoot( 4512):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
03-22 10:22:49.412 E/ViewRoot( 4512):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
03-22 10:22:49.412 E/ViewRoot( 4512):	at dalvik.system.NativeStart.main(Native Method)
03-22 10:22:49.432 D/ViewConsistency( 4512): AbsListView android.widget.ListView@405cbe60 enabled= true
03-22 10:22:49.432 D/ViewConsistency( 4512): AbsListView android.widget.ListView@405cbe60 enabled= true
03-22 10:22:49.493 I/ActivityManager( 1324): Starting: Intent { cmp=com.google.android.gm/.ConversationListActivity } from pid 4512
03-22 10:22:49.563 E/msm7x30.gralloc( 1324): /dev/pmem: no more pmem available
03-22 10:22:49.563 E/msm7x30.gralloc( 1324): couldn't open pmem (No such file or directory)
03-22 10:22:49.563 E/msm7x30.gralloc( 1324): gralloc failed err=Out of memory
03-22 10:22:49.563 W/GraphicBufferAllocator( 1324): alloc(480, 800, 2, 00000133, ...) failed -12 (Out of memory)
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): Allocated buffers:
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0xfeb80: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x1ae318: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x1ed7e0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x253240: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x3d8d20: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x40ac48: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x41b330: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x46e5c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x470e38: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x47f9c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x4e6bc0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x556948: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x57a2c0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x57f778: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x599788: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
03-22 10:22:49.563 D/GraphicBufferAllocator( 1324): 0x5dfeb0: 1346.25 KiB | 480 ( 480) x 718 | 1 | 0x00000
03-22 10:22:49.563 E/SurfaceFlinger( 1324): Layer::requestBuffer(this=0x579d80), index=0, w=480, h=800 failed (Out of memory)
03-22 10:22:49.563 E/Surface ( 4512): Surface (identity=1119) requestBuffer(0, 0, 0, 0, 00000033) returned a buffer with a null handle
03-22 10:22:49.563 E/Surface ( 4512): getBufferLocked(0, 0, 0, 0, 00000033) failed (Out of memory)
03-22 10:22:49.563 E/Surface ( 4512): dequeueBuffer failed (Out of memory)
03-22 10:22:49.563 E/ViewRoot( 4512): OutOfResourcesException locking surface
03-22 10:22:49.563 E/ViewRoot( 4512): android.view.Surface$OutOfResourcesException
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.view.Surface.lockCanvasNative(Native Method)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.view.Surface.lockCanvas(Surface.java:314)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.view.ViewRoot.draw(ViewRoot.java:1488)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.view.ViewRoot.performTraversals(ViewRoot.java:1263)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.view.ViewRoot.handleMessage(ViewRoot.java:1892)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.os.Handler.dispatchMessage(Handler.java:99)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.os.Looper.loop(Looper.java:130)
03-22 10:22:49.563 E/ViewRoot( 4512):	at android.app.ActivityThread.main(ActivityThread.java:3835)
03-22 10:22:49.563 E/ViewRoot( 4512):	at java.lang.reflect.Method.invokeNative(Native Method)
03-22 10:22:49.563 E/ViewRoot( 4512):	at java.lang.reflect.Method.invoke(Method.java:507)
03-22 10:22:49.563 E/ViewRoot( 4512):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
03-22 10:22:49.563 E/ViewRoot( 4512):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
03-22 10:22:49.563 E/ViewRoot( 4512):	at dalvik.system.NativeStart.main(Native Method)
03-22 10:22:49.583 D/ViewConsistency( 4512): AbsListView android.widget.ListView@407bfc18 enabled= true
03-22 10:22:49.583 D/ViewConsistency( 4512): AbsListView android.widget.ListView@407bfc18 enabled= true

I'm hoping someone might have an idea on what to do here? Should I full wipe the phone?