This is a somewhat common crash coming out of 4.16 and 4.17. Users have not provided any description of their actions when the crash occurred.

The top line of the callstack and the source context are the same as [Link Removed], but the rest of the stack is different.

Source Context

  675       	/**
  676       	 * Removes all elements from the set matching the specified key.
  677       	 * @param Key - The key to match elements against.
  678       	 * @return The number of elements removed.
  679       	 */
  680       	int32 Remove(KeyInitType Key)
  681       	{
  682       		int32 NumRemovedElements = 0;
  684 ***** 		if (Elements.Num())
  685       		{
  686       			FSetElementId* NextElementId = &GetTypedHash(KeyFuncs::GetKeyHash(Key));
  687       			while(NextElementId->IsValidId())
  688       			{
  689       				auto& Element = Elements[*NextElementId];
  690       				if(KeyFuncs::Matches(KeyFuncs::GetSetKey(Element.Value),Key))
  691       				{
  692       					// This element matches the key, remove it from the set.  Note that Remove sets *NextElementId to point to the next
  693       					// element after the removed element in the hash bucket.
  694       					Remove(*NextElementId);
  695       					NumRemovedElements++;
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_UnrealEd!TSet<FEditorUndoClient * __ptr64,DefaultKeyFuncs<FEditorUndoClient * __ptr64,0>,FDefaultSetAllocator>::Remove() [set.h:685]
UE4Editor_LevelEditor!SActorDetails::~SActorDetails() [sactordetails.cpp:207]
UE4Editor_VREditor!AVREditorDockableWindow::`scalar deleting destructor'()
UE4Editor_CoreUObject!IncrementalPurgeGarbage() [garbagecollection.cpp:1112]
UE4Editor_CoreUObject!StaticExit() [obj.cpp:4188]
UE4Editor_CoreUObject!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor!TBaseMulticastDelegate<void>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor!FEngineLoop::AppPreExit() [launchengineloop.cpp:3858]
UE4Editor!FEngineLoop::Exit() [launchengineloop.cpp:2808]
UE4Editor!GuardedMain() [launch.cpp:177]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]

Have Comments or More Details?

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

Login to Vote

Affects Versions4.164.17
Target Fix4.19
Fix Commit3719803
Main Commit3739980
Release Commit3813083
CreatedSep 20, 2017
ResolvedOct 25, 2017
UpdatedApr 27, 2018