Skip to content

[Android] Crash in Video_Manager_DestroySurface #2458

@Evryway

Description

@Evryway

Unity version

2022.3.62f2

Unity editor platform

Windows

AVPro Video edition

Ultra

AVPro Video version

3.3.6

Device hardware

Samsung A13, Samsung A15, Samsung A07 + 40+ known devices

Which Android OS version are you using?

13

Unity Graphics API

OpenGLES 3

Video API

MediaPlayer

Texture format

BGRA

Audio output

System Direct

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

Display uGUI

Any other component configuration required to reproduce the issue.

No response

The issue

The latest release of our application using AVPro 3.3.6 on Android appears to have new crashes related to DestroySurface. Android Vitals on play store suggests the app is foregrounded when this occurs. There are no explicit calls to CloseVideo/CloseMedia other than during app shutdown flow, which I don't think has happened.

Play store suggests it's happening on a wide variety of devices - I can provide a detailed list if that's useful.

I'm unable to replicate this crash on the various devices I have to hand to test on so unfortunately the best I have is the play store trace:

arm64/libAVProVideo2Native.so (Java_com_renderheads_AVPro_Video_Manager_DestroySurface+68)
data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+108)
arm64/base.odex (com.renderheads.AVPro.Video.Player_ExoPlayer.CloseVideoOnPlayer+332)
arm64/base.odex (com.renderheads.AVPro.Video.Player_Base._CloseVideo+948)
apex/com.android.art/lib64/libart.so (nterp_helper+4016)
base.apk (com.renderheads.AVPro.Video.Player_Base._Deinitialise+16)
apex/com.android.art/lib64/libart.so (nterp_helper+3924)
base.apk (com.renderheads.AVPro.Video.Player_Base.access$000)
apex/com.android.art/lib64/libart.so (nterp_helper+52)
base.apk (com.renderheads.AVPro.Video.Player_Base$1.run+4)
data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Handler.dispatchMessage+68)
data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+968)
data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+824)

Any ideas how I can rectify this please?

Thanks!

Media information

No response

Logcat output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions