Skip to content

Application is crashing if AV1 extension is enabled #11011

Open
@menscikov

Description

@menscikov

ExoPlayer Version

2.18.3

Devices that reproduce the issue

  1. Xiaomi Redmi Note 11 Pro+ 5G
  2. Google Chromecast 4K
  3. Xiaomi Mi Box S

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

  1. Build and enable AV1 extension;
  2. Set Renderer mode to DefaultRenderersFactory.EXTENSION_RENDERER_MODE_PREFER;
  3. Watch the video until the end.

Expected result

Video must stop.

Actual result

Application is crashing when video ends with Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa5 in tid 4654 (ExoPlayer:Playb), pid 4195 (my.app) fatal error.

Only this is available in the log:

2023-02-23 15:22:51.565  A  pid: 4195, tid: 4654, name: ExoPlayer:Playb  >>> com.my.app <<<
2023-02-23 15:22:51.565  A        #00 pc 0000000000068848  /data/app/~~6k9XQkBDbYrDWlvm8Hxukg==/com.my.app-IEHIIjZr0KcDf3VXDfJtFw==/lib/arm64/libgav1JNI.so (Java_com_google_android_exoplayer2_ext_av1_Gav1Decoder_gav1ReleaseFrame+100) (BuildId: 4f2560d8317eed9d5043c4136143f7b467bfc4d5)
2023-02-23 15:22:51.565  A        #03 pc 0000000000008092  /data/data/com.my.app/code_cache/.overlay/base.apk/classes4.dex (com.google.android.exoplayer2.ext.av1.Gav1Decoder.releaseOutputBuffer+26)
2023-02-23 15:22:51.565  A        #05 pc 0000000000007d58  /data/data/com.my.app/code_cache/.overlay/base.apk/classes4.dex (com.google.android.exoplayer2.ext.av1.Gav1Decoder$$ExternalSyntheticLambda0.releaseOutputBuffer+8)
2023-02-23 15:22:51.565  A        #07 pc 0000000000019a98  /data/data/com.my.app/code_cache/.overlay/base.apk/classes3.dex (com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer.release+4)

Media

Media link: https://woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm

Bug Report

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions