# FMOD5\_Reverb3D\_GetUserData crash on iOS platform

**URL:** https://qa.fmod.com/t/fmod5-reverb3d-getuserdata-crash-on-ios-platform/20457
**Category:** Unity
**Tags:** ios
**Created:** [July 24, 2023, 9:46am UTC](https://qa.fmod.com/t/fmod5-reverb3d-getuserdata-crash-on-ios-platform/20457 "2023-07-24T09:46:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![miha.rataj](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@miha.rataj](https://qa.fmod.com/u/miha.rataj)
#### Post date: [July 24, 2023, 9:46am UTC](https://qa.fmod.com/t/fmod5-reverb3d-getuserdata-crash-on-ios-platform/20457/1 "2023-07-24T09:46:20Z")

</div>

We use FMOD Studio Unity integration version: 2.02.04. On iOS platform we found some crashes on production with the following stack trace:

{“app\_name”:“YourAppName”,“timestamp”:“2023-02-03 10:41:00.00 +0100”,“app\_version”:“1.0.20”,“slice\_uuid”:“3ed72e97-7693-3fa1-a965-b66109c3100e”,“adam\_id”:0,“build\_version”:“1.0.20.17302”,“bundleID”:“YourAppName”,“share\_with\_app\_devs”:1,“is\_first\_party”:0,“bug\_type”:“109”,“os\_version”:“iPhone OS 13.5.1 (17F80)”,“incident\_id”:“AF398325-0D41-43EF-9CC8-0F993BAFEA63”,“name”:“YourAppName”}  
Incident Identifier: AF398325-0D41-43EF-9CC8-0F993BAFEA63  
CrashReporter Key: 4ac67a16a8f6e57b3b79c3c0fc29fd2846374dc3  
Hardware Model: iPhone10,6  
Process: YourAppName [804]  
Path: /private/var/containers/Bundle/Application/4C83A070-67CC-42D8-A9FE-EE5088763DDE/YourAppName.app/YourAppName  
Identifier: YourAppName  
Version: 1.0.20.17302 (1.0.20)  
Code Type: ARM-64 (Native)  
Role: Foreground  
Parent Process: launchd [1]  
Coalition: YourAppName [629]

Date/Time: 2023-02-03 10:41:00.0115 +0100  
Launch Time: 2023-02-03 10:40:10.7058 +0100  
OS Version: iPhone OS 13.5.1 (17F80)  
Release Type: User  
Baseband Version: 3.05.00  
Report Version: 104

Exception Type: EXC\_CRASH (SIGKILL)  
Exception Codes: 0x0000000000000000, 0x0000000000000000  
Exception Note: EXC\_CORPSE\_NOTIFY  
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d  
Termination Description: SPRINGBOARD, scene-update watchdog transgression: application:804 exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | “Elapsed total CPU time (seconds): 64.990 (user 64.990, system 0.000), 27% CPU”, | “Elapsed application CPU time (seconds): 53.382, 22% CPU” | )  
Triggered by Thread: 0

Thread 0 name: Dispatch queue: com.apple.main-thread  
Thread 0 Crashed:  
0 libsystem\_kernel.dylib 0x00000001c0006ba8 \_\_psynch\_mutexwait + 8  
1 libsystem\_pthread.dylib 0x00000001bff25d08 \_pthread\_mutex\_firstfit\_lock\_wait + 88  
2 libsystem\_pthread.dylib 0x00000001bff25c7c \_pthread\_mutex\_firstfit\_lock\_slow$VARIANT$armv81 + 256  
3 YourAppName 0x0000000105c13530 FMOD5\_Reverb3D\_GetUserData + 601196  
4 YourAppName 0x0000000105b8eef8 FMOD5\_Reverb3D\_GetUserData + 58932  
5 YourAppName 0x0000000105b8f3f0 FMOD5\_Reverb3D\_GetUserData + 60204  
6 YourAppName 0x0000000105ba6874 FMOD5\_Reverb3D\_GetUserData + 155568  
7 YourAppName 0x00000001086b22f8 Memory\_FMOD5\_Memory\_GetStats\_mB856E17F9A68D333DD3257A8219EE3022F9F7D8A + 61383416 (FMODUnity.cpp:18029)  
8 YourAppName 0x00000001086b22ac Memory\_GetStats\_m37C316071BDE98A7166227DF1605A4A7FAD24133 + 61383340 (FMODUnity.cpp:18019)  
9 YourAppName 0x00000001086ba214 RuntimeUtils\_EnforceLibraryOrder\_m9ECE87D03806B8F10F3E635F97F6037B14E250D1 + 61415956 (FMODUnity.cpp:26946)  
10 YourAppName 0x00000001086cee6c StudioListener\_OnEnable\_m5DA0C6829E0AD1FCCCF7732AD60C5828E60D2FAB + 61501036 (FMODUnity.cpp:30922)  
11 YourAppName 0x0000000105066444 RuntimeInvoker\_TrueVoid\_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5(void (_)(), MethodInfo const_, void\*, void\*\*) + 4449348 (Il2CppInvokerTable.cpp:114054)  
12 YourAppName 0x000000010760c234 il2cpp::vm::Runtime::Invoke(MethodInfo const\*, void\*, void\*\*, Il2CppException\*\*) + 43926068 (Runtime.cpp:576)  
13 YourAppName 0x0000000106e18eac scripting\_method\_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr\*, bool) + 35589804 (ScriptingApi\_Il2Cpp.cpp:292)  
14 YourAppName 0x0000000106e2479c ScriptingInvocation::Invoke(ScriptingExceptionPtr\*, bool) + 35637148 (ScriptingInvocation.cpp:273)  
15 YourAppName 0x0000000106e34008 MonoBehaviour::AddToManager() + 35700744 (MonoBehaviour.cpp:1451)  
16 YourAppName 0x0000000106e33a58 MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode) + 35699288 (MonoBehaviour.cpp:1319)  
17 YourAppName 0x0000000106e76940 AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item\*, unsigned int, AwakeFromLoadMode) + 35973440 (AwakeFromLoadQueue.cpp:540)  
18 YourAppName 0x0000000106e76800 AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool) + 35973120 (AwakeFromLoadQueue.cpp:359)  
19 YourAppName 0x0000000106c57ba0 AwakeAndActivateClonedObjects(Object\*\*, vector\_map\<int, int, std::\_\_1::less, stl\_allocator\<std::\_\_1::pair\<int, int\>, (MemLabelIdentifier)1, 16\> \> const&) + 33749920 (AwakeFromLoadQueue.h:0)  
20 YourAppName 0x0000000106c57d90 CloneObject(Object&) + 33750416 (CloneObject.cpp:352)  
21 YourAppName 0x0000000106e95dec Object\_CUSTOM\_Internal\_CloneSingle(ScriptingBackendNativeObjectPtrOpaque\*) + 36101612 (CoreBindings.gen.cpp:54735)  
22 YourAppName 0x00000001087fcd5c Object\_Internal\_CloneSingle\_m6C669D602DFD7BC6C47ACA19B2F4D7C853F124BB + 62737756 (UnityEngine.CoreModule1.cpp:17776)  
23 YourAppName 0x0000000107814ab4 Object\_Instantiate\_TisRuntimeObject\_m4039C8E65629D33E1EC84D2505BF1D5DDC936622\_gshared + 46058164 (GenericMethods13.cpp:44814)  
24 YourAppName 0x0000000104cb002c Object\_Instantiate\_TisGameObject\_tC000A2E1A7CF1E10FD7BA08863287C072207C319\_m26431AC51B9B7A43FBABD10B4923B72B0C578F33(GameObject\_tC000A2E1A7CF1E10FD7BA08863287C072207C319\*, MethodInfo const\*) + 557100 (GenericMethods13.cpp:39439)

Is this already known? Do you have any workaround what we could do?

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [July 25, 2023, 3:46am UTC](https://qa.fmod.com/t/fmod5-reverb3d-getuserdata-crash-on-ios-platform/20457/2 "2023-07-25T03:46:43Z")

</div>

This callstack appears to be corrupted; `Memory.GetStats` for example doesn’t call into `Reverb3D.GetUserData`, so this might not be a reliable depiction of the crash.  
We do have a known crash in versions prior to 2.02.09 when suspending / resuming the mixer on iOS, so it might be worth updating to 2.02.09 and seeing if that helps.

Otherwise, the device and OS aren’t particularly old. Are there any similarities between “OS Version” or “Hardware Model” in the crashes you are seeing?

---

<div class="post-metadata">

### Author: ![miha.rataj](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@miha.rataj](https://qa.fmod.com/u/miha.rataj)
#### Post date: [July 25, 2023, 7:49am UTC](https://qa.fmod.com/t/fmod5-reverb3d-getuserdata-crash-on-ios-platform/20457/3 "2023-07-25T07:49:40Z")

</div>

Thanks for the reply. We will observe the crashes in more detail and come back to you with the more detailed findings
