Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+6 votes
We just encountered a deadlock running our game on an xbox one (we're on 2018.1.5.6835.1218).  Our code looks fairly benign and we don't have access to most of the code that appears to be involved.  Any ideas on this?

The top of the main thread looks like this:

  ntdll.dll!0000010227644a9a() Unknown
  ntdll.dll!00000102275f1dd1() Unknown
  ntdll.dll!00000102275f214a() Unknown
  [Inline Frame] Indiana--Test.exe!CAkLock::Lock() Line 59 C++
  [Inline Frame] Indiana--Test.exe!CAkFunctionCritical::{ctor}() Line 40 C++
  Indiana--Test.exe!CAkAudioMgr::ReserveQueue(unsigned short in_eType, unsigned long in_uSize) Line 408 C++
  [Inline Frame] Indiana-XboxOne-Test.exe!AutoReserveMsg::{ctor}(AkQueuedMsgType in_uSize, unsigned long) Line 240 C++
  Indiana--Test.exe!AK::SoundEngine::_SetRTPCValue(unsigned long in_rtpcID, float in_value, unsigned __int64 in_gameObjectID, unsigned long in_playingID, long in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) Line 1639 C++
  Indiana--Test.exe!AK::SoundEngine::SetRTPCValueByPlayingID(const wchar_t * in_pszRtpcName, float in_value, unsigned long in_playingID, long in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) Line 1714 C++
  Indiana--Test.exe!UAkIndianaAudioStatics::SetRTPCValueOnPlayingID(int PlayingID, FName RTPC, float Value, int InterpolationTimeMs) Line 364 C++
> Indiana--Test.exe!UImpactAudioData::PlayAudioForImpact::__l2::<lambda>(UAkAudioEvent * AudioEvent) Line 108 C++
  Indiana--Test.exe!UImpactAudioData::PlayAudioForImpact(const FHitResult & HitInfo, const FDamageDescription & DamageDescription, AActor * Instigator, bool bCrit, bool bGraze, bool bWeakSpot) Line 116 C++

 
The audio thread looks like this:

  [Inline Frame] Indiana--Test.exe!AkArray<StateRegisteredTarget,StateRegisteredTarget,AkArrayAllocatorNoAlign<_ArrayPoolDefault>,1,AkAssignmentMovePolicy<StateRegisteredTarget> >::Erase(unsigned int) Line 319 C++
  [Inline Frame] Indiana--Test.exe!AkStateParamTargetArray::RemoveTarget(CAkParameterTarget *) Line 58 C++
  [Inline Frame] Indiana--Test.exe!CAkParamNodeStateTargetData::RemoveTarget(CAkParameterTarget *) Line 93 C++
  [Inline Frame] Indiana--Test.exe!CAkParamNodeStateAware::UnregisterParameterTarget(CAkParameterTarget *) Line 166 C++
  Indiana--Test.exe!CAkParameterNodeBase::UnregisterParameterTarget(CAkParameterTarget * in_pTarget, const CAkBitArray<unsigned __int64,0> & in_paramsRequested, bool in_bPropagateToBusHier) Line 2210 C++
  Indiana--Test.exe!CAkParameterTarget::UnregisterParamTarget(const CAkBitArray<unsigned __int64,0> & in_tgtParams, bool in_bPropagateToBusHier) Line 139 C++
  [Inline Frame] Indiana--Test.exe!CAkParameterTarget::UnregisterParamTarget() Line 70 C++
  Indiana--Test.exe!CAkBehavioralCtx::Term(bool in_bFailedToInit) Line 86 C++
  [Inline Frame] Indiana--Test.exe!CAkURenderer::DestroyPBI(CAkPBI * in_pPBI) Line 931 C++
> Indiana--Test.exe!CAkURenderer::PerformContextNotif() Line 915 C++
  Indiana--Test.exe!CAkAudioMgr::Perform() Line 555 C++
  Indiana--Test.exe!CAkAudioThread::EventMgrThreadFunc(void * lpParameter) Line 74 C++
in General Discussion by Mark D. (170 points)

1 Answer

0 votes
May I ask if this problem has been solved? I also encountered a similar problem
by Hao Z. (140 points)
...