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:

13       
   14       /*-----------------------------------------------------------------------------------------------------------
   15       	FWeakObjectPtr
   16       -------------------------------------------------------------------------------------------------------------*/
   17       
   18       /**  
   19        * Copy from an object pointer
   20        * @param Object object to create a weak pointer to
   21       **/
   22       void FWeakObjectPtr::operator=(const class UObject *Object)
   23       {
   24       	if (Object // && UObjectInitialized() we might need this at some point, but it is a speed hit we would prefer to avoid
   25       		)
   26       	{
   27 ***** 		ObjectIndex = GUObjectArray.ObjectToIndex((UObjectBase*)Object);
   28       		ObjectSerialNumber = GUObjectArray.AllocateSerialNumber(ObjectIndex);
   29       		checkSlow(SerialNumbersMatch());
   30       	}
   31       	else
   32       	{
   33       		Reset();
   34       	}
   35       }
   36       
   37       bool FWeakObjectPtr::IsValid(bool bEvenIfPendingKill, bool bThreadsafeTest) const
   38       {
   39       	// This is the external function, so we just pass through to the internal inlined method.
   40       	return Internal_IsValid(bEvenIfPendingKill, bThreadsafeTest);
   41       }
   42       

Most recent user affected CL: 3172292

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


CrashReporter User Descriptions:

  • I tried to move point of trajectory spline of the object in Sequencer
  • Animating a static mesh in sequencer
Steps to Reproduce

This is one repro:

  1. Make a master and a shot
  2. Add a spawanble cube to the shot and animate it's transform in one axis
  3. Step back to the master and make a new take of the shot
  4. Step into the shot, select the cube, which should show the keyframe path in the viewport. Click on one of the keyframe end points. This will lead to a crash.
Callstack
UE4Editor_CoreUObject!FWeakObjectPtr::operator=() [weakobjectptr.cpp:28]
UE4Editor_Sequencer!FSequencerEdMode::OnKeySelected() [sequenceredmode.cpp:87]
UE4Editor_Sequencer!FSequencerEdModeTool::InputKey() [sequenceredmode.cpp:420]
UE4Editor_UnrealEd!FEdMode::InputKey() [edmode.cpp:294]
UE4Editor_Sequencer!FSequencerEdMode::InputKey() [sequenceredmode.cpp:60]
UE4Editor_UnrealEd!FEditorModeTools::InputKey() [editormodemanager.cpp:689]
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [editorviewportclient.cpp:2200]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [leveleditorviewport.cpp:2476]
UE4Editor_Engine!FSceneViewport::OnMouseButtonDown() [sceneviewport.cpp:403]
UE4Editor_Slate!SViewport::OnMouseButtonDown() [sviewport.cpp:182]
UE4Editor_Slate!<lambda_7097b900f0e4be30d80fb18f98c51ea0>::operator() [slateapplication.cpp:4518]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_7097b900f0e4be30d80fb18f98c51ea0> >() [slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [slateapplication.cpp:4507]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [slateapplication.cpp:4465]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [slateapplication.cpp:4399]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1518]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1850]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:745]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:667]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:903]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2729]
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-38205 in the post.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.114.124.13
Target Fix4.16
Fix Commit3387976
Main Commit3432852
Release Commit3394110
CreatedNov 3, 2016
ResolvedApr 11, 2017
UpdatedMay 1, 2018
View Jira Issue