I am experiencing constant crashes ofthe VLC app. This actually predates the last OS update, an coincides with the last VLC update, but before pissing off any of the developers, I’d like to know if it’s just me, or if this could be a problem with more FP users.
I’m using VLC for Android v. 0.9.8 Revision 85f562c, compiled by jb@kahlan, 2014-07-31. It crashes during playback, the logcat reporting a Java error warning. W/dalvikvm(818007): JNI WARNING deleteLocalRef(HEXCODEADRESS) failed to find entry.
So, anyone also experiencing this kind of crashes?
Also, someone running the same version experiencing no crashes at all?
Sidenote: I’d also be delighted if anyone could tell me why on earth a music player app like VLC is accessing MCC and MNC of my phone. I already find it frustrating enough that any error log I send apparently contains the devices serial, but why MCC and MNC? Seriously puzzling…
About your side note regarding MCC and MNC in the error logs: why not post a question or a ‘feature request’ in the Videolan Forums, section VLC for Android? (Maybe there’s already an answer there, I have not looked).
@Stefan: The thing is, it DID work. Quite smoothly, until recently. Since lately, it’s been rendered unusable, while I don’t see many others complaining.
I really like using FOSS software, despite all glitches.
@JanDoggen, in my case it pops up when VLC crashes, giving me the option to send it to the developers. (I installed VLC via the PlayStore, not from F-Droid - maybe, that’s working differently for the version there?) However, the wiki says I should look in the SD root. Going to try that out later.
I did the partition update yesterday. After that I used VLC just very briefly may be 2 mp3-Songs. It didnt crash so far. As soon as it will I will have a look on the JNI warning.
Normally I’m using VLC for mp3s only. So until now the crashes came while playing mp3s.
@Mnementh, if you scroll down to the bottom of this logfile, you should see the last things VLC did, i.e., the crash.
By the way, @all, I checked on the location of the log and did NOT find it after the crash. However, I did find a log I dumped manually, which should have been in the root of my SD card - as stated above. It was at another location - which I find rather interesting.
Apparently, the repartitioning still tells apps that there are multiple partitions / SD cards
If I check with a file browser, e.g. OI File Manager (available via F-Droid), then I see under the button/directory link “storage” that there are three directories. The first is /emulated, the second /sdcard0, and the third /sdcard1.
/emulated is created in the moment I power up my device, apparently. In it, there is an emulated SD card, called 0, and a folder /legacy. Both are apparently links to the same content /sdcard0. This is where I found my manually dumped vlc_logcat_$DATE_$TIME.log file
Now, I’ve got three four questions:
Could someone please confirm this?
Could someone who knows something about Android in general, and probably specifically about the FP OS partition unification tell us something about the rationale of this?
Could someone who knows something about Linux and Android (and VLC?) tell us if this is probably a cause of those crashes?
Most importantly:
If this might be the reason for crashes (and other problems), can we change this?
Not sure if it can explain vlc crashing. The folder structure has been out there for some time, even if it didn’t reach FP until now (with the unified partition) so vlc ought to have taken it into account in recent versions. But it might explain that some users have had problems when restoring backup files after the 1.6 update.
Following @kgha 's explanation, I thought “hey, I restored VLC from the backup, perhaps it’s having a problem with the change in the folder structure - let’s delete it an re-install it!”
Did that. Still screwed.
And while I hit the “send log” button, there is no logcat to be found. Nowhere. So I can’t even notify the developers.
Maybe its a different issue, but I have the following problem. When I play music and use the “simple sleep timer” app and the FP goes into standby it crashes.
Without sleep timer it does not crash.
I found out, that VLC almost always crashes, when I open an app and then the FP’s screen gets dark. If I am.in the home screen and the screen gets dark, VLC most times does not crash.
Thanks, @Stefan. Interesting observation. I’ll have to test that. (When I have a working FP again. )
Do you have an instant screen lock set up when the display turns itself off? I have mine set to 3 min, and it seems the locking (not the display turn off) causes the crashes.