Description

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:

Logs:
[Link Removed]
[Link Removed]


CrashReporter User Descriptions:

  • I created new BP project using FPS template. Deleted everything from the level. Then attempted to delete all the content to make purely blank project (so I could later migrate my 4.12.5 project into it) and then I was asked to Frce Delete assets, UE 4.13p3 crashed.

This does not occur in 4.12.5 This is a regression.

Steps to Reproduce
  1. Open the editor (First Person Template)
  2. Go to the Content folder in the Content Browser
  3. Select all of the folders and delete them
  4. When the prompt appears, select Force Delete

Result: Some assets will be deleted and the editor will crash during the process.

Callstack
UE4Editor_CoreUObject!UObjectBaseUtility::GetOutermost() [uobjectbaseutility.cpp:118]
UE4Editor_UnrealEd!ObjectTools::ForceDeleteObjects() [objecttools.cpp:2205]
UE4Editor_UnrealEd!FAssetDeleteModel::DoForceDelete() [assetdeletemodel.cpp:284]
UE4Editor_UnrealEd!SDeleteAssetsDialog::ForceDelete() [sdeleteassetsdialog.cpp:705]
UE4Editor_UnrealEd!TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [delegateinstanceinterface.h:161]
UE4Editor_UnrealEd!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [tuple.h:115]
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,SDeleteAssetsDialog,0,FReply __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:4901]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:4890]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5348]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5328]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1584]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:669]
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsApplication::PumpMessages() [windowsapplication.cpp:1942]
UE4Editor_Slate!FSlateApplication::TickPlatform() [slateapplication.cpp:1491]
UE4Editor_Slate!FSlateApplication::AddModalWindow() [slateapplication.cpp:1988]
UE4Editor_UnrealEd!UEditorEngine::EditorAddModalWindow() [editorengine.cpp:3592]
UE4Editor_UnrealEd!ObjectTools::DeleteObjects() [objecttools.cpp:1698]
UE4Editor_UnrealEd!ObjectTools::DeleteAssets() [objecttools.cpp:1605]
UE4Editor_ContentBrowser!FAssetContextMenu::ExecuteDelete() [assetcontextmenu.cpp:1784]
UE4Editor_ContentBrowser!SContentBrowser::HandleDeleteCommandExecute() [scontentbrowser.cpp:1972]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl() [delegateinstancesimpl.h:423]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:211]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:155]
UE4Editor_ContentBrowser!SContentBrowser::OnKeyDown() [scontentbrowser.cpp:971]
UE4Editor_Slate!<lambda_2afcd964c763e269e2d1a63f3a72f846>::operator() [slateapplication.cpp:4517]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_2afcd964c763e269e2d1a63f3a72f846> >() [slateapplication.cpp:215]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_2afcd964c763e269e2d1a63f3a72f846>,FKeyEvent>() [slateapplication.cpp:197]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [slateapplication.cpp:4515]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [slateapplication.cpp:4430]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1419]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:669]
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:905]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2788]
UE4Editor!GuardedMain() [launch.cpp:156]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.13
Target Fix4.13
Fix Commit3099761
Main Commit3109685
Release Commit3099761
CreatedAug 23, 2016
ResolvedAug 24, 2016
UpdatedMay 2, 2018