I've been experiencing the following assertion failure on explicit termination of the Wwise libraries - it occurs approximately 40% of the time.
/Volumes/Data/Jenkins/workspace/MAC_2014.1/Wwise/SDK/source/SoundEngine/AkMusicEngine/Common/AkMidiBaseCtx.cpp:127:Release failed assertion `m_lRef > 0'
Note that I don't actually use midi, nor do I initialise anything midi related.
Here's the backtrace:
* thread #9: tid = 0x591278, 0x00007fff8c6de282 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGTRAP
* frame #0: 0x00007fff8c6de282 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8e62c4c3 libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x000000010007270c GL Demo OSX`_MacAssert(in_pFunc=0x00000001002a6654, in_pFile=0x000000010029a55b, in_LineNum=127, in_pCondition=0x000000010029a550) + 76 at AkAssert.h:72
frame #3: 0x00000001000a5a5f GL Demo OSX`CAkMidiBaseCtx::Release(this=0x00000001024ef000) + 159 at AkMidiBaseCtx.cpp:127
frame #4: 0x00000001000ad8e4 GL Demo OSX`CAkMidiDeviceCtx::DetachAndRelease(this=0x00000001024ef000) + 132 at AkMidiDeviceCtx.cpp:178
frame #5: 0x00000001000ae10c GL Demo OSX`CAkMidiDeviceMgr::DestroyCtx(this=0x000000010253c4c8) + 124 at AkMidiDeviceMgr.cpp:115
frame #6: 0x00000001000ae750 GL Demo OSX`CAkMidiDeviceMgr::NextFrame(this=0x000000010253c4c8, in_uNumSamples=1024) + 96 at AkMidiDeviceMgr.cpp:251
frame #7: 0x000000010006ff20 GL Demo OSX`CAkMusicRenderer::PerformNextFrameBehavior((null)=false) + 400 at AkMusicRenderer.cpp:685
frame #8: 0x00000001000dfd1d GL Demo OSX`CAkAudioMgr::Perform(this=0x00000001024fbd18) + 429 at AkAudioMgr.cpp:459
frame #9: 0x00000001001f49a2 GL Demo OSX`CAkAudioThread::EventMgrThreadFunc(lpParameter=0x00000001024fbdb4) + 226 at AkAudioThread.cpp:60
frame #10: 0x00007fff8e62a2fc libsystem_pthread.dylib`_pthread_body + 131
frame #11: 0x00007fff8e62a279 libsystem_pthread.dylib`_pthread_start + 176
frame #12: 0x00007fff8e6284b1 libsystem_pthread.dylib`thread_start + 13