Description

This is an infrequent crash coming out of the 4.17 release.

User Descriptions

  • I was in Paint mode and attempted to switch to Place mode, it crashed.

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:262]
UE4Editor_MeshPaint!MeshPaintHelpers::ApplyVertexColorsToAllLODs() [meshpainthelpers.cpp:1177]
UE4Editor_MeshPaintMode!FPaintModePainter::ActorDeselected() [paintmodepainter.cpp:643]
UE4Editor_MeshPaint!IMeshPaintEdMode::Select() [imeshpaintmode.cpp:422]
UE4Editor_UnrealEd!UUnrealEdEngine::SelectActor() [editorselectutils.cpp:558]
UE4Editor_UnrealEd!UUnrealEdEngine::SelectNone() [editorselectutils.cpp:869]
UE4Editor_UnrealEd!ClickHandlers::ClickActor() [levelviewportclickhandlers.cpp:277]
UE4Editor_UnrealEd!FLevelEditorViewportClient::ProcessClick() [leveleditorviewport.cpp:1966]
UE4Editor_UnrealEd!FEditorViewportClient::ProcessClickInViewport() [editorviewportclient.cpp:2618]
UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [editorviewportclient.cpp:2380]
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [leveleditorviewport.cpp:2518]
UE4Editor_Engine!FSceneViewport::OnMouseButtonUp() [sceneviewport.cpp:575]
UE4Editor_Slate!SViewport::OnMouseButtonUp() [sviewport.cpp:200]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5199]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:232]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5188]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5690]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5670]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1718]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2161]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:881]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:721]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3151]
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-48988 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.174.18
Target Fix4.19
Fix Commit3730511
Main Commit3759284
Release Commit3813083
CreatedAug 29, 2017
ResolvedNov 1, 2017
UpdatedApr 11, 2018
View Jira Issue