Chaosbit / open-gpstracker

Automatically exported from code.google.com/p/open-gpstracker
0 stars 0 forks source link

Crash on HTC Desire #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Don't know, see "additional information" ...

What is the expected output? What do you see instead?
Application running. Crash message ;-)

What version of the product are you using? On what operating system?
Open GPS Tracker 0.9.14
HTC Desire with Android 2.1 (firmware 2.1-update1).

Please provide any additional information below.

I have installed the application and it seemed to run. Just a day ago I
tried to track one-day journey with many pause/resume tracking and GPS
on/off switching (I probably resume tracking with GPS off, and then I
switched the GPS on ...). The application crashed few times, but it seemed
to continue when started again. However, after the last crash it did not
start again (with "... application crashed ..." message) and it is not
working since. Even when the phone was switched off/on several times, the
application is still crashing ...

GPS module was off when the attached log was get. However, the app craches
also when GPS is on.

Write to dtihelka/gmail, if you need more info.

Original issue reported on code.google.com by dtihe...@gmail.com on 23 Apr 2010 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago
Hi dtihelka, 

Many thanks for your detailed report!

Cause:
"many pause/resume tracking": each pause/resume splits the track in segments. 
Each
track-segment allocates a new bitmap buffer. Causing the total "bitmap size 
exceeds
VM budget". A bug introduced by moving from 1 segment to multi-segment tracks.

Fix:
The 0.15 (beta) release uses 1 buffer for all segments. I'm searching for time 
to
finish this version and release it to the Android market. The new KMZ export is
causing some delay there.

Workaround:
The continual crashes at startup are failing attempts to render the last
multi-segment track. A workaround is avoid opening this track in the map 
viewer. This
is a bit hard because the opening windows does just that! To directly open an 
older
track add a Folder widget on a home screen. Select the Tracks type as folder 
type. An
alternative is to enable Tracks as Searchable item and use the global search on 
the
device to find a specific track name.

Original comment by rcgr...@gmail.com on 23 Apr 2010 at 12:38