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 end of episodes. logcat shows SIGSEGV and java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long #2134
Comments
I don't think the issue is with our code. Seems to be caused by a bug in the system libraries (see those |
My guess is it is unlikely directly related to AntennaPod: most likely some perfectly correct code triggers underlying bug in system libraries. However, From an end user perspective, it is still an issue, no matter whether the problem is directly in AntennaPod or not. I used other podcast app on the same device without facing the same issue. I log it in case someone finds a workaround, say, changing AntennaPod settings, or some workaround in code. |
…h includes a rather large image which may cause an oom (related to AntennaPod#2134 )
based on this random bytecode disassembly I found online: https://searchcode.com/codesearch/view/42682199/ If someone wants to test the change it's here: Bigpet@65577cf (edit: didn't see "duration" woops: Bigpet@9c288a1 ) Edit2: These types are also used here, so making them long might not just be a samsung idiosyncrasy: position,duration,id, duration used |
@Bigpet After testing your changes for 7 days, ClassCastException has not appeared. The environment I've used
With autodelete on, I still got AP crashed once or twice, but no
[*] autodelete might have triggered the Prior to testing @Bigpet changes. I had tweaked my settings to disable autodelete (I used to have autodelete on), and did not encounter crashes reported here. So autodelete might have triggered the condition for some reason. During the period (pre @Bigpet changes, autodelete off), I did once encounter
|
Problem Summary:
App version: 1.6.1.2 (from Google Play)
Android version: 4.1.2
Devide model: Samsung Galaxy Exhibit T-599H
Environment: auto delete and smart mark as played are enabled.
Stacktrace/Logcat (brief):
It shows AntennaPod process (pid
7578
) encountered aSIGSEGV
, which seems to be due to a ClassCastException.logcat (full)
The text was updated successfully, but these errors were encountered: