Native Crash - FMOD::SoundGroupI::getNumPlaying(int*) (Unknown File)

Audio Source crash, this report is all I have as it was received via Unity Analytics

UNITY VERSION
2018.4.0f1

DEVICE
iPad7,5

OS VERSION
iOS 12.2

CPU
arm64

GFX
Apple A10 GPU

Thread 0 (crashed)
0   gameName                       0x000000010121b30c FMOD::SoundGroupI::getNumPlaying(int*)
1   gameName                       0x0000000101220fe8 FMOD::System::playSound(FMOD_CHANNELINDEX, FMOD::Sound*, bool, FMOD::Channel**)
2   gameName                       0x0000000100b310a8 SoundHandle::Instance::CreateChannel(SoundHandle&, bool)
3   gameName                       0x0000000100b24d04 SampleClip::AllocateChannel(bool, unsigned long long)
4   gameName                       0x0000000100b1c7d0 AudioSource::Play(double)
5   gameName                       0x00000001009546e0 AudioSource_CUSTOM_PlayDelayed(Il2CppObject*, float)
6   gameName                       0x000000010133d2e4 SoundSource_Play_m735BE898444968D18E5E14B8543AE90047600027
7   gameName                       0x000000010133cb98 SoundSource_Start_m8AE8424CE6894BEB79A018047979395283BE1BF3
8   gameName                       0x0000000100912690 RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void (*)(), MethodInfo const*, void*, void**)
9   gameName                       0x00000001012a72e0 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)
10  gameName                       0x0000000100d5ab28 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
11  gameName                       0x0000000100d62960 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
12  gameName                       0x0000000100d6c548 MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingExceptionPtr*)
13  gameName                       0x0000000100d6c740 MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr)
14  gameName                       0x0000000100d6b550 MonoBehaviour::smile:elayedStartCall(Object*, void*)
15  gameName                       0x0000000100c1fb4c DelayedCallManager::Update(int)
16  gameName                       0x0000000100cd0ed8 ExecutePlayerLoop(NativePlayerLoopSystem*)
17  gameName                       0x0000000100cd0f0c ExecutePlayerLoop(NativePlayerLoopSystem*)
18  gameName                       0x0000000100cd10e4 PlayerLoop()
19  gameName                       0x0000000100ec9380 UnityPlayerLoopImpl(bool)
20  gameName                       0x000000010087c7bc UnityRepaint
21  gameName                       0x000000010087c6a8 -[UnityAppController(Rendering) repaintDisplayLink]
22  QuartzCore                         0x000000019958d194 CA::smile:isplay::smile:isplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
23  IOKit                              0x0000000195487718 IODispatchCalloutFromCFMessage
24  CoreFoundation                     0x0000000195196d30 __CFMachPortPerform
25  CoreFoundation                     0x00000001951bd934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
26  CoreFoundation                     0x00000001951bd080 __CFRunLoopDoSource1
27  CoreFoundation                     0x00000001951b7ea4 __CFRunLoopRun
28  CoreFoundation                     0x00000001951b7354 CFRunLoopRunSpecific
29  GraphicsServices                   0x00000001973b779c GSEventRunModal
30  UIKitCore                          0x00000001c13b3b68 UIApplicationMain
31  gameName                       0x00000001008749f8 main
32  libdyld.dylib                      0x0000000194c7d8e0 start

Did you end up finding out the cause or fixing this? I’ve got the same crash affecting a bunch of devices on 2019.1.6f1, getting the crash log via Xcode. Very similar trace:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000001e8
VM Region Info: 0x1e8 is not in any region.  Bytes before following region: 4299537944
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
---> 
      __TEXT                 000000010045c000-0000000100460000 [   16K] r-x/r-x SM=COW  ....app/gameName

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [10969]
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   gameName                          0x00000001011ed160 FMOD::SoundGroupI::getNumPlaying(int*) + 28
1   gameName                          0x00000001011f2e88 FMOD::System::playSound(FMOD_CHANNELINDEX, FMOD::Sound*, bool, FMOD::Channel**) + 72
2   gameName                          0x00000001008682cc SoundHandle::Instance::CreateChannel(SoundHandle&, bool) + 396 (SoundManager.cpp:389)
3   gameName                          0x0000000100854740 SampleClip::AllocateChannel(bool, unsigned long long) + 104 (AudioClip.cpp:127)
4   gameName                          0x0000000100846600 AudioSource::Play(double) + 692 (AudioSource.cpp:495)
5   gameName                          0x00000001008496fc AudioSource::AddToManager() + 88 (AudioSource.cpp:1341)
6   gameName                          0x0000000100844fd8 AudioSource::AwakeFromLoad(AwakeFromLoadMode) + 104 (AudioSource.cpp:194)
7   gameName                          0x0000000100b8dfdc AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFr... + 180 (AwakeFromLoadQueue.cpp:472)
8   gameName                          0x0000000100b8de8c AwakeFromLoadQueue::PersistentManagerAwakeFromLoad(int, AwakeFromLoadMode) + 140 (AwakeFromLoadQueue.cpp:286)
9   gameName                          0x0000000100b8dde8 AwakeFromLoadQueue::PersistentManagerAwakeFromLoad() + 36 (AwakeFromLoadQueue.cpp:158)
10  gameName                          0x0000000100a86774 LoadSceneOperation::CompleteAwakeSequence() + 136 (LoadSceneOperation.cpp:790)
11  gameName                          0x0000000100a867e0 LoadSceneOperation::CompletePreloadManagerLoadScene() + 36 (LoadSceneOperation.cpp:817)
12  gameName                          0x0000000100a863f0 LoadSceneOperation::PlayerLoadSceneFromThread() + 408 (LoadSceneOperation.cpp:643)
13  gameName                          0x0000000100a864d4 LoadSceneOperation::CompleteLoadFirstScene() + 12 (LoadSceneOperation.cpp:674)
14  gameName                          0x0000000100a8616c LoadSceneOperation::IntegrateMainThread() + 128 (LoadSceneOperation.cpp:351)
15  gameName                          0x0000000100a86f7c PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) + 224 (PreloadManager.cpp:399)
16  gameName                          0x0000000100a87660 PreloadManager::UpdatePreloading() + 276 (PreloadManager.cpp:535)
17  gameName                          0x0000000100e06784 UnityPlayerLoopImpl(bool) + 124 (LibEntryPoint.mm:297)
18  gameName                          0x0000000100469008 UnityRepaint + 140 (UnityAppController+Rendering.mm:276)
19  gameName                          0x0000000100468ef4 -[UnityAppController(Rendering) repaintDisplayLink] + 88 (UnityAppController+Rendering.mm:71)
20  QuartzCore                        0x00000001edb30f90 CA::smile:isplay::smile:isplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636 (CADisplay.mm:2349)
21  QuartzCore                        0x00000001edbfab10 display_timer_callback(__CFMachPort*, void*, long, void*) + 272 (CADisplayTimer.cpp:163)
22  CoreFoundation                    0x00000001e9714a8c __CFMachPortPerform + 188 (CFMachPort.c:522)
23  CoreFoundation                    0x00000001e973b690 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56 (CFRunLoop.c:1996)
24  CoreFoundation                    0x00000001e973addc __CFRunLoopDoSource1 + 440 (CFRunLoop.c:2133)
25  CoreFoundation                    0x00000001e9735c00 __CFRunLoopRun + 2096 (CFRunLoop.c:3152)
26  CoreFoundation                    0x00000001e97350b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
27  GraphicsServices                  0x00000001eb93579c GSEventRunModal + 104 (GSEvent.c:2245)
28  UIKitCore                         0x0000000215fa1978 UIApplicationMain + 212 (UIApplication.m:4353)
29  gameName                          0x0000000100462150 main + 160 (main.mm:41)
30  libdyld.dylib                     0x00000001e91fa8e0 start + 4

I’ve updated to Unity 2018.4.4f1 and didn’t see the crash since, but I still get this one Help with Native Crash

I’ve just got this again, so I guess it hasn’t been fixed yet

we also got this crash with version 2018.4.4, it seems an investigation is needed

Has anybody found a way to reproduce this locally or is everyone getting this from cloud analytics?

we are getting this from fabric crash analysitics

I have the same problem.

Same here with Unity 2018.4.16f1, iOS 12.4.5

If you’re able to reproduce this issue, please submit a bug-report as described in this document:

It’s important that you report these issues together with a reproduction project if you want them to get fixed. If you don’t do it, it might be a long time until someone else reports them or until Unity Technologies find them.

After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post the Case number (number only, not the link) in this forum thread for Unity staff to pick up.

Yes, I wish I could reproduce it, but unfortunately I only get these reports intermittently through Unity Analytics. It would be nice if Unity would at least examine stack traces without reproduction instructions, but they’ve just closed any case I open that only contains a stack trace :frowning:

Hey, just wondering if anybody has an update on this or a fix? I’m experiencing some of these crashes on my iOS app.

Yes, I get this occasionally as well. Would be nice to be able to reproduce it, but no luck so far.
Unity 2019.4.17