Description

This is an infrequent crash in the 4.18 release. Based on individual crash details it seems frequently related to Sequencer. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

 432       	/**
  433       	 * Calls destructor and frees memory on every element in the array.
  434       	 */
  435       	void DestructAndFreeItems()
  436       	{
  437       		T** Element = GetData();
  438       		for (int32 Index = Array.Num(); Index; --Index)
  439       		{
  440       			// We need a typedef here because VC won't compile the destructor call below if T itself has a member called T
  441       			typedef T IndirectArrayDestructElementType;
  442       
  443 ***** 			(*Element)->IndirectArrayDestructElementType::~IndirectArrayDestructElementType();
  444       			FMemory::Free(*Element);
  445       			++Element;
  446       		}
  447       	}
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!TArray<FArrangedWidget,TInlineAllocator<16,FDefaultAllocator> >::~TArray<FArrangedWidget,TInlineAllocator<16,FDefaultAllocator> >() [array.h:529]
UE4Editor_SlateCore!SharedPointerInternals::TReferenceControllerWithDeleter<FWidgetPath,SharedPointerInternals::DefaultDeleter<FWidgetPath> >::DestroyObject() [sharedpointerinternals.h:116]
UE4Editor_Slate!FSlateUser::FinishFrame() [slateapplication.cpp:326]
UE4Editor_Slate!FSlateApplication::ForEachUser() [slateapplication.cpp:4464]
UE4Editor_Slate!FSlateApplication::FinishedInputThisFrame() [slateapplication.cpp:1570]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3277]
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 to Questions & Answers just mention UE-52522 in the post.

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.18
CreatedNov 17, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue