Skip to content

[iOS] Crashed: UnityGfxDeviceWorker EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 #2337

@SamJenkinsAim

Description

@SamJenkinsAim

Unity version

2022.3.53f1

Unity editor platform

macOS

AVPro Video edition

Core

AVPro Video version

3.2.5

Device hardware

Seeing reports from most iphones

Which iOS version are you using?

seeing reports from version iOS15-18

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?

No response

Any other component configuration required to reproduce the issue.

No response

The issue

Found this crash in crashlytics, our QA was able repro accidentally once and said it happened on app startup.

This looks like the same issue as #1968, but the solution was updating to 3.0.8 and we are already on 3.2.5, so don't think its version related. The interesting thing is the comment made in that ticket at the end saying to remove AVPro assets before importing, could this be the actual cause of the crash?

Media information

No response

Log output

Crashed: UnityGfxDeviceWorker
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: UnityGfxDeviceWorker
0  UnityFramework                 0x1d7b280 AVPUnityRegisterPlugin + 111352
1  UnityFramework                 0x1d5edf4 AVPPluginGetRenderEventFunction + 100
2  UnityFramework                 0xb06528 GfxDevice::InsertCustomMarkerCallbackAndDataWithFlags(void (*)(int, void*), int, CustomMarkerCallbackFlags, void*, unsigned long) + 2583 (GfxDevice.cpp:2583)
3  UnityFramework                 0xc7257c GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 1534 (GfxDeviceWorker.cpp:1534)
4  UnityFramework                 0xd13cc0 GfxDeviceWorkerAutoreleasePoolProxy + 5876 (GfxDeviceMetal.mm:5876)
5  UnityFramework                 0xc6ab44 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) + 375 (GfxDeviceWorker.cpp:375)
6  UnityFramework                 0xc6a6f0 GfxDeviceWorker::RunGfxDeviceWorker(void*) + 333 (GfxDeviceWorker.cpp:333)
7  UnityFramework                 0x5b3968 Thread::RunThreadWrapper(void*) + 112 (Thread.cpp:112)
8  libsystem_pthread.dylib        0x3344 _pthread_start + 136
9  libsystem_pthread.dylib        0xab8 thread_start + 8

Metadata

Metadata

Assignees

Labels

FixedA fix will be in the next releaseiOSiOS platform

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions