zyrouge / symphony

🎵 Lightweight, elegant music player for Android 9+.

Home Page:https://zyrouge.github.io/symphony/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Crash due to "Concurrent Modification Exception" when playing music and browsing through library

Currrupted opened this issue · comments

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:

  1. Open the application and start playing any track or playlist
  2. Stay in the application
  3. Browse inside the app and through the library
  4. 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

photo_2024-04-02_15-30-55

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

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.