Description

Infrequent WaitingTask->IsCompleted crash related to FNiagaraSubmixListener closing QAGame -game

Unsure if related to [Link Removed] it was spawned from a group of oodle crashes and this is distinct enough

Steps to Reproduce
  1. Sync & Build QAGame
  2. Build and Open Unreal Insights
  3. Open a command prompt & run Engine\Binaries\Win64\UnrealEditor.exe QAGame QA-Promotion -game -tracehost=localhost -log
    • I found I was able to reproduce this more often when multiple copies were running (original hit this testing a verification related to profiling two sessions on one machine)
  4. Let run 2-3 minutes
  5. "~" to open the command console
  6. "quit"

Result:
Infrequent crash -

Assertion failed: WaitingTask->IsCompleted() [File:F:\UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Tasks\TaskPrivate.h] [Line: 365]

Expected:
No crash

Callstack
Assertion failed: WaitingTask->IsCompleted() [File:F:\UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Tasks\TaskPrivate.h] [Line: 365]
UnrealEditor_Core!UE::Tasks::Private::FTaskBase::Wait() [TaskPrivate.h:365]
UnrealEditor_Engine!FAudioCommandFence::Wait() [AudioThread.cpp:690]
UnrealEditor_Niagara!FNiagaraSubmixListener::UnregisterFromSubmix() [NiagaraDataInterfaceAudio.cpp:85]
UnrealEditor_Niagara!FNiagaraSubmixListener::`vector deleting destructor'()
UnrealEditor_Niagara!TSet<TTuple<unsigned int,TUniquePtr<FNiagaraSubmixListener,TDefaultDelete<FNiagaraSubmixListener> > >,TDefaultMapHashableKeyFuncs<unsigned int,TUniquePtr<FNiagaraSubmixListener,TDefaultDelete<FNiagaraSubmixListener> >,0>,FDefaultSetAlloc() [Set.h:995]
UnrealEditor_Niagara!TBaseRawMethodDelegateInstance<0,FNiagaraDataInterfaceProxySubmix,void __cdecl(unsigned int) [DelegateInstancesImpl.h:470]
UnrealEditor_Engine!FAudioDeviceManager::~FAudioDeviceManager() [AudioDeviceManager.cpp:226]
UnrealEditor_Engine!FAudioDeviceManager::Shutdown() [AudioDeviceManager.cpp:873]
UnrealEditor!FEngineLoop::Exit() [LaunchEngineLoop.cpp:4539]
UnrealEditor!GuardedMain() [Launch.cpp:197]
UnrealEditor!GuardedMainWrapper() [LaunchWindows.cpp:147]
UnrealEditor!LaunchWindowsStartup() [LaunchWindows.cpp:283]
UnrealEditor!WinMain() [LaunchWindows.cpp:330]
UnrealEditor!__scrt_common_main_seh() [exe_common.inl:288]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-138386 in the post.

0
Login to Vote

Fixed
ComponentUE - Audio - Submixes
Affects Versions5.0
Target Fix5.3
Fix Commit25392818
CreatedJan 5, 2022
ResolvedMay 9, 2023
UpdatedMay 11, 2023
View Jira Issue