Description

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

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;
  683       
  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++;
  696       
  697       					if(!KeyFuncs::bAllowDuplicateKeys)
  698       					{
  699       						// If the hash disallows duplicate keys, we're done removing after the first matched key.
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_UnrealEd!TSet<FEditorUndoClient * __ptr64,DefaultKeyFuncs<FEditorUndoClient * __ptr64,0>,FDefaultSetAllocator>::Remove() [set.h:685]
UE4Editor_Sequencer!FSequencer::~FSequencer() [sequencer.cpp:327]
UE4Editor_Sequencer!FSequencer::`scalar deleting destructor'()
UE4Editor_MovieSceneTools!TBaseFunctorDelegateInstance<TSharedRef<IPropertyTypeCustomization,0> __cdecl()
UE4Editor_PropertyEditor!TSparseArray<TSetElement<TTuple<FName,FPropertyTypeLayoutCallbackList> >,TSparseArrayAllocator<FDefaultAllocator,FDefaultBitArrayAllocator> >::Empty() [sparsearray.h:231]
UE4Editor_PropertyEditor!UE4Tuple_Private::TTupleStorage<TIntegerSequence<unsigned int,0,1>,TWeakPtr<IDetailsView,0>,TMap<FName,FPropertyTypeLayoutCallbackList,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FName,FPropertyTypeLayoutCallbackList,0> > >::~TT()
UE4Editor_PropertyEditor!TSparseArray<TSetElement<TTuple<TWeakPtr<IDetailsView,0>,TMap<FName,FPropertyTypeLayoutCallbackList,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FName,FPropertyTypeLayoutCallbackList,0> > > >,TSparseArrayAllocator<FDefaultAllocat() [sparsearray.h:228]
UE4Editor_PropertyEditor!FPropertyEditorModule::~FPropertyEditorModule()
UE4Editor_PropertyEditor!FPropertyEditorModule::`scalar deleting destructor'()
UE4Editor_Core!FModuleManager::UnloadModulesAtShutdown() [modulemanager.cpp:694]
UE4Editor!FEngineLoop::Exit() [launchengineloop.cpp:2844]
UE4Editor!GuardedMain() [launch.cpp:177]
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-48443 in the post.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.17
Target Fix4.17.2
Fix Commit3587913
CreatedAug 15, 2017
ResolvedAug 15, 2017
UpdatedApr 27, 2018
View Jira Issue