google / google/ExoPlayer

IllegalStateException from android.media.MediaCodec.native_dequeue methods

Open
#8,134 2 comments 0 reactions 1 assignee Assigned to @microkatz View on GitHub
bug needs triage
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Issue description
We are seeing a low-level of `IllegalStateException` throws, resulting in fatal playback failure, emanating from `android.media.MediaCodec.native_dequeueOutputBuffer` and `android.media.MediaCodec.native_dequeueInputBuffer`, affecting ~0.15% of 4.5m playback sessions over 7 days.

### Reproduction steps
Very hard to reproduce, does not appear to be triggered by a specific interaction or specific content.

### Link to test content
Doesn't appear to be content-specific

### A full bug report captured from the device
Coming via email

### Version of ExoPlayer being used
2.11.7

### Device(s) and version(s) of Android being used
Top 5 Split of versions where we see the exception:

|Prevalence|Version|
|-|-|
|80.6%|Android 10|
|6.7%|Android 9|
|5.04%|Android 6.0.1|
|2.09%|Android 7.0|
|1.93|Android 8.1.0|

The overwhelming majority of the cases are on Samsung devices (> 70%), and the following are the most prevalent (it's fairly evenly split beyond that):

|Prevalence|Device|
|-|-|
|2.67%|SM-G973U|
|2.38%|SM-G965U|
|2.05%|SM-N960U|
|2.04 %|SM-G975U|
|1.53 %|SM-G970U|
|1.4 %|SM-N975U|
|1.37 %|SM-A205U|
|1.17 %|SM-S727VL|
|0.955 %|SM-S327VL|

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.