Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

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

Source Context:

 103       /***********************/
  104       /******** Outer ********/
  105       /***********************/
  106       
  107       /** 
  108        * Walks up the list of outers until it finds the highest one.
  109        *
  110        * @return outermost non NULL Outer.
  111        */
  112       UPackage* UObjectBaseUtility::GetOutermost() const
  113       {
  114       	UObject* Top = (UObject*)this;
  115       	for (;;)
  116       	{
  117 ***** 		UObject* CurrentOuter = Top->GetOuter();
  118       		if (!CurrentOuter)
  119       		{
  120       			return CastChecked<UPackage>(Top);
  121       		}
  122       		Top = CurrentOuter;
  123       	}
  124       }
  125       
  126       /** 
  127        * Finds the outermost package and marks it dirty
  128        */
  129       bool UObjectBaseUtility::MarkPackageDirty() const
  130       {
  131       	// since transient objects will never be saved into a package, there is no need to mark a package dirty
  132       	// if we're transient

Most recent user affected CL: 2992821

Logs:
[Link Removed]
[Link Removed]
[Link Removed]

Steps to Reproduce

Sometimes happens when switching to the pattern brush in the landscape editor

Callstack
UE4Editor_CoreUObject!UObjectBaseUtility::GetOutermost() [uobjectbaseutility.cpp:118]
UE4Editor_LandscapeEditor!STextureMaskThumbnail::OnGetToolTip() [landscapeeditordetailcustomization_alphabrush.cpp:105]
UE4Editor_LandscapeEditor!TMemberFunctionCaller<STextureMaskThumbnail,FText() [delegateinstanceinterface_variadics.h:161]
UE4Editor_LandscapeEditor!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FText,TMemberFunctionCaller<STextureMaskThumbnail,FText() [tuple.h:128]
UE4Editor_LandscapeEditor!TBaseSPMethodDelegateInstance<1,STextureMaskThumbnail,0,FText __cdecl() [delegateinstancesimpl_variadics.inl:321]
UE4Editor_Slate!TBaseDelegate<FText>::Execute() [delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!TAttribute<FText>::Get() [attribute.h:135]
UE4Editor_Slate!SToolTip::IsEmpty() [stooltip.cpp:84]
UE4Editor_Slate!FSlateApplication::UpdateToolTip() [slateapplication.cpp:3165]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1424]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1350]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2809]
UE4Editor!GuardedMain() [launch.cpp:148]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
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-31682 in the post.

0
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.12
Target Fix4.12.2
Fix Commit3005592
CreatedJun 6, 2016
ResolvedJun 8, 2016
UpdatedApr 27, 2018
View Jira Issue