Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

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

Source Context:

452       Records[i].Restore(this);
  453       }
  454       }
  455       
  456       // An Actor's components must always get its PostEditUndo before the owning Actor so do a quick sort
  457       ChangedObjects.KeySort([](UObject& A, UObject& B)
  458       {
  459       UActorComponent* BAsComponent = Cast<UActorComponent>(&B);
  460       return (BAsComponent ? (BAsComponent->GetOwner() != &A) : true);
  461       });
  462       
  463       TArray<ULevel*> LevelsToCommitModelSurface;
  464       NumModelsModified = 0;// Count the number of UModels that were changed.
  465       for (auto ChangedObjectIt : ChangedObjects)
  466 ***** {
  467       UObject* ChangedObject = ChangedObjectIt.Key;
  468       UModel* Model = Cast<UModel>(ChangedObject);
  469       if (Model && Model->Nodes.Num())
  470       {
  471       FBSPOps::bspBuildBounds(Model);
  472       ++NumModelsModified;
  473       }
  474       
  475       if (UModelComponent* ModelComponent = Cast<UModelComponent>(ChangedObject))
  476       {
  477       ULevel* Level = ModelComponent->GetTypedOuter<ULevel>();
  478       check(Level);
  479       LevelsToCommitModelSurface.AddUnique(Level);
  480       }
  481       

Most recent user affected CL: 3142249

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


CrashReporter User Descriptions:

  • tried to undo something
  • UEQA Laz.Matech - UMG Editor Adjusting the Settings, then hit Ctrl Z
Steps to Reproduce
  1. Open the editor
  2. Create a new widget blueprint
  3. Add a progress bar
  4. Enable Size to Content
  5. Set Percent to a value (I used 65)
  6. Click in the Designer graph and press CTRL+Z to undo the changes

Result: Editor crashes on undo

Callstack
UE4Editor_UnrealEd!FTransaction::Apply() [editortransaction.cpp:467]
UE4Editor_UnrealEd!UTransBuffer::Undo() [editortransaction.cpp:855]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() [delegateinstancesimpl.h:423]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:211]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:155]
UE4Editor_UnrealEd!FBaseToolkit::ProcessCommandBindings() [basetoolkit.cpp:77]
UE4Editor_UnrealEd!SStandaloneAssetEditorToolkitHost::OnKeyDown() [sstandaloneasseteditortoolkithost.cpp:335]
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?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-37266 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.134.144.15.14.16
Target Fix4.17
Fix Commit3527302
Main Commit3555226
Release Commit3527302
CreatedOct 13, 2016
ResolvedJul 7, 2017
UpdatedApr 27, 2018
View Jira Issue