Description

This is a trending crash in the 4.17.0 release.

User Descriptions

  • Editor is crashing each time when i start movie rendering in sequencer (Separate process)

Source Context

1109       	/**
 1110       	 * Converts this weak pointer to a shared pointer that you can use to access the object (if it
 1111       	 * hasn't expired yet.)  Remember, if there are no more shared references to the object, the
 1112       	 * returned shared pointer will not be valid.  You should always check to make sure the returned
 1113       	 * pointer is valid before trying to dereference the shared pointer!
 1114       	 *
 1115       	 * @return  Shared pointer for this object (will only be valid if still referenced!)
 1116       	 */
 1117       	FORCEINLINE TSharedPtr< ObjectType, Mode > Pin() const
 1118       	{
 1119 ***** 		return TSharedPtr< ObjectType, Mode >( *this );
 1120       	}
Steps to Reproduce
  1. Create a map and a level sequence, add camera to the level sequence, save all
  2. Open create movie dialog, turn on 'Separate Process' AND 'Close Editor'
  3. Click on create movie

Expected: Editor closes, a separate process spins up and records the movie out

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

UE4Editor_SlateCore!TWeakPtr<SWidget,0>::Pin() [sharedpointer.h:1120]
UE4Editor_SlateCore!TSharedFromThis<SWidget,0>::AsShared() [sharedpointer.h:1204]
UE4Editor_LevelEditor!TSharedFromThis<SWidget,0>::SharedThis<SLevelEditor>() [sharedpointer.h:1262]
UE4Editor_LevelEditor!SLevelEditor::SpawnLevelEditorTab() [sleveleditor.cpp:652]
UE4Editor_LevelEditor!TMemberFunctionCaller<SLevelEditor,TSharedRef<SDockTab,0>() [delegateinstanceinterface.h:165]
UE4Editor_LevelEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int,0,1>,FName,FString>::ApplyAfter<TMemberFunctionCaller<SLevelEditor,TSharedRef<SDockTab,0>() [tuple.h:422]
UE4Editor_LevelEditor!TBaseSPMethodDelegateInstance<0,SLevelEditor,0,TSharedRef<SDockTab,0> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<TSharedRef<SDockTab,0>,FSpawnTabArgs const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!FTabManager::SpawnTab() [tabmanager.cpp:1413]
UE4Editor_Slate!FTabManager::InvokeTab_Internal() [tabmanager.cpp:1136]
UE4Editor_Slate!FTabManager::InvokeTab() [tabmanager.cpp:1077]
UE4Editor_Sequencer!FLevelEditorSequencerIntegration::DetachOutlinerColumn() [leveleditorsequencerintegration.cpp:1047]
UE4Editor_Sequencer!FAcquiredResources::Release() [acquiredresources.h:60]
UE4Editor_Sequencer!FLevelEditorSequencerIntegration::RemoveSequencer() [leveleditorsequencerintegration.cpp:1274]
UE4Editor_LevelSequenceEditor!FLevelSequenceEditorToolkit::~FLevelSequenceEditorToolkit() [levelsequenceeditortoolkit.cpp:182]
UE4Editor_LevelSequenceEditor!FLevelSequenceEditorToolkit::`scalar deleting destructor'()
UE4Editor_LevelEditor!TArray<TSharedPtr<IToolkit,0>,FDefaultAllocator>::Reset() [array.h:1500]
UE4Editor_LevelEditor!SLevelEditor::~SLevelEditor() [sleveleditor.cpp:266]
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!FSlotBase::~FSlotBase() [slotbase.cpp:35]
UE4Editor_Slate!TIndirectArray<SSplitter::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:445]
UE4Editor_Slate!SSplitter::~SSplitter()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_Slate!FSlateApplication::RequestDestroyWindow() [slateapplication.cpp:2277]
UE4Editor_Slate!FSlateApplication::CloseAllWindowsImmediately() [slateapplication.cpp:2868]
UE4Editor_Slate!FSlateApplication::Shutdown() [slateapplication.cpp:915]
UE4Editor!FEngineLoop::Exit() [launchengineloop.cpp:2791]
UE4Editor!GuardedMain() [launch.cpp:177]
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 to Questions & Answers just mention UE-48487 in the post.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.17
Target Fix4.17.2
Fix Commit3591066
CreatedAug 16, 2017
ResolvedAug 16, 2017
UpdatedApr 27, 2018