Description

This is a trending crash coming out of the 4.18 release. Users have not provided any descriptions of their actions when the crash occurred.

Nearly all affected project names reference that this occurs on VR projects

Source Context

 1522       	/**
 1523       	 * Empties the array. It calls the destructors on held items if needed.
 1524       	 *
 1525       	 * @param Slack (Optional) The expected usage size after empty operation. Default is 0.
 1526       	 */
 1527       	void Empty(int32 Slack = 0)
 1528       	{
 1529 ***** 		DestructItems(GetData(), ArrayNum);
 1530       
 1531       		checkSlow(Slack >= 0);
 1532       		ArrayNum = 0;
 1533       
 1534       		if (ArrayMax != Slack)
 1535       		{
 1536       			ResizeTo(Slack);
 1537       		}
 1538       	}
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_SlateCore!TArray<FHittestGrid::FCachedWidget,FDefaultAllocator>::Empty() [array.h:1530]
UE4Editor_SlateCore!TArray<FHittestGrid::FCachedWidget,FDefaultAllocator>::Reset() [array.h:1521]
UE4Editor_SlateCore!FHittestGrid::ClearGridForNewFrame() [hittestgrid.cpp:255]
UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [slateapplication.cpp:1229]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [slateapplication.cpp:1473]
UE4Editor_Slate!FSlateApplication::DrawWindows() [slateapplication.cpp:1190]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1777]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1595]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3378]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.18
Target Fix4.19
Fix Commit3726549
CreatedNov 10, 2017
ResolvedNov 14, 2017
UpdatedNov 14, 2017