I’m encountering a crash in Unity, detailed in the dmp file with this error: Unhandled exception at 0x000001807F3E2F51 in crash.dmp: 0xC000001D: Illegal Instruction.
It consistently happens when an audio event is triggered, but the specific event varies each session.
I have a few questions:
- Are there known issues causing crashes with FMOD for Unity 2.02.20?
- Is there an FMOD Symbol Server available for debugging?
- If a symbol server isn’t available, can I get PDB files for these DLLs?
fmodstudio.dll
fmodstudioL.dll
resonanceaudio.dll
All are located in Assets\Plugins\FMOD\platforms\win\lib\x86_64
.
Appreciate any guidance you can provide!
Hi Denver,
I have uploaded debug symbols for FMOD For Unity 2.02.20 to the uploads section of your user profile page.
Kind regards,
Morgan
@morgan_fmod thank you for sharing the symbols. Using those, I can now see the full callstacks. It seems like others have not reported this issue so I’m a bit perplexed what about our project could be the cause.
The relevant threads to FMOD are
ID Category Name Location
---------------------------------------------------------------------------------------------------------
8128 Worker Thread Win64 Thread [Inline Frame] fmodstudio.dll!FMOD::OutputWASAPI::mixerThread
10456 Main Thread Main Thread fmodstudio.dll!FMOD_OS_CriticalSection_Enter
8808 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
3008 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
8908 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
12164 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Time_Sleep
12512 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Time_Sleep
Of these, 8128
and 10456
seem like the only two that could have resource contention.
10456 Callstack
---------------
[External Code]
fmodstudio.dll!FMOD_OS_CriticalSection_Enter(FMOD_OS_CRITICALSECTION * crit) Line 780 C++
fmodstudio.dll!FMOD::AsyncManager::enterCommandQueueLock() Line 253 C++
fmodstudio.dll!FMOD::AsyncCommandLockScope::enterLock(FMOD::RuntimeAPI::Manager * manager) Line 15 C++
fmodstudio.dll!FMOD::AsyncManager::gameUpdate() Line 194 C++
Inline Frame] fmodstudio.dll!FMOD::Studio::system_update(FMOD::Studio::System *) Line 1515 C++
fmodstudio.dll!FMOD::Studio::System::update() Line 4714 C++
8128 Callstack
--------------
[External Code]
[Inline Frame] fmodstudio.dll!FMOD::OutputWASAPI::mixerThread() Line 601 C++
fmodstudio.dll!FMOD::mixerCallback(FMOD_OUTPUT_STATE * output) Line 1040 C++
fmodstudio.dll!FMOD::Thread::callback(void * data) Line 142 C++
fmodstudio.dll!FMOD_OS_Thread_Callback(void * param) Line 619 C++
fmodstudio.dll!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97 C++
[External Code]
Here are the full set of callstacks in case you want to see this. I can also provide the dmp file if you like.
Not Flagged 11432 0 Worker Thread Win64 Thread <not available>
Not Flagged 8128 0 Worker Thread Win64 Thread [Inline Frame] fmodstudio.dll!FMOD::OutputWASAPI::mixerThread
Not Flagged 7452 0 Worker Thread Win64 Thread [Inline Frame] mono-2.0-bdwgc.dll!mono_os_cond_timedwait
Not Flagged 3464 0 Worker Thread Win64 Thread [Inline Frame] mono-2.0-bdwgc.dll!mono_os_cond_timedwait
Not Flagged 8472 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 11256 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 8748 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 10596 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 10140 0 Worker Thread Win64 Thread [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 9344 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 8292 0 Worker Thread Win64 Thread [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 2672 0 Worker Thread Thread Pool Worker [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 3472 0 Worker Thread Timer-Scheduler [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 6132 0 Worker Thread Finalizer [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 10436 0 Worker Thread Win64 Thread [Inline Frame] mono-2.0-bdwgc.dll!win32_wait_for_single_object_ex_interrupt_checked
Not Flagged 12900 0 Worker Thread Win64 Thread amdihk64.dll!00007ff8a2a650ec
Not Flagged 11048 0 Worker Thread Win64 Thread amdihk64.dll!00007ff8a2a663c5
Not Flagged 2468 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2b82932
Not Flagged 8404 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2b82932
Not Flagged 7316 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 12620 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 8216 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 6840 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 11244 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 9976 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 10812 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 12424 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 3124 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 12492 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a2c25c04
Not Flagged 12252 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a34a4771
Not Flagged 9372 0 Worker Thread Win64 Thread atidxx64.dll!00007ff8a34a4771
Not Flagged 592 0 Worker Thread Win64 Thread atiumd6a.dll!000000005cafc3d6
Not Flagged 896 0 Worker Thread Win64 Thread atiumd6a.dll!000000005cafc3e7
Not Flagged 2640 0 Worker Thread Win64 Thread combase.dll!WaitCoalesced
Not Flagged 10300 0 Worker Thread Win64 Thread CoreMessaging.dll!Microsoft::CoreUI::Dispatch::WaitController::Callback_WaitAny
Not Flagged 10456 0 Main Thread Main Thread fmodstudio.dll!FMOD_OS_CriticalSection_Enter
Not Flagged 8808 0 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
Not Flagged 3008 0 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
Not Flagged 8908 0 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Semaphore_Wait
Not Flagged 12164 0 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Time_Sleep
Not Flagged 12512 0 Worker Thread Win64 Thread fmodstudio.dll!FMOD_OS_Time_Sleep
Not Flagged 5300 0 Worker Thread Win64 Thread mswsock.dll!SockAsyncThread
Not Flagged 2804 0 Worker Thread Win64 Thread ntdll.dll!NtWaitForWorkViaWorkerFactory
Not Flagged 10324 0 Worker Thread Win64 Thread ntdll.dll!NtWaitForWorkViaWorkerFactory
Not Flagged 8160 0 Worker Thread Win64 Thread ntdll.dll!NtWaitForWorkViaWorkerFactory
Not Flagged 8900 0 Worker Thread Win64 Thread ntdll.dll!NtWaitForWorkViaWorkerFactory
Not Flagged 4136 0 Worker Thread Win64 Thread ntdll.dll!NtWaitForWorkViaWorkerFactory
Not Flagged 7816 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 11876 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 4428 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 11204 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged > 9232 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 10652 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 5708 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 6472 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 4684 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 4780 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 10484 0 Worker Thread AssetGarbageCollectorHelper UnityPlayer.dll!AGCThread::RunThread
Not Flagged 5108 0 Worker Thread Loading.AsyncRead UnityPlayer.dll!AsyncReadManagerThreaded::StaticThreadEntry
Not Flagged 3904 0 Worker Thread Win64 Thread UnityPlayer.dll!EnterMeteredSection
Not Flagged 9520 0 Worker Thread Win64 Thread UnityPlayer.dll!FMOD_OS_Time_Sleep
Not Flagged 3280 0 Worker Thread Win64 Thread UnityPlayer.dll!FMOD_OS_Time_Sleep
Not Flagged 9536 0 Worker Thread Background Job.worker 6 UnityPlayer.dll!lane_guts
Not Flagged 12948 0 Worker Thread Background Job.worker 15 UnityPlayer.dll!lane_guts
Not Flagged 13180 0 Worker Thread Background Job.worker 14 UnityPlayer.dll!lane_guts
Not Flagged 13028 0 Worker Thread Background Job.worker 13 UnityPlayer.dll!lane_guts
Not Flagged 1984 0 Worker Thread Background Job.worker 12 UnityPlayer.dll!lane_guts
Not Flagged 11944 0 Worker Thread Background Job.worker 11 UnityPlayer.dll!lane_guts
Not Flagged 7608 0 Worker Thread Background Job.worker 10 UnityPlayer.dll!lane_guts
Not Flagged 5632 0 Worker Thread Background Job.worker 9 UnityPlayer.dll!lane_guts
Not Flagged 10928 0 Worker Thread Background Job.worker 8 UnityPlayer.dll!lane_guts
Not Flagged 7092 0 Worker Thread Job.worker 0 UnityPlayer.dll!lane_guts
Not Flagged 8136 0 Worker Thread Job.worker 1 UnityPlayer.dll!lane_guts
Not Flagged 12300 0 Worker Thread Job.worker 2 UnityPlayer.dll!lane_guts
Not Flagged 7884 0 Worker Thread Background Job.worker 7 UnityPlayer.dll!lane_guts
Not Flagged 12480 0 Worker Thread Job.worker 3 UnityPlayer.dll!lane_guts
Not Flagged 11396 0 Worker Thread Job.worker 5 UnityPlayer.dll!lane_guts
Not Flagged 10072 0 Worker Thread Background Job.worker 5 UnityPlayer.dll!lane_guts
Not Flagged 10892 0 Worker Thread CloudJob.worker 0 UnityPlayer.dll!lane_guts
Not Flagged 12336 0 Worker Thread Background Job.worker 4 UnityPlayer.dll!lane_guts
Not Flagged 12844 0 Worker Thread Background Job.worker 3 UnityPlayer.dll!lane_guts
Not Flagged 12992 0 Worker Thread Job.worker 4 UnityPlayer.dll!lane_guts
Not Flagged 7900 0 Worker Thread Background Job.worker 1 UnityPlayer.dll!lane_guts
Not Flagged 12812 0 Worker Thread Background Job.worker 2 UnityPlayer.dll!lane_guts
Not Flagged 7984 0 Worker Thread Job.worker 9 UnityPlayer.dll!lane_guts
Not Flagged 2300 0 Worker Thread Job.worker 8 UnityPlayer.dll!lane_guts
Not Flagged 10396 0 Worker Thread Job.worker 7 UnityPlayer.dll!lane_guts
Not Flagged 6156 0 Worker Thread Job.worker 6 UnityPlayer.dll!lane_guts
Not Flagged 9836 0 Worker Thread Background Job.worker 0 UnityPlayer.dll!lane_guts
Not Flagged 4464 0 Worker Thread Job.worker 10 UnityPlayer.dll!lane_guts
Not Flagged 1860 0 Worker Thread Loading.PreloadManager UnityPlayer.dll!PreloadManager::Run
Not Flagged 12188 0 Worker Thread UnityGfxDeviceWorker UnityPlayer.dll!ThreadedStreamBuffer::HandleOutOfBufferToReadFrom
Not Flagged 12320 0 Worker Thread BatchDeleteObjects UnityPlayer.dll!ThreadedStreamBuffer::HandleOutOfBufferToReadFrom