symphony
symphony copied to clipboard
[Bug] Crash due to "Concurrent Modification Exception" when playing music and browsing through library
Description
Recently, Symphony has been crashing and showing fatal errors, occasionally. Today, when I was inside the app while playing music, the app crashed again and the error screen popped up. It showed the error "java.util.ConcurrentModificationException" (see below).
I had to close and restart the app, after which everything worked fine again.
Steps to Reproduce
Unfortunately, I could not find a way to cause the error again. It seems to be unrelated to anything I was doing. However, this is what I did:
- Open the application and start playing any track or playlist
- Stay in the application
- Browse inside the app and through the library
- The app crashes, throwing the error shown below
Expected Behavior
The error and crash, which happened here, shouldn't occur. Using the app to play files and browse through the library should work without anything going wrong.
Screenshots
Device
- Device: Sony Xperia XA2
- OS: Android 12 (LineageOS 19.1)
- Version: 2024.3.110
Additional Context
I have tried to obtain the logs through adb, however I couldn't get them for the time in question. If it is of any help, I can try again.
Checklist
- [x] I have read the Contribution Guidelines.
I'm not sure where that error is from due to obfuscation. I'll be attaching log-symbols from the next release, will be looking into this after that.
It's similar for my device as well, though it occurs when the application is in background, I usually start a lofi playlist and let the phone stay in background. After a while at some point this happens and when I unlock the phone, I see this error. It does seem that the crash occurs while tracks change from one to the next, that's after one song in the queue ends and a new one starts.