Steps to Reproduce

There is a race condition that can cause GPU particle data to be freed while it's in use.

https://udn.unrealengine.com/questions/467917/gpu-particle-crash-on-magic-leap.html

Callstack
11-13 12:46:31.231 2558 65 I UE4 : Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:S:/P4/Kiwi/Unreal/Engine/Source/Runtime/Core/Public\Containers/Array.h] [Line: 611]
11-13 12:46:31.231 2558 65 I UE4 : Array index out of bounds: 34 from an array of size 0
11-13 12:46:31.231 2558 65 I UE4 : [2018.11.13-12.46.31:231][951]Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:S:/P4/Kiwi/Unreal/Engine/Source/Runtime/Core/Public\Containers/Array.h] [Line: 611]
11-13 12:46:31.231 2558 65 I UE4 : Array index out of bounds: 34 from an array of size 0
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: === Critical error: ===
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error:
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:S:/P4/Kiwi/Unreal/Engine/Source/Runtime/Core/Public\Containers/Array.h] [Line: 611]
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: Array index out of bounds: 34 from an array of size 0
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAAC043AD68 (0x0000000005C34D68) Kiwi!void ExecuteSimulationCommands<(EParticleCollisionShaderMode)0>(FRHICommandList&, FGraphicsPipelineStateInitializer&, ERHIFeatureLevel::Type, TArray const&, FParticleSimulationResources*, FRHIUniformBuffer*, FGlobalDistanceFieldParameterData const*, FUniformBufferStruct const*, FRHIUniformBuffer*, bool) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAAC0443634 (0x0000000005C3D634) Kiwi!FFXSystem::SimulateGPUParticles(FRHICommandListImmediate&, EParticleSimulatePhase::Type, FRHIUniformBuffer*, FGlobalDistanceFieldParameterData const*, FUniformBufferStruct const*, FRHIUniformBuffer*) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAAC03D66D4 (0x0000000005BD06D4) Kiwi!FFXSystem::PreRender(FRHICommandListImmediate&, FGlobalDistanceFieldParameterData const*) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABF15FD68 (0x0000000004959D68) Kiwi!FMobileSceneRenderer::Render(FRHICommandListImmediate&) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABF42E9B4 (0x0000000004C289B4) Kiwi![Unknown]() []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABF46B9C4 (0x0000000004C659C4) Kiwi![Unknown]() []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABDF39EE4 (0x0000000003733EE4) Kiwi!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABDF3903C (0x000000000373303C) Kiwi!FNamedTaskThread::ProcessTasksUntilQuit(int) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABEDFC984 (0x00000000045F6984) Kiwi!RenderingThreadMain(FEvent*) []
11-13 12:46:31.231 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABEE0A70C (0x000000000460470C) Kiwi!FRenderingThread::Run() []
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:231][951]LogAndroid: Error: [Callstack] 0x0000AAAABDFC22B8 (0x00000000037BC2B8) Kiwi!FRunnableThreadPThread::Run() []
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error: [Callstack] 0x0000AAAABDF353E8 (0x000000000372F3E8) Kiwi!FRunnableThreadPThread::_ThreadProc(void*) []
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error: [Callstack] 0x000040003EDF85A8 (0x000000000006B5A8) libc.so![Unknown]() []
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error: [Callstack] 0x000040003EDAB580 (0x000000000001E580) libc.so![Unknown]() []
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error:
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error:
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error:
11-13 12:46:31.232 2558 65 E UE4 : [2018.11.13-12.46.31:232][951]LogAndroid: Error:
11-13 12:46:31.241 2558 65 D UE4 : [2018.11.13-12.46.31:241][951]LogWindows: FLuminPlatformMisc::RequestExit(1)

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-68097 in the post.

0
Login to Vote

Fixed
ComponentCore
Affects Versions4.21
Target Fix4.21.2
Fix Commit4686639
CreatedJan 7, 2019
ResolvedJan 7, 2019
UpdatedMar 14, 2019