Description

No user comments in crash group

  108       #endif
  109       	void* NewPtr = NULL;
  110       #if PLATFORM_MAC
  111       	// macOS expects all allocations to be aligned to 16 bytes, but TBBs default alignment is 8, so on Mac we always have to use scalable_aligned_realloc
  112       	Alignment = AlignArbitrary(FMath::Max((uint32)16, Alignment), (uint32)16);
  113       	NewPtr = scalable_aligned_realloc(Ptr, NewSize, Alignment);
  114       #else
  115       	if (Alignment != DEFAULT_ALIGNMENT)
  116       	{
  117       		Alignment = FMath::Max(NewSize >= 16 ? (uint32)16 : (uint32)8, Alignment);
  118       		NewPtr = scalable_aligned_realloc(Ptr, NewSize, Alignment);
  119       	}
  120       	else
  121       	{
  122 ***** 		NewPtr = scalable_realloc(Ptr, NewSize);
  123       	}
Steps to Reproduce

No known steps to reproduce

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

UE4Editor_Core!rml::internal::ExtMemoryPool::initTLS()
UE4Editor_Core!scalable_realloc()
UE4Editor_Core!FMallocTBB::Realloc() [malloctbb.cpp:123]
UE4Editor_Core!FMemory::Realloc() [fmemory.inl:48]
UE4Editor_SlateRHIRenderer!TArray<FSceneView const * __ptr64,FDefaultAllocator>::ResizeGrow() [array.h:2452]
UE4Editor_SlateRHIRenderer!CreateSceneView() [slaterhirenderingpolicy.cpp:238]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderingPolicy::DrawElements() [slaterhirenderingpolicy.cpp:331]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() [slaterhirenderer.cpp:770]
UE4Editor_SlateRHIRenderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FSlateRHIRenderer::DrawWindows_Private'::`29'::SlateDrawWindowsCommandName,<lambda_43e86ee7c51f39979e9a39d40b280024> > >::ExecuteTask() [taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:331]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:465]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-55312 in the post.

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.174.19
Target Fix4.21
CreatedFeb 17, 2018
ResolvedNov 5, 2018
UpdatedDec 11, 2018
View Jira Issue