Description

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

The callstack shares similarities to UE-49839 which was fixed in CL 3645491, but this crash is still occurring in a later CL.

Source Context

 167       FReply SDetailSingleItemRow::OnArrayDrop(const FDragDropEvent& DragDropEvent)
  168       {
  169       	bIsHoveredDragTarget = false;
  170       	TSharedPtr<FArrayRowDragDropOp> ArrayDropOp = DragDropEvent.GetOperationAs< FArrayRowDragDropOp >();
  171 ***** 	TSharedPtr<FPropertyNode> SwappingPropertyNode = ArrayDropOp->Row->SwappablePropertyNode;
  172       	if (SwappingPropertyNode.IsValid() && SwappablePropertyNode.IsValid())
  173       	{
  174       		if (SwappingPropertyNode != SwappablePropertyNode)
  175       		{
  176       			int32 OriginalIndex = SwappingPropertyNode->GetArrayIndex();
  177       			int32 NewIndex = SwappablePropertyNode->GetArrayIndex();
  178       			if (NewIndex > OriginalIndex)
  179       			{
  180       				NewIndex += 1;
  181       			}
  182       			TSharedPtr<IPropertyHandle> SwappingHandle = PropertyEditorHelpers::GetPropertyHandle(SwappingPropertyNode.ToSharedRef(), OwnerTreeNode.Pin()->GetDetailsView()->GetNotifyHook(), OwnerTreeNode.Pin()->GetDetailsView()->GetPropertyUtilities());
  183       			TSharedPtr<IPropertyHandleArray> ParentHandle = SwappingHandle->GetParentHandle()->AsArray();
  184       			if (ParentHandle.IsValid() && SwappablePropertyNode->GetParentNode() == SwappingPropertyNode->GetParentNode())
  185       			{
  186       				// Need to swap the moving and target expansion states before saving
Steps to Reproduce

repro steps currently unknow

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

UE4Editor_PropertyEditor!SDetailSingleItemRow::OnArrayDrop() [sdetailsingleitemrow.cpp:172]
UE4Editor_PropertyEditor!TMemberFunctionCaller<SDetailSingleItemRow,FReply() [delegateinstanceinterface.h:165]
UE4Editor_PropertyEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SDetailSingleItemRow,FReply() [tuple.h:497]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SDetailSingleItemRow,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_PropertyEditor!TBaseDelegate<FReply,FDragDropEvent const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_PropertyEditor!STableRow<TSharedPtr<FDetailTreeNode,0> >::OnDrop() [stablerow.h:698]
UE4Editor_Slate!<lambda_74ecb22bb70e3f50c9d83154dfa5c688>::operator() [slateapplication.cpp:5300]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_74ecb22bb70e3f50c9d83154dfa5c688> >() [slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5296]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5750]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5730]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1725]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2171]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:888]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:725]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3220]
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-51005 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.18
Target Fix4.18
Fix Commit3688536
Release Commit3688536
CreatedOct 10, 2017
ResolvedOct 10, 2017
UpdatedApr 27, 2018