New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent crashes near the start / end of episodes, during MediaSessionCompat.setMetadata() #2122
Comments
Quick fix: Turn off the lockscreen background Images need huge amounts of memory and older phones often do not have that. |
@mfietz Thanks for the quick response. I was about to say I had lockscreen background disabled, but I double-checked it and found it was indeed enabled. I will try out to have lockscreen background disabled, and update later, to see if this is indeed the issue (and the workaround). |
@mfietz The workaround (disable lockscreen background) resolved most of the crashes. Thanks! I still got (a few times) crashes with the |
I logged the separate crashes with |
@orionlee does Bigpet@7dd21c7 catch this without crashing ? Build an apk with it at https://www.petertissen.de/temp_files/app-play-release.apk if you don't want to build it yourself. |
Workaround (Sep 29 2016):
If your device is entry level or has little memory, try disabling lockscreen background in the settings. Disabling lockscreen background probably would alleviate most of the problems.
Problem Summary:
OutOfMemoryError
stacktrace shows it is triggered byBitmap.nativeCopy()
< ... ... <MediaSessionCompat.setMetadata()
<antennapod...PlaybackService$$Lambda$2.run()
Any help would be appreciated. Thanks!
App version: 1.6.1.2 from Play (and later a Custom Release Build based on 1.6.1.2 with PR #2117)
Android version: 4.1.2
Devide model: Samsung Galaxy Exhibit T-599H
First occured: a few weeks ago when I first used AntennaPod (1.6.1.2)
Environment: [Settings you have changed, e.g. Auto Download. "Unusual" devices you use, e.g. Bluetooth headphones. Do you still use Prestissimo?]
Stacktrace/Logcat:
An excerpt:
Before or after such error, there often are some
ClassCastException
fromInteger
toLong
The text was updated successfully, but these errors were encountered: