Radom Crash in Fmod


(cheng.zhang) #1

We use compiled fmod studio from the src “fmodstudiosrc_10810” in our game.
And we met random crash in fmod with the call stack:

xx.exe!FMOD::EventInstanceContainer::~EventInstanceContainer(void)
xx.exe!FMOD::BasicRepository<class FMOD::EventModel,class FMOD::EventInstanceContainer>::close(void)
xx.exe!FMOD::PlaybackSystem::createEventInstance(class FMOD::ID const &,class FMOD::EventInstance * *)
xx.exe!FMOD::AsyncCommand_eventDescription_createInstance::executeMain(class FMOD::RuntimeAPI::Manager *)
xx.exe!FMOD::AsyncManager::executeDirectCommand(struct FMOD::AsyncCommand *)
xx.exe!FMOD::AsyncManager::asyncProcessCommands(void)
xxexe!FMOD::AsyncManager::asyncThreadLoop(void)
xx.exe!FMOD::thread::callback(void )
ucrtbase.dll!thread_start<unsigned int (__cdecl
)(void * __ptr64)>()
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown

Any one has any idea to fix it?


(Brett Paterson) #2

Do you use memory or file callbacks? Are they thread safe?

I could recommend trying 1.08.16 as well, there are one or 2 fixes that might be relevant since 1.08.10.