Closed GoogleCodeExporter closed 9 years ago
This morning MyTrack had a "forced closed" when I clicked the button to save
the track. However, when I restart the app (and unlike yesterday, it started
by loading in the track as I would expect), it appears to have saved the track.
I have attached the log file.
Original comment by bhecht4...@gmail.com
on 31 Aug 2011 at 1:11
Attachments:
Happened again last night. Started a new track and left it in the foreground.
When I arrived at my destination, MyTracks was still in the foreground. I
pushed the button to save, but nothing happened until the window opened that
sid MyTracks is not ressponding. Waited a while and tried again. MyTracks was
still not responding. So I "forced closed" it. I looked and there was no icon
showing MyTracks running. But when I restarted MyTracks, it was still
recording the track. I was then able to save the track as normal.
I've attached the log file.
Original comment by bhecht4...@gmail.com
on 2 Sep 2011 at 3:31
Attachments:
I had this happen to me today as well. Force close when I stopped recording,
but the track had been saved and the recording had stopped okay. Haven't seen
this previously. Thought I would add another log in case it helps.
Original comment by jaredcas...@gmail.com
on 3 Sep 2011 at 11:28
Attachments:
A few of the logs and the dev console have a stack trace like:
ava.util.concurrent.RejectedExecutionException: pool=0/1, queue=0
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPool
Executor.java:1961)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:794)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1315)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java
:85)
at
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:61
2)
at
com.google.android.apps.mytracks.services.TrackRecordingService$1.onLocationChan
ged(TrackRecordingService.java:156)
at
android.location.LocationManager$ListenerTransport._handleMessage(LocationManage
r.java:227)
at
android.location.LocationManager$ListenerTransport.access$000(LocationManager.ja
va:160)
at
android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManag
er.java:176)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Basically it looks like some of the methods get called after the executor is
shutdown. I will move it's shutdown to the end and check the state before we
execute anything.
Original comment by sandordo...@google.com
on 6 Sep 2011 at 3:54
A few of the logs and the dev console have a stack trace like:
ava.util.concurrent.RejectedExecutionException: pool=0/1, queue=0
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPool
Executor.java:1961)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:794)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1315)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java
:85)
at
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:61
2)
at
com.google.android.apps.mytracks.services.TrackRecordingService$1.onLocationChan
ged(TrackRecordingService.java:156)
at
android.location.LocationManager$ListenerTransport._handleMessage(LocationManage
r.java:227)
at
android.location.LocationManager$ListenerTransport.access$000(LocationManager.ja
va:160)
at
android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManag
er.java:176)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Basically it looks like some of the methods get called after the executor is
shutdown. I will move it's shutdown to the end and check the state before we
execute anything.
Original comment by sandordo...@google.com
on 6 Sep 2011 at 3:54
Rodrigo please review:
http://code.google.com/r/sandordornbush-patches/source/detail?r=60cff0d20b5bc8c5
27050e899b8cf93360287075
Original comment by sandordo...@google.com
on 6 Sep 2011 at 9:45
Sorry for taking a bit - busy week.
Original comment by rdama...@google.com
on 11 Sep 2011 at 10:19
Original comment by sandordo...@google.com
on 19 Sep 2011 at 8:47
Original issue reported on code.google.com by
bhecht4...@gmail.com
on 31 Aug 2011 at 12:52Attachments: