Description

No user comments in crash group

  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       	}

Similar issue logged: UE-55312

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_Core!TArray<wchar_t,FDefaultAllocator>::ResizeGrow() [array.h:2452]
UE4Editor_Core!FStatNameAndInfo::ToLongName() [stats2.cpp:715]
UE4Editor_Core!FStartupMessages::AddMetadata() [stats2.cpp:326]
UE4Editor_Core!FThreadSafeStaticStatBase::DoSetup() [stats2.cpp:353]
UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FScene::UpdateReflectionCaptureTransform'::`5'::FUpdateTransformCommandName,<lambda_c09375fe33e1e0d605059fbd6e1834e7> > >::ExecuteTask() [taskgraphinterfaces.h:828]
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 toAnswerHub just mention UE-56231 in the post.

1
Login to Vote

Fixed
ComponentCore
Affects Versions4.19
Target Fix4.20.1
Fix Commit4005473
Main Commit4358751
CreatedMar 16, 2018
ResolvedAug 10, 2018
UpdatedSep 25, 2018