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

StreamVolumeManager crash on certain devices #8106

Closed
Tolriq opened this issue Oct 23, 2020 · 2 comments
Closed

StreamVolumeManager crash on certain devices #8106

Tolriq opened this issue Oct 23, 2020 · 2 comments
Assignees
Labels

Comments

@Tolriq
Copy link
Contributor

Tolriq commented Oct 23, 2020

[REQUIRED] Issue description

Got the following stackTrace on specific device (from Play Console no way to reproduce)

Device: ZTE Z717VL / Android 10 (SDK 29)

java.lang.IllegalStateException: 
  at android.os.Parcel.createException (Parcel.java:2082)
  at android.os.Parcel.readException (Parcel.java:2042)
  at android.os.Parcel.readException (Parcel.java:1990)
  at android.app.IActivityManager$Stub$Proxy.registerReceiver (IActivityManager.java:4952)
  at android.app.ContextImpl.registerReceiverInternal (ContextImpl.java:1537)
  at android.app.ContextImpl.registerReceiver (ContextImpl.java:1498)
  at android.app.ContextImpl.registerReceiver (ContextImpl.java:1486)
  at android.content.ContextWrapper.registerReceiver (ContextWrapper.java:637)
  at com.google.android.exoplayer2.StreamVolumeManager.<init> (StreamVolumeManager.java)
                                                       getVolumeFromManager (StreamVolumeManager.java)
                                                        init> (StreamVolumeManager.java)
  at com.google.android.exoplayer2.SimpleExoPlayer.<init> (SimpleExoPlayer.java)

Maybe related to #8087

[REQUIRED] Reproduction steps

Device specific crash occurring when building ExoPlayer. Since my application does not rely at all on volume management by ExoPlayer would be nice is there was a workaround.

[REQUIRED] A full bug report captured from the device

Unable to provide as user did not contact me

[REQUIRED] Version of ExoPlayer being used

2.12.0

[REQUIRED] Device(s) and version(s) of Android being used

Device: ZTE Z717VL / Android 10 (SDK 29)

@andrewlewis
Copy link
Collaborator

Thanks for reporting this. Please see my reply on #8087 -- it would be helpful if you could provide some info on how widespread the reports us (just the ZTE device on API 29, or are there other devices too?).

@Tolriq
Copy link
Contributor Author

Tolriq commented Oct 23, 2020

From Play Console only that device, but previously on my own code I had some more devices / strange crash with registerReceiver / unregister and now I try/catch handle problem gracefully everywhere I can.

ojw28 pushed a commit that referenced this issue Nov 2, 2020
Issue: #8106
Issue: #8087
PiperOrigin-RevId: 338664455
@ojw28 ojw28 closed this as completed Nov 10, 2020
icbaker pushed a commit that referenced this issue Nov 30, 2020
Issue: #8106
Issue: #8087
PiperOrigin-RevId: 338664455
@google google locked and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants