Open GrazianoCapelli opened 1 year ago
I've had 2 crashes during the Xmas break. I didn't realize that the app had crashed before I ended the hike. How could I find a crash report to see if I experienced the same? I use the French UI.
Crash reports are sent by users to our Google developer console, and unfortunately they are not public. We are used to go on the developer console and publish here on GitHub the reported bugs. If you write here your device model and your Android version we could check on developer console if we had some crashes related to this bug for your device.
Anyway, this crash occurs during the app start, not during the background recording, thus I tend to exclude that your issue could be related to this bug.
Exception java.lang.RuntimeException: at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4858) at android.app.ActivityThread.access$2100 (ActivityThread.java:258) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2249) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loopOnce (Looper.java:233) at android.os.Looper.loop (Looper.java:344) at android.app.ActivityThread.main (ActivityThread.java:8204) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:589) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1071) Caused by android.app.ForegroundServiceStartNotAllowedException: at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel (ForegroundServiceStartNotAllowedException.java:54) at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel (ForegroundServiceStartNotAllowedException.java:50) at android.os.Parcel.readParcelable (Parcel.java:3380) at android.os.Parcel.createExceptionOrNull (Parcel.java:2467) at android.os.Parcel.createException (Parcel.java:2456) at android.os.Parcel.readException (Parcel.java:2439) at android.os.Parcel.readException (Parcel.java:2381) at android.app.IActivityManager$Stub$Proxy.setServiceForeground (IActivityManager.java:7231) at android.app.Service.startForeground (Service.java:733) at eu.basicairdata.graziano.gpslogger.GPSService.onStartCommand (GPSService.java:85) at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4840) Caused by android.os.RemoteException: Remote stack trace: at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked (ActiveServices.java:1895) at com.android.server.am.ActiveServices.setServiceForegroundLocked (ActiveServices.java:1408) at com.android.server.am.ActivityManagerService.setServiceForeground (ActivityManagerService.java:12678) at android.app.IActivityManager$Stub.onTransact (IActivityManager.java:3266) at com.android.server.am.ActivityManagerService.onTransact (ActivityManagerService.java:2702)
The crash occurs only in Android 12 systems (we had 5 crash reports in latest 60 days). The bug affects GPS Logger v48 (3.1.7) and v49 (3.2.0), but it could be present also on older versions, that have a smaller number of active installations.