Skip to content
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 MediaLibraryService when swiping up app (media3 branch) #541

Open
kelmer44 opened this issue Feb 20, 2024 · 0 comments
Open

Crash on MediaLibraryService when swiping up app (media3 branch) #541

kelmer44 opened this issue Feb 20, 2024 · 0 comments

Comments

@kelmer44
Copy link

kelmer44 commented Feb 20, 2024

If you follow these steps:

  1. Start playing
  2. Pause (from app or media notification)
  3. Swipe up app

occassionally the app will crash with the following log line

2024-02-20 13:52:47.813 mediaserver          mediaserver           E  unlinkToDeath: removed reference to death recipient but unlink failed: DEAD_OBJECT
2024-02-20 13:52:47.813 IPCThreadState       mediaserver           E  attemptIncStrongHandle(28): Not supported

Looks like the process is being restarted due to this crash, and this leaves the media notification in place with a useless set of actions; clicking any action yields nothing.

When checking the MediaButtonReceiver from the media_session like so:

adb shell dumpsys media_session | grep MediaButtonReceiver
we see this:

Last MediaButtonReceiver: MBR {pi=null, componentName=ComponentInfo{com.example.android.uamp.next/androidx.media.session.MediaButtonReceiver}, type=1, pkg=com.example.android.uamp.next}

(no pending intent)

I'm also experiencing this issue in my app and its a pretty bad scenario, any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant