Description

This is a trending crash coming out of the 4.18 release. It may be a regression. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

 66       	if (!SerialNumbersMatch(ObjectItem))
   67       	{
   68       		return true;
   69       	}
   70       	if (bThreadsafeTest)
   71       	{
   72       		return false;
   73       	}
   74       	return GUObjectArray.IsStale(ObjectItem, bEvenIfPendingKill);
   75       }
   76       
   77       UObject* FWeakObjectPtr::Get(/*bool bEvenIfPendingKill = false*/) const
   78       {
   79       	// Using a literal here allows the optimizer to remove branches later down the chain.
   80 ***** 	return Internal_Get(false);
   81       }
   82       
   83       UObject* FWeakObjectPtr::Get(bool bEvenIfPendingKill) const
   84       {
   85       	return Internal_Get(bEvenIfPendingKill);
   86       }
Steps to Reproduce

No know step to validate the fix.

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

UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81]
UE4Editor_Landscape!ULandscapeInfo::GetLandscapeProxy() [landscape.cpp:1822]
UE4Editor_Landscape!ULandscapeInfo::RecreateLandscapeInfo() [landscape.cpp:2163]
UE4Editor_Landscape!ALandscapeProxy::PostEditMove() [landscapeedit.cpp:3264]
UE4Editor_UnrealEd!FLevelEditorViewportClient::TrackingStopped() [leveleditorviewport.cpp:2836]
UE4Editor_UnrealEd!FMouseDeltaTracker::EndTracking() [mousedeltatracker.cpp:306]
UE4Editor_UnrealEd!FEditorViewportClient::StopTracking() [editorviewportclient.cpp:2515]
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [editorviewportclient.cpp:2450]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [leveleditorviewport.cpp:2533]
UE4Editor_Engine!FSceneViewport::OnMouseButtonUp() [sceneviewport.cpp:579]
UE4Editor_Slate!SViewport::OnMouseButtonUp() [sviewport.cpp:202]
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-51914 in the post.

4
Login to Vote

Fixed
ComponentTools - Landscape
Affects Versions4.184.18.14.19
Target Fix4.20
Fix Commit4147013
Main Commit4342567
CreatedNov 2, 2017
ResolvedAug 17, 2018
UpdatedSep 4, 2018
Pull Requests
4447 - klorberg