Description

This is a trending crash coming out of the 4.18 release.

User Descriptions

  • I did click on compile on a widget an UE4 crash

Source Context

 46       int32 UPanelWidget::GetChildIndex(UWidget* Content) const
   47       {
   48       	const int32 ChildCount = GetChildrenCount();
   49       	for ( int32 ChildIndex = 0; ChildIndex < ChildCount; ChildIndex++ )
   50       	{
   51 ***** 		if ( GetChildAt(ChildIndex) == Content )
   52       		{
   53       			return ChildIndex;
   54       		}
   55       	}
   56       
   57       	return -1;
   58       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_UMG!UPanelWidget::GetChildIndex() [panelwidget.cpp:52]
UE4Editor_UMG!UWidget::RemoveFromParent() [widget.cpp:624]
UE4Editor_UMG!UUserWidget::RemoveFromParent() [userwidget.cpp:1059]
UE4Editor_UMG!UUserWidget::BeginDestroy() [userwidget.cpp:419]
UE4Editor_CoreUObject!UObject::ConditionalBeginDestroy() [obj.cpp:878]
UE4Editor_CoreUObject!CollectGarbageInternal() [garbagecollection.cpp:1422]
UE4Editor_CoreUObject!CollectGarbage() [garbagecollection.cpp:1511]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [blueprintcompilationmanager.cpp:226]
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [kismet2.cpp:745]
UE4Editor_Kismet!FBlueprintEditor::Compile() [blueprinteditor.cpp:3181]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [stoolbarbuttonblock.cpp:300]
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() [delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() [tuple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:282]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5263]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5252]
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-52260 in the post.

0
Login to Vote

Fixed
ComponentTools - UMG
Affects Versions4.18
Target Fix4.20
Fix Commit4005468
Main Commit4052378
Release Commit4095966
CreatedNov 10, 2017
ResolvedApr 16, 2018
UpdatedAug 17, 2018