-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Crash on playing music #957
Comments
I'm literally doing nothing wrong now. I'm just going to artifically delay the service launch by a couple hundred milliseconds to work around whatever is race condition is causing this. |
Try 4.0.0-dev4 @foss-? |
App still crashes but gives no crash log when re-opened. This happens sometimes on first song after tapping shuffle, sometimes first song plays time and a second tap on shuffle is needed. App becomes unresponsive for a brief moment then closes and users is on home screen. |
Wait, this is two distinct issues.
I need a crash report for #1. @foss- can you reproduce the issue and then take a bug report? |
The bug report contains too much info. Is this logcat info sufficient? It was created right after auxio crashes after tapping shuffle. In this case no audio ever played. 1 month: https://bin.disroot.org/?bd13202f37cb43fa#5osTFqr5XvQRots15gnhMPwQFsxDa6DkFQbZgQ6mbSS3 |
Out of memory crash, need to figure out what's going on @foss- |
Okay, turns out Musikr's native code is full of memory leaks. It probably is an OOM on your library. Will fix. |
Try this @foss-? |
Tapping shuffle results in message
When tapping a song to play app crashes and closes. |
That error you provided is a music loading error, you need to take another logcat on the song playback crash @foss-. |
Does this logcat inlcude the information you are looking for? 1 month: https://bin.disroot.org/?e7a19007948e4331#2fKogXwUu3UyLdCAguwdjvkYju1Hn11X6tNrHSwVBcUG |
Yeah, apparently at some point I turn an internal object into a string, which results in a... 16mb allocation that instantly knocks out the VM. Might need to audit some accidental printf debugging I left in the app, give me a moment @foss- Thanks for stresstesting too, I dont have a big library so you and e-zk's libs are basically my only way of knowing if I broke those or not |
Here's a new APK @foss-. This removes the debug log that allocated too much memory and crashed the app, but I'm partially concerned that your phone also has a strangely low memory limit and could be GC'ing constantly during playback (causing the unresponsiveness). In this case, I need to deep dive on what's changing memory-wise between versions. |
Describe the Bug/Crash
Auxio 4.0.0-dev3
Is this #825 all over?
Reproducible by tapping shuffle button on large library.
Describe the intended behavior
Should not crash.
What android version do you use?
Android 13
What device model do you use?
Xiaomi lisa
ArrowOS 13.1
Provide a sample file
N/A
Bug report
Duplicates
The text was updated successfully, but these errors were encountered: