Locus crashes

Started by mercutio76, December 19, 2011, 15:15:27

0 Members and 1 Guest are viewing this topic.

mercutio76

Hello all,

since the update to 1.15.1 Locus Pro & Locus free always crashes some seconds after starting. I did uninstall it and reinstalled it, but it did not help. I Thought perhaps some problems with to many POIs and then deleted some database files but it always crashes with an java.lang.IllegalArgumentException in java.util.TimSort I could not figure out the details of the problem, but I can not use Locus at the moment at all. Does anybody has the same error and knows perhaps a solution to the problem?

Thank you!
          Best regards

P.S.: My mobile is a Samsung GT-i9000
  •  

Castingfotograf

#1
Same at my Phone! Samsung Galaxy Tab P1000 , O/S Gingerbread 2.3.6 with stock kernel. Pro-Version (I've sent you the crash logs right now)
  •  

MMM

#2
I have the same problem... (ZTE Blade, 2.1-update1)
Here the crash log

<entry key="STACK_TRACE_KEY">java.lang.RuntimeException: An error occured while executing doInBackground()
   at android.os.AsyncTask$3.done(AsyncTask.java:214)
   at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
   at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
   at java.util.concurrent.FutureTask.run(FutureTask.java:137)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:565)
   at java.lang.Thread.run(Thread.java:1096)
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeLo(TimSort.java:743)
   at java.util.TimSort.mergeAt(TimSort.java:479)
   at java.util.TimSort.mergeCollapse(TimSort.java:404)
   at java.util.TimSort.sort(TimSort.java:210)
   at java.util.TimSort.sort(TimSort.java:169)
   at java.util.Arrays.sort(Arrays.java:2500)
   at menion.android.locus.core.bk.doInBackground(L:1)
   at android.os.AsyncTask$2.call(AsyncTask.java:199)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
   ... 4 more
java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeLo(TimSort.java:743)
   at java.util.TimSort.mergeAt(TimSort.java:479)
   at java.util.TimSort.mergeCollapse(TimSort.java:404)
   at java.util.TimSort.sort(TimSort.java:210)
   at java.util.TimSort.sort(TimSort.java:169)
   at java.util.Arrays.sort(Arrays.java:2500)
   at menion.android.locus.core.bk.doInBackground(L:1)
   at android.os.AsyncTask$2.call(AsyncTask.java:199)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
   at java.util.concurrent.FutureTask.run(FutureTask.java:137)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:565)
   at java.lang.Thread.run(Thread.java:1096)
</entry>
  •  

berkley

#3
Hi guys,

Is this still valid for version 1.15.2? Because there should have been some bugfixes...
You can check check your version with opening the "main menu", clicking on "Locus" and finally "Information about the app"...

If this issue isn't solved yet, you can do professional error reporting as shown on this video:
http://www.youtube.com/watch?v=RcOnjI6pzG8

Hope everything will work soon again ;)

Cheers, berkley
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •  

Menion

#4
sorry guys, stupid error in android. I'm caching already generated vector maps into directory locus/cache/maps/vector. During start, I check if this directory contain more then 1000 files, and if so, I just sort them by last updated time, and delete last 500 files. Unfortunately on this sorting process, android crash for some stupid, unexpected, error "Comparison method violates its general contract". So best is to delete this cache directory, then it should work again (at least for a while). I have to release next version again soon, this is too critical error ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Castingfotograf

#5
Thank you for this hint. After deleting these files, Locus works perfectly again!
  •  

MMM

#6
I saw your hint too late...
So yesterday evening I uninstalled Locus and deleted the whole Locus directory. After installation it works again...
Next time I know to delete only the cache... ;-)
  •  

Menion

#7
sorry guys, I'll release today or tomorrow morning new version. This is some weird system error, damn ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •