Gramophone
Gramophone copied to clipboard
[BUG] Foreground exception
Describe the bug Crash report waking the app in the morning
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior Gramophone should wake and come to the foreground normally
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information): -Gramophone version: 1.0.8.04a37e
Brand: samsung Model: SM-T860 SDK Level: 32
Additional context
Thread: main
Time: 2024-06-10 08:28:23 --------- beginning of crash android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{f5d3f57 u0 org.akanework.gramophone/.logic.GramophonePlaybackService} at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2206) at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2177) at android.app.ActivityThread.access$3000(ActivityThread.java:324) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8855) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
did this ever happen again?
I've had a few more crashes, but not frequently.
This unfortunately appears to be something we can't really fix because it seems to happen on Android 12 only, sorry.
From Google's side there have been a few more bug fixes, did you ever have this again? If you did, I can add a workaround that just skips the crash reporter for these.
Lately I haven't seen it crash. Several times I have needed to force stop it and clean the cache because it hangs on this blank black screen bringing it to the fore, but I don't see a pattern for when or why. It isn't frequent.
that blank screen bug is already fixed in the dev version and I'm pushing out a release soon, that was quite the blunder that led to this bug. closing this issue as crash wasn't observed.