Description

This is a common crash in the 4.18 release. Users have not provided any descriptions about their actions when the crash occurred.

Source Context

 301       /**
  302       * Specialized assignment operator, only used when importing LOD's.  
  303       */
  304       void FColorVertexBuffer::operator=(const FColorVertexBuffer &Other)
  305       {
  306       	//VertexData doesn't need to be allocated here because Build will be called next,
  307       	VertexData = NULL;
  308       }
  309       
  310       void FColorVertexBuffer::GetVertexColors( TArray<FColor>& OutColors ) const
  311       {
  312 ***** 	if( VertexData != NULL && NumVertices > 0 )
  313       	{
  314       		OutColors.SetNumUninitialized( NumVertices );
  315       
  316       		FMemory::Memcpy( OutColors.GetData(), VertexData->GetDataPointer(), NumVertices * VertexData->GetStride() ) ;
  317       	}
  318       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313]
UE4Editor_Engine!RemapPaintedVertexColors() [staticmeshbuild.cpp:319]
UE4Editor_MeshPaint!MeshPaintHelpers::ApplyVertexColorsToAllLODs() [meshpainthelpers.cpp:1177]
UE4Editor_MeshPaintMode!FPaintModePainter::Reset() [paintmodepainter.cpp:927]
UE4Editor_MeshPaint!IMeshPaintEdMode::Exit() [imeshpaintmode.cpp:138]
UE4Editor_UnrealEd!FEditorModeTools::DeactivateModeAtIndex() [editormodemanager.cpp:303]
UE4Editor_UnrealEd!FEditorModeTools::DeactivateMode() [editormodemanager.cpp:315]
UE4Editor_LevelEditor!SLevelEditor::ToggleEditorMode() [sleveleditor.cpp:1255]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [stoolbarbuttonblock.cpp:300]
UE4Editor_Slate!SToolBarButtonBlock::OnCheckStateChanged() [stoolbarbuttonblock.cpp:325]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!SCheckBox::ToggleCheckedState() [scheckbox.cpp:299]
UE4Editor_Slate!SCheckBox::OnMouseButtonUp() [scheckbox.cpp:190]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5263]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5252]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5750]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5730]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1725]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2171]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:888]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:725]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3220]
UE4Editor!GuardedMain() [launch.cpp:166]
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-52609 in the post.

0
Login to Vote

Duplicate
ComponentTools
Affects Versions4.18
CreatedNov 21, 2017
ResolvedNov 21, 2017
UpdatedApr 27, 2018
View Jira Issue