maxrave-dev / maxrave-dev/SimpMusic

O app ta crashando quando eu entro em uma playlist.

Open
#2,399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
11.4k
Forks
599
Avg merge
3d 18h
Merged PRs (30d)
7

Description

Duplicate Check
  • I confirm I searched for existing reports and found no duplicates.
Describe the Bug

Hello i am a brazillian with a very bad english so i will speak in portuguese brazil and you translate with google or some IA, eu to entrando nas minhas playlists e aleatoriamente o meu app crasha enquanto está indo pra playlist, eu nem chego a tocar uma musica quando ele crasha, acho que é umas 60% das vezes que tento entrar que ele crasha.

Steps to Reproduce

Enter in the app
Go to the tab library
Open some playlist, have a chance of the app don crash

Expected Behavior

The app will close and show the log or the device will say "the aplication is not responding"

App Version

1.7.0

Android Version

Android 11

Device Model

Samsung galaxy a50

Custom ROM
  • I am using a custom ROM
Custom ROM Name (if applicable)

No response

Screenshots (optional)

No response

Log / Error Details

Build version: 1.7.0
Current date: 2026-08-24 22:53:54
Device: Samsung SM-A505GT
OS version: Android 11 (SDK 30)

Stack trace:
java.lang.RuntimeException: Unable to create service com.maxrave.media3.service.SimpleMediaService: java.lang.IllegalStateException: Session ID must be unique. ID=com.maxrave.media3.service.SimpleMediaService
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4673)
at android.app.ActivityThread.access$1700(ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2196)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.IllegalStateException: Session ID must be unique. ID=com.maxrave.media3.service.SimpleMediaService
at vg7.(r8-map-id-d32356bc6dd9daa735fcaccfc7f7564a44f8e3992c21603cef8177a2755dba38:73)
at com.maxrave.media3.service.SimpleMediaService.onCreate(r8-map-id-d32356bc6dd9daa735fcaccfc7f7564a44f8e3992c21603cef8177a2755dba38:348)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4661)
... 8 more

User actions:
2026-08-24 22:53:42: MainActivity created
2026-08-24 22:53:42: MainActivity resumed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the playlist navigation from the Library tab and inspect MainActivity, then follow creation of com.maxrave.media3.service.SimpleMediaService into its onCreate entry point. Use the supplied Android 11 stack trace and reproduction steps to investigate the duplicate session ID. Done means opening playlists no longer causes the app to crash in the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.