Version
Media3 1.10.1
More version details
Crash Log:
Exception java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
at androidx.media3.exoplayer.trackselection.BaseTrackSelection.isTrackExcluded (BaseTrackSelection.java:197)
at androidx.media3.exoplayer.hls.HlsChunkSource.createFallbackOptions (HlsChunkSource.java:954)
at androidx.media3.exoplayer.hls.HlsSampleStreamWrapper.onPlaylistError (HlsSampleStreamWrapper.java:620)
at androidx.media3.exoplayer.hls.HlsMediaPeriod.onPlaylistError (HlsMediaPeriod.java:529)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.notifyPlaylistError (DefaultHlsPlaylistTracker.java:612)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.access$2900 (DefaultHlsPlaylistTracker.java:61)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadError (DefaultHlsPlaylistTracker.java:994)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadError (DefaultHlsPlaylistTracker.java:819)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.handleMessage (Loader.java:530)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.os.HandlerThread.run (HandlerThread.java:67)
We first observed this crash in the store crash reports while using Media3 v1.10.0. After reviewing the Media3 v1.10.1 release notes, we found that the changelog indicated this issue had been fixed. Based on that, we upgraded to Media3 v1.10.1 and released an app update.
However, after monitoring the crash reports for over a week following the release, we are still seeing the same crash. This indicates that the issue has not been resolved in Media3 v1.10.1.
Media 3 v1.10.1 changelog: https://github.com/androidx/media/releases#release-1.10.1
Please prioritize investigating and fixing this bug.
Devices that reproduce the issue
Motorola , Samsung and other Android devices too.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
We are seeing this issue on Google Play Console Crash Logs.
Expected result
This should be fixed as per priority.
Actual result
We are seeing this issue on Google Play Console Crash Logs.
Media
NA
Bug Report
Version
Media3 1.10.1
More version details
Crash Log:
Exception java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
at androidx.media3.exoplayer.trackselection.BaseTrackSelection.isTrackExcluded (BaseTrackSelection.java:197)
at androidx.media3.exoplayer.hls.HlsChunkSource.createFallbackOptions (HlsChunkSource.java:954)
at androidx.media3.exoplayer.hls.HlsSampleStreamWrapper.onPlaylistError (HlsSampleStreamWrapper.java:620)
at androidx.media3.exoplayer.hls.HlsMediaPeriod.onPlaylistError (HlsMediaPeriod.java:529)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.notifyPlaylistError (DefaultHlsPlaylistTracker.java:612)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.access$2900 (DefaultHlsPlaylistTracker.java:61)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadError (DefaultHlsPlaylistTracker.java:994)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadError (DefaultHlsPlaylistTracker.java:819)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.handleMessage (Loader.java:530)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.os.HandlerThread.run (HandlerThread.java:67)
We first observed this crash in the store crash reports while using Media3 v1.10.0. After reviewing the Media3 v1.10.1 release notes, we found that the changelog indicated this issue had been fixed. Based on that, we upgraded to Media3 v1.10.1 and released an app update.
However, after monitoring the crash reports for over a week following the release, we are still seeing the same crash. This indicates that the issue has not been resolved in Media3 v1.10.1.
Media 3 v1.10.1 changelog: https://github.com/androidx/media/releases#release-1.10.1
Please prioritize investigating and fixing this bug.
Devices that reproduce the issue
Motorola , Samsung and other Android devices too.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
We are seeing this issue on Google Play Console Crash Logs.
Expected result
This should be fixed as per priority.
Actual result
We are seeing this issue on Google Play Console Crash Logs.
Media
NA
Bug Report
adb bugreportto android-media-github@google.com after filing this issue.