cgeo/c-geo-opensource — Issue #1238: Fatal Error while updating stored caches
Author: jimmypt
Created: 2012-03-06 13:06:45+00:00
State: open

Hi, I have a new report to do.

I have a lot of stored caches on my mobile. Yesterday I try to update them, so I begging with the first group, with 61 caches, no problem, them I go to the second, with 48, on the 21 the programs crash, I close it and start the aLogCat, here's the result:

> --------- beginning of /dev/log/main
D/dalvikvm(31172): GC_CONCURRENT freed 235K, 48% free 2973K/5639K, external 0K/0K, paused 4ms+5ms
D/dalvikvm(30601): GC_FOR_MALLOC freed 2K, 58% free 11925K/27911K, external 1518K/1982K, paused 74ms
I/dalvikvm-heap(30601): Grow heap (frag case) to 18.094MB for 2679312-byte allocation
D/dalvikvm(30601): GC_FOR_MALLOC freed 0K, 48% free 14541K/27911K, external 1518K/1982K, paused 68ms
D/dalvikvm(30601): GC_CONCURRENT freed 11K, 48% free 14536K/27911K, external 1518K/1982K, paused 8ms+8ms
D/cgeo (30601): GET http://img.geocaching.com/cache/log/c7990631-f982-4c30-85b7-9eb2db372329.jpg
--------- beginning of /dev/log/system
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant( 286): CTRL-EVENT-SCAN-RESULTS Ready
I/x (30927): Not returning location for the following outliers: [146899733192]
D/cgeo (30601): 200 (1870 ms) GET http://img.geocaching.com/cache/log/c7990631-f982-4c30-85b7-9eb2db372329.jpg
D/dalvikvm(30601): GC_FOR_MALLOC freed 5426K, 67% free 9305K/27911K, external 1518K/1982K, paused 77ms
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30927): GC_CONCURRENT freed 466K, 47% free 3602K/6791K, external 0K/0K, paused 72ms+11ms
D/dalvikvm(30296): GC_CONCURRENT freed 436K, 46% free 3695K/6727K, external 0K/0K, paused 4ms+7ms
I/dalvikvm-heap(30601): Grow heap (frag case) to 15.862MB for 3021840-byte allocation
D/dalvikvm(30601): GC_FOR_MALLOC freed <1K, 57% free 12255K/27911K, external 1518K/1982K, paused 62ms
D/dalvikvm(30601): GC_CONCURRENT freed <1K, 57% free 12259K/27911K, external 1518K/1982K, paused 10ms+7ms
D/dalvikvm(25418): GC_CONCURRENT freed 434K, 53% free 2737K/5703K, external 0K/0K, paused 12ms+6ms
D/dalvikvm(30601): GC_FOR_MALLOC freed 2K, 57% free 12259K/27911K, external 1518K/1982K, paused 74ms
I/dalvikvm-heap(30601): Grow heap (frag case) to 18.748MB for 3021840-byte allocation
D/dalvikvm(30601): GC_FOR_MALLOC freed 0K, 46% free 15210K/27911K, external 1518K/1982K, paused 69ms
D/dalvikvm(30601): GC_CONCURRENT freed 2K, 46% free 15215K/27911K, external 1518K/1982K, paused 5ms+8ms
D/cgeo (30601): GET http://img.geocaching.com/cache/log/b864cc3c-245f-46cd-8173-29822b36bc3e.jpg
D/cgeo (30601): 200 (491 ms) GET http://img.geocaching.com/cache/log/b864cc3c-245f-46cd-8173-29822b36bc3e.jpg
D/dalvikvm(30601): GC_FOR_MALLOC freed 6105K, 67% free 9305K/27911K, external 1518K/1982K, paused 76ms
I/dalvikvm-heap(30601): Grow heap (frag case) to 22.141MB for 9605888-byte allocation
D/dalvikvm(30601): GC_FOR_MALLOC freed <1K, 34% free 18685K/27911K, external 1518K/1982K, paused 76ms
D/dalvikvm(30601): GC_CONCURRENT freed <1K, 34% free 18689K/27911K, external 1518K/1982K, paused 7ms+8ms
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant( 286): CTRL-EVENT-SCAN-RESULTS Ready
I/x (30927): Not returning location for the following outliers: [146899733192]
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30601): GC_FOR_MALLOC freed 2K, 34% free 18689K/27911K, external 1518K/1982K, paused 80ms
I/dalvikvm-heap(30601): Forcing collection of SoftReferences for 9605888-byte allocation
D/dalvikvm(30601): GC_FOR_MALLOC freed <1K, 34% free 18688K/27911K, external 1518K/1982K, paused 63ms
E/dalvikvm-heap(30601): Out of memory on a 9605888-byte allocation.
I/dalvikvm(30601): "Thread-65" prio=1 tid=9 RUNNABLE
I/dalvikvm(30601): | group="main" sCount=0 dsCount=0 obj=0x4071fe68 self=0x75c730
I/dalvikvm(30601): | sysTid=31090 nice=19 sched=0/0 cgrp=bg_non_interactive handle=7644240
I/dalvikvm(30601): at org.apache.http.util.ByteArrayBuffer.toByteArray(ByteArrayBuffer.java:~124)
I/dalvikvm(30601): at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:85)
I/dalvikvm(30601): at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:62)
I/dalvikvm(30601): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:93)
I/dalvikvm(30601): at cgeo.geocaching.cgBase.storeCache(cgBase.java:2532)
I/dalvikvm(30601): at cgeo.geocaching.cgeocaches$LoadDetailsThread.run(cgeocaches.java:1969)
I/dalvikvm(30601):
W/dalvikvm(30601): threadid=9: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime(30601): FATAL EXCEPTION: Thread-65
E/AndroidRuntime(30601): java.lang.OutOfMemoryError
E/AndroidRuntime(30601): at org.apache.http.util.ByteArrayBuffer.toByteArray(ByteArrayBuffer.java:124)
E/AndroidRuntime(30601): at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:85)
E/AndroidRuntime(30601): at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:62)
E/AndroidRuntime(30601): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:93)
E/AndroidRuntime(30601): at cgeo.geocaching.cgBase.storeCache(cgBase.java:2532)
E/AndroidRuntime(30601): at cgeo.geocaching.cgeocaches$LoadDetailsThread.run(cgeocaches.java:1969)
W/ActivityManager( 192): Force finishing activity cgeo.geocaching/.cgeocaches
I/cgeo (30601): Using last location from network
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
I/cgeo (30601): Location service started
E/WindowManager(30601): Activity cgeo.geocaching.cgeocaches has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40b44ed0 that was originally added here
E/WindowManager(30601): android.view.WindowLeaked: Activity cgeo.geocaching.cgeocaches has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40b44ed0 that was originally added here
E/WindowManager(30601): at android.view.ViewRoot.(ViewRoot.java:259)
E/WindowManager(30601): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
E/WindowManager(30601): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/WindowManager(30601): at android.view.Window$LocalWindowManager.addView(Window.java:465)
E/WindowManager(30601): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager(30601): at cgeo.geocaching.cgeocaches.onOptionsItemSelected(cgeocaches.java:990)
E/WindowManager(30601): at android.app.Activity.onMenuItemSelected(Activity.java:2205)
E/WindowManager(30601): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:776)
E/WindowManager(30601): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
E/WindowManager(30601): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
E/WindowManager(30601): at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:137)
E/WindowManager(30601): at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:873)
E/WindowManager(30601): at android.widget.AdapterView.performItemClick(AdapterView.java:284)
E/WindowManager(30601): at android.widget.ListView.performItemClick(ListView.java:3513)
E/WindowManager(30601): at android.widget.AbsListView$PerformClick.run(AbsListView.java:1849)
E/WindowManager(30601): at android.os.Handler.handleCallback(Handler.java:587)
E/WindowManager(30601): at android.os.Handler.dispatchMessage(Handler.java:92)
E/WindowManager(30601): at android.os.Looper.loop(Looper.java:130)
E/WindowManager(30601): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/WindowManager(30601): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(30601): at java.lang.reflect.Method.invoke(Method.java:507)
E/WindowManager(30601): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/WindowManager(30601): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/WindowManager(30601): at dalvik.system.NativeStart.main(Native Method)
I/wpa_supplicant( 286): CTRL-EVENT-SCAN-RESULTS Ready
E/libloc ( 192): loc_eng_inject_location: GPS not initialized.
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
I/Process (30601): Sending signal. PID: 30601 SIG: 9
I/ActivityManager( 192): Process cgeo.geocaching (pid 30601) has died.
I/WindowManager( 192): WIN DEATH: Window{40556820 cgeo.geocaching/cgeo.geocaching.cgeo paused=false}
W/GpsLocationProvider( 192): Unneeded remove listener for uid 1000
W/InputManagerService( 192): Got RemoteException sending setActive(false) notification to pid 30601 uid 10093
I/AudioHardwareMSM72XX( 136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 136): Enabling post proc features with mask 0x0000
W/AudioFlinger( 136): write blocked for 272 msecs, 389 delayed writes, thread 0xc9f8
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
E/libloc ( 192): loc_eng_inject_location: GPS not initialized.
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
D/dalvikvm( 2211): GC_EXTERNAL_ALLOC freed 1219K, 58% free 3808K/8903K, external 7708K/7744K, paused 86ms
I/ActivityManager( 192): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity } from pid 2211
I/ActivityManager( 192): Start proc org.jtb.alogcat for activity org.jtb.alogcat/.LogActivity: pid=31200 uid=10112 gids={1007, 1015}
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 46K, 50% free 2698K/5379K, external 0K/0K, paused 48ms
V/alogcat (31200): created
V/alogcat (31200): started
I/alogcat (31200): new intent: android.intent.action.MAIN
D/alogcat (31200): canceling periodic saves
V/alogcat (31200): resumed
D/alogcat (31200): starting ...
I/ActivityManager( 192): Displayed org.jtb.alogcat/.LogActivity: +511ms
W/InputMethodManager(31200): Ignoring onBind: cur seq=885, given seq=884
I/AudioHardwareMSM72XX( 136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 136): disabling post proc features with mask 0x0000
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 245K, 50% free 2839K/5575K, external 509K/519K, paused 65ms
I/AudioHardwareMSM72XX( 136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 136): Enabling post proc features with mask 0x0000
W/AudioFlinger( 136): write blocked for 270 msecs, 390 delayed writes, thread 0xc9f8
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
W/InputManagerService( 192): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40b37b68
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 221K, 49% free 2858K/5575K, external 1033K/1042K, paused 57ms
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 46K, 49% free 2849K/5575K, external 1513K/1518K, paused 56ms
I/AudioHardwareMSM72XX( 136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 136): disabling post proc features with mask 0x0000
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant( 286): CTRL-EVENT-SCAN-RESULTS Ready
I/x (30927): Not returning location for the following outliers: [146899733192]
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30927): GC_CONCURRENT freed 479K, 47% free 3601K/6791K, external 0K/0K, paused 4ms+15ms
D/dalvikvm(31200): GC_CONCURRENT freed 248K, 50% free 2863K/5639K, external 1561K/1664K, paused 5ms+5ms
D/dalvikvm( 2114): GC_CONCURRENT freed 388K, 45% free 3848K/6919K, external 0K/0K, paused 8ms+12ms
D/WifiService( 192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant( 286): CTRL-EVENT-SCAN-RESULTS Ready
I/x (30927): Not returning location for the following outliers: [146899733192]
D/WifiService( 192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30296): GC_CONCURRENT freed 496K, 46% free 3671K/6727K, external 0K/0K, paused 4ms+7ms
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/AudioHardwareMSM72XX( 136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX( 136): Enabling post proc features with mask 0x0000
W/AudioFlinger( 136): write blocked for 268 msecs, 391 delayed writes, thread 0xc9f8