Description

This is a common crash occurring in the 4.16.2 release. Records indicate this has also occurred in 4.16.0 and 4.16.1, but with less apparent frequency.

User Descriptions

  • Just downloaded, clicking around, notified me it needed to recompile the shaders/was doing so. While that was going, in tutorial menu I clicked the "editors" button, and then it crashed
  • i was on the tutorial menu in ue4 and clicked on basics and then it crashed
  • ...[Image Removed] I was loading a tutorial

Source Context

 184       #if PLATFORM_WINDOWS && defined(__clang__)
  185       CORE_API const FText& FText::GetEmpty() // @todo clang: Workaround for missing symbol export
  186       {
  187       	static const FText StaticEmptyText = FText(FText::EInitToEmptyString::Value);
  188       	return StaticEmptyText;
  189       }
  190       #endif
  191       
  192       #if PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS
  193 ***** 	FText::FText(const FText& Other) = default;
  194       	FText::FText(FText&& Other) = default;
  195       	FText& FText::operator=(const FText& Other) = default;
  196       	FText& FText::operator=(FText&& Other) = default;
  197       #else
  198       FText::FText(const FText& Source)
  199       	: TextData(Source.TextData)
  200       	, Flags(Source.Flags)
  201       {
  202       }
Steps to Reproduce

This is caused by a GC at a bad time. You can get the same callstack by mimicking a GC, which is almost guaranteed to be the problem for users.

1. Open the tutorials browser (blue hat in the top right corner of the editor)
2. Press ~ to open the console.
3. Type "obj gc" without quotes and hit enter to force a garbage collect
4. Scroll through the tutorials list and you should crash

Callstack
UE4Editor_Core!FText::FText() [text.cpp:194]
UE4Editor_IntroTutorials!FTutorialListEntry_Tutorial::GetTitleText() [stutorialsbrowser.cpp:433]
UE4Editor_IntroTutorials!FTutorialListEntry_Tutorial::SortAgainst() [stutorialsbrowser.cpp:443]
UE4Editor_IntroTutorials!<lambda_ede9449541283e0afc645ea6e8fe9dd6>::operator() [stutorialsbrowser.cpp:970]
UE4Editor_IntroTutorials!SortInternal<TSharedPtr<ITutorialListEntry,0>,TDereferenceWrapper<TSharedPtr<ITutorialListEntry,0>,<lambda_ede9449541283e0afc645ea6e8fe9dd6> > >() [sorting.h:75]
UE4Editor_IntroTutorials!STutorialsBrowser::FilterTutorials() [stutorialsbrowser.cpp:976]
UE4Editor_IntroTutorials!STutorialsBrowser::OnCategorySelected() [stutorialsbrowser.cpp:896]
UE4Editor_IntroTutorials!TBaseSPMethodDelegateInstance<0,STutorialsBrowser,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_IntroTutorials!TBaseSPMethodDelegateInstance<0,STutorialsBrowser,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_IntroTutorials!FTutorialListEntry_Category::OnClicked() [stutorialsbrowser.cpp:222]
UE4Editor_IntroTutorials!TMemberFunctionCaller<FTutorialListEntry_Category,FReply() [delegateinstanceinterface.h:165]
UE4Editor_IntroTutorials!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FTutorialListEntry_Category,FReply() [tuple.h:497]
UE4Editor_IntroTutorials!TBaseSPMethodDelegateInstance<1,FTutorialListEntry_Category const ,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:5049]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5038]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1704]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
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-46831 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.16
Target Fix4.17
Fix Commit3524241
Main Commit3555226
Release Commit3524241
CreatedJul 5, 2017
ResolvedJul 6, 2017
UpdatedApr 27, 2018