This object is in archive! 

Locus crashing during startup

mambofive shared this problem 11 years ago
Solved

I`ve got a reproducable crash during startup of Locus. Locus crashes while the "loading" screen reaches 60-70%.


No log in /locus/logs, but catlog gave me this:


06-01 11:27:33.124 D/dalvikvm(16750): GC_FOR_MALLOC freed 23K, 10% free 25345K/28039K, external 4740K/5483K, paused 169ms


06-01 11:27:33.124 I/dalvikvm-heap(16750): Forcing collection of SoftReferences for 104620-byte allocation


06-01 11:27:33.296 I/dalvikvm-heap(16750): Clamp target GC heap from 33.647MB to 32.000MB


06-01 11:27:33.296 D/dalvikvm(16750): GC_FOR_MALLOC freed 0K, 10% free 25345K/28039K, external 4740K/5483K, paused 168ms


06-01 11:27:33.296 E/dalvikvm-heap(16750): Out of memory on a 104620-byte allocation.


06-01 11:27:33.296 I/dalvikvm(16750): "Thread-21" prio=5 tid=14 RUNNABLE JIT


06-01 11:27:33.296 I/dalvikvm(16750): | group="main" sCount=0 dsCount=0 obj=0x406bcee8 self=0xf1c18


06-01 11:27:33.296 I/dalvikvm(16750): | sysTid=16771 nice=0 sched=0/0 cgrp=default handle=992392


06-01 11:27:33.296 I/dalvikvm(16750): | schedstat=( 4046203604 1596984870 2053 )


06-01 11:27:33.311 I/dalvikvm(16750): at java.util.ArrayList.add(ArrayList.java:~123)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:221)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.rendertheme.renderinstruction.a.b(L:129)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:190)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:126)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:320)


06-01 11:27:33.311 I/dalvikvm(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:161)


06-01 11:27:33.311 I/dalvikvm(16750): at menion.android.maps.j.a(L:247)


06-01 11:27:33.311 I/dalvikvm(16750): at menion.android.maps.a.c.run(L:402)


06-01 11:27:33.311 I/dalvikvm(16750): at java.lang.Thread.run(Thread.java:1019)


06-01 11:27:33.311 I/dalvikvm(16750):


06-01 11:27:33.319 W/dalvikvm(16750): threadid=14: thread exiting with uncaught exception (group=0x40018560)


06-01 11:27:33.319 W/System.err(16750): java.lang.OutOfMemoryError


06-01 11:27:33.319 W/System.err(16750): at java.util.ArrayList.add(ArrayList.java:123)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:221)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.rendertheme.renderinstruction.a.b(L:129)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:190)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:126)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:320)


06-01 11:27:33.319 W/System.err(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:161)


06-01 11:27:33.319 W/System.err(16750): at menion.android.maps.j.a(L:247)


06-01 11:27:33.319 W/System.err(16750): at menion.android.maps.a.c.run(L:402)


06-01 11:27:33.319 W/System.err(16750): at java.lang.Thread.run(Thread.java:1019)


06-01 11:27:33.319 D/FlurryAgent(16750): Error logged: uncaught


06-01 11:27:33.319 D/FlurryAgent(16750): Ending session


06-01 11:27:33.319 E/AndroidRuntime(16750): FATAL EXCEPTION: Thread-21


06-01 11:27:33.319 E/AndroidRuntime(16750): java.lang.OutOfMemoryError


06-01 11:27:33.319 E/AndroidRuntime(16750): at java.util.ArrayList.add(ArrayList.java:123)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:221)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.rendertheme.renderinstruction.a.b(L:129)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:190)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.rendertheme.p.a(L:126)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:320)


06-01 11:27:33.319 E/AndroidRuntime(16750): at org.mapsforge.android.maps.mapgenerator.databaserenderer.c.a(L:161)


06-01 11:27:33.319 E/AndroidRuntime(16750): at menion.android.maps.j.a(L:247)


06-01 11:27:33.319 E/AndroidRuntime(16750): at menion.android.maps.a.c.run(L:402)


06-01 11:27:33.319 E/AndroidRuntime(16750): at java.lang.Thread.run(Thread.java:1019)


06-01 11:27:33.358 W/ActivityManager(1380): Force finishing activity menion.android.locus.pro/menion.android.locus.core.MainActivity


06-01 11:27:33.569 D/dalvikvm(16750): GC_FOR_MALLOC freed 17045K, 70% free 8524K/28039K, external 4740K/5483K, paused 167ms


06-01 11:27:34.522 D/dalvikvm(16750): GC_EXPLICIT freed 290K, 71% free 8289K/28039K, external 4612K/5483K, paused 72ms


06-01 11:27:35.913 I/Process (16750): Sending signal. PID: 16750 SIG: 9


Device is a Motorola Defy running on Android 2.3.6.

Replies (4)

photo
0

Hi Mambo,


as I can see from your log, it`s some problem with OutOfMemory in MapsForge library. It seems to be something like we already discuss here https://getsatisfaction.com/locus/top... isn`t it?


seems you enabled some (maybe Netherland?) map and closed Locus, and this maps now cause crash when is trying to load at start. You may try rename mapsVector directory. Locus will not find last used vector map and will load online MapQuest map. Then you may return vector maps back.


If this will be problem, seems that Moto Defy have some serious problems with using bigger amount of memory ...

photo
0

Aargh, of course you`re right, it`s the same problem with OOM in mapsforge library and netherland map... Sorry for double-posting.


I`ll try renaming the directory and choose a different map for netherlands.


BTW, it`s not a problem only on the Defy, on Motorola Milestone 2 Locus also crashes when using the netherlands map. Maybe it`s a Motorola problem...

photo
0

Maybe even Motorola with Motoblur? (like mine). Your`s is a Defy+ with A 2.3.6?

photo
0

Don`t know exactly, the Defy is my son`s device. But I`m pretty sure it`s running on A 2.3.6. My Milestone2 is running on 2.3.4.


Is this NL maps mapsforge problem really occuring only on Motorolas? I would expect such problems to be connected more to the Android version rather than to the hardware manufacturer.


However, now that I know the reason, this problem is not to important for me, I can switch to a different map for the next NL holiday ;-)

Replies have been locked on this page!