Description

This bug report was entered as new crash groups appeared linking to [Link Removed] which was marked as fixed for 4.15.1 and the previous reproduction did not reproduce the issue

Error message:

Assertion failed: SharedThis.Get() == this [Link Removed] [Line: 1093]

Source Context:

 1082       
 1083       		//
 1084       		// If the following assert goes off, it means one of the following:
 1085       		//
 1086       		//     - You tried to request a shared pointer before the object was ever assigned to one. (e.g. constructor)
 1087       		//     - You tried to request a shared pointer while the object is being destroyed (destructor chain)
 1088       		//
 1089       		// To fix this, make sure you create at least one shared reference to your object instance before requested,
 1090       		// and also avoid calling this function from your object's destructor.
 1091       		//
 1092       		check( SharedThis.Get() == this );
 1093       
 1094       		// Now that we've verified the shared pointer is valid, we'll convert it to a shared reference
 1095       		// and return it!
 1096 ***** 		return SharedThis.ToSharedRef();
 1097       	}
 1098       
 1099       	/**
 1100       	 * Provides access to a shared reference to this object (const.)  Note that is only valid to call
 1101       	 * this after a shared reference (or shared pointer) to the object has already been created.
 1102       	 * Also note that it is illegal to call this in the object's destructor.
 1103       	 *
 1104       	 * @return	Returns this object as a shared pointer (const)
 1105       	 */
 1106       	TSharedRef< ObjectType const, Mode > AsShared() const
 1107       	{
 1108       		TSharedPtr< ObjectType const, Mode > SharedThis( WeakThis );
 1109       
 1110       		//
 1111       		// If the following assert goes off, it means one of the following:

Most Recent User Affected CL: 3348071

Steps to Reproduce

Currently no reproduction known

Callstack
UE4Editor_SlateCore!TSharedFromThis<SWidget,0>::AsShared() sharedpointer.h:1221 
UE4Editor_Slate!TSharedFromThis<SWidget,0>::SharedThis<SEditableText>() sharedpointer.h:1264 
UE4Editor_Slate!SEditableText::GetSlateWidget() seditabletext.cpp:467 
UE4Editor_Slate!FSlateEditableTextLayout::UpdateCursorHighlight() slateeditabletextlayout.cpp:2314 
UE4Editor_Slate!FSlateEditableTextLayout::FTextInputMethodContext::EndComposition() slateeditabletextlayout.cpp:3555 
UE4Editor_Core!FTextStoreACP::OnEndComposition() textstoreacp.cpp:831 
msctf!CInputContext::_UnadviseSinks() 
msctf!CDocumentInputManager::_Pop() 
msctf!CDocumentInputManager::Pop() 
UE4Editor_Core!FWindowsTextInputMethodSystem::UnregisterContext() windowstextinputmethodsystem.cpp:699 
UE4Editor_Slate!FSlateEditableTextLayout::~FSlateEditableTextLayout() slateeditabletextlayout.cpp:213 
UE4Editor_Slate!SEditableText::~SEditableText() seditabletext.cpp:16 
UE4Editor_Slate!SEditableText::`vector deleting destructor'() 
UE4Editor_SlateCore!FSlotBase::~FSlotBase() slotbase.cpp:35 
UE4Editor_Slate!SBox::~SBox() 
UE4Editor_Slate!SBox::`vector deleting destructor'() 
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() indirectarray.h:444 
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel() 
UE4Editor_Slate!SHorizontalBox::`scalar deleting destructor'() 
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot() 
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget() 
UE4Editor_GraphEditor!SSearchBox::`scalar deleting destructor'() 
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() indirectarray.h:444 
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel() 
UE4Editor_GraphEditor!SVerticalBox::`scalar deleting destructor'() 
UE4Editor_SlateCore!TArray<FArrangedWidget,TInlineAllocator<16,FDefaultAllocator> >::~TArray<FArrangedWidget,TInlineAllocator<16,FDefaultAllocator> array.h:552 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5133 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5531 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5508 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1698 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714 
user32!UserCallWinProcCheckWow() 
user32!DispatchMessageWorker() 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2977 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134 
UE4Editor!WinMain() launchwindows.cpp:210 
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-44101 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.15.1
Target Fix4.16
Fix Commit3397856
Main Commit3427032
Release Commit3397856
CreatedApr 18, 2017
ResolvedApr 18, 2017
UpdatedMay 30, 2017
View Jira Issue