redfish64 / TinyTravelTracker

Private Android GPS tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map / GPS starting - Crash on Android 9

elmalla opened this issue · comments

After finishing the wizard, the app keep crashing when opening the Map (Android will keep showing wait or close app), here the messages that appear on the logcat:

D/GpsTrailerService: GPS Service Startup
D/GpsTrailerService: Flags is 1, current notset is NotificationSetting [iconId=-1, msgId=-1, sticky=false, onFlags=0, offFlags=64]
W/Notification: Use of stream types is deprecated for operations other than volume control
W/Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/GpsTrailerService: Flags is 65, current notset is NotificationSetting [iconId=-1, msgId=-1, sticky=false, onFlags=0, offFlags=64]
W/JobInfo: Requested interval +10m0s0ms for job 1 is too small; raising to +15m0s0ms
E/GpsTrailer: Debug log file: acquiring wake lock
E/GpsTrailer: Debug log file: acquired wake lock
Debug log file: About to enter synchronization block
Debug log file: About to update strategy
Debug log file: deltaTimeMs 0
Debug log file: currTimeMs 599643859 startTimeFromPhoneBoot 599343847totalTimeGpsRunning 0
Debug log file: currTimeMs 599658859 startTimeFromPhoneBoot 599343847totalTimeGpsRunning 0
Debug log file: About to update gpsReader to true
D/GpsTrailerService: Flags is 64, current notset is NotificationSetting [iconId=2131165311, msgId=2131558867, sticky=true, onFlags=0, offFlags=1]
W/Notification: Use of stream types is deprecated for operations other than volume control
See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/GpsTrailerService: Flags is 65, current notset is NotificationSetting [iconId=2131165311, msgId=2131558867, sticky=true, onFlags=0, offFlags=1]
E/GpsTrailer: Debug log file: About to set gpsOn and writeUpdateStatus
W/GpsTrailerTestUtil: Thread Thread[Thread-5996,5,main] Mode MODE_WRITE_STRATEGY_STATUS
W/GpsTrailerTestUtil: 38910 Mode 9: gpsOn t
W/GpsTrailerTestUtil: 38911 Mode 9: gpsAttemptStartedFromPhoneBootMs -1584172680307 1970-01-08 06:04:03.859
W/GpsTrailerTestUtil: 38912 Mode 9: gpsAttemptEndedFromPhoneBootMs -1584172980319 1970-01-08 05:59:03.847
W/GpsTrailerTestUtil: 38913 Mode 9: lastGpsReadingFromBootMs -1584772324166 1970-01-01 07:30:00.000
D/GpsTrailer: Starting on intent Intent { cmp=com.rareventure.gps2/.GpsTrailerService }
W/GpsTrailerTestUtil: 38914 Mode 9: lastGpsStatsUpdateFromPhoneBootMs -1584172680307 1970-01-08 06:04:03.859
W/GpsTrailerTestUtil: 38915 Mode 9: nextSignificantEventTime 14969
E/GpsTrailer: Debug log file: currTimeMs 599643890 startTimeFromPhoneBoot 599343847totalTimeGpsRunning 0
W/GpsTrailerTestUtil: 38916 Mode 9: freeGpsTimeMs 29684
W/GpsTrailerTestUtil: 38917 Mode 9: totalTimeGpsRunningMs 0
W/GpsTrailerTestUtil: 38918 Mode 9: totalTimeNotRunningGpsMs 300043
38919 Mode 9: totalSuccessfulGpsTries 0
W/GpsTrailerTestUtil: 38920 Mode 9: totalGpsTries 1
38921 Mode 9: longTimeWanted 120000
W/GpsTrailerTestUtil: 38922 Mode 9: shortTimeWanted 15000
E/GpsTrailer: Debug log file: gps use perc is 0.09893312
E/GpsTrailer: Debug log file: Looping while not shutdown
D/GpsTrailer: Received battery info, batteryLeft: 0.48
D/GpsTrailerService: Flags is 65, current notset is NotificationSetting [iconId=2131165311, msgId=2131558867, sticky=true, onFlags=0, offFlags=1]
Flags is 69, current notset is NotificationSetting [iconId=2131165283, msgId=2131558861, sticky=false, onFlags=69, offFlags=0]
W/Notification: Use of stream types is deprecated for operations other than volume control
See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/GpsTrailerService: GPS Service Shutdown
E/GpsTrailer: Debug log file: About to enter synchronization block
Debug log file: About to wait for 14927
Debug log file: releasing wake lock
E/GpsTrailer: Debug log file: released wake lock

E/GpsTrailer: Debug log file: released wake lock
D/GpsTrailer: Started apCaching...
D/GpsTrailer: loadNextPoints, count is 0
I/areventure.gps: Thread[3,tid=9989,WaitingInMainSignalCatcherLoop,Thread*=0x736dc16400,peer=0x130c0cf8,"Signal Catcher"]: reacting to signal 3
I/areventure.gps: Wrote stack traces to '[tombstoned]'
I/areventure.gps: Explicit concurrent copying GC freed 1128(110KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 2022KB/2MB, paused 114us total 35.871ms
I/areventure.gps: Thread[3,tid=9989,WaitingInMainSignalCatcherLoop,Thread*=0x736dc16400,peer=0x12d40cf8,"Signal Catcher"]: reacting to signal 3
I/areventure.gps: Wrote stack traces to '[tombstoned]'
Process 9983 terminated.

It used to work fine for me on Android 9, but since updating to Android 10, I'm getting similar results as the OP. Complete the wizard, then it appears to crash and won't open to the map.

I say appears to crash, because I got a notification (feature of Android 10), that Tiny Travel Tracker was still collecting my location in the background. This app is valuable to me, and I really don't want to use some "freewarez" app in it's place, so I hope this info helps. Thank you

Update: I solved the crashing on my phone, by turning on GPS. I didn't realize I had turned GPS off. Now that I've turned GPS on, it appears to be working as normal again. 🙂

I'm looking into this... sigh, android can't let my old betsy program keep working on its own.

I tried an emulator of Android 10 and it didn't crash, so I'm not sure what to do. I don't have time to chase this down unless other people also are having this issue.

I just reproduced this. I have recently installed LineageOS 18.1 and F-Droid. I installed Tiny Tracker and found the tutorial. When it ended, it crashed. I started it again and it kept crashing. I turned location on as @Sepero said and it started with an empty map.