Description

This is a low frequency but trending crash coming out of 4.18.

User Descriptions

  • Attempting to open a copied/converted from 4.16.3 project on 4.18 preview 4. Problem arose after preview 3. Was able to open on Preview 2 just fine.

Callstack from Log

[2017.11.02-21.04.14:566][  0]LogSlate: Took 0.001014 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/FontAwesome.ttf' (139K)
[2017.11.02-21.04.14:636][  0]LogMaterial: Missing cached shader map for material LevelGridMaterial2, compiling. 
[2017.11.02-21.04.14:715][  0]LogRenderer: Reallocating scene render targets to support 1208x552 Format 10 NumSamples 1 (Frame:1).
[2017.11.02-21.04.14:793][  0]LogMac: Error: appError called: Assertion failed: (PixelShader->Bindings.InOutMask & 0x8000) || (PixelShader->Bindings.InOutMask & 0x7fff) > 0 || PixelShader->Bindings.NumUAVs > 0 [File:/Users/build/Build/++UE4+Release-4.18+Compile/Sync/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalPipeline.cpp] [Line: 332] 


[2017.11.02-21.04.14:802][  0]LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

[2017.11.02-21.04.14:802][  0]LogMac: 0x0c57adbb UE4Editor-Core.dylib!FGenericPlatformMisc::RaiseException(unsigned int)   [UnknownFile]) 
0x123abc09 UE4Editor-ApplicationCore.dylib!FMacErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)   [UnknownFile]) 
0x0c828cfd UE4Editor-Core.dylib!FOutputDevice::Logf(wchar_t const*, ...)   [UnknownFile]) 
0x0c79f31b UE4Editor-Core.dylib!FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)   [UnknownFile]) 
0x2f168474 UE4Editor-MetalRHI.dylib!CreateMTLRenderPipeline(FGraphicsPipelineStateInitializer const&, EMetalIndexType)   [UnknownFile]) 
0x2f0fbd7a UE4Editor-MetalRHI.dylib!FMetalGraphicsPipelineState::FMetalGraphicsPipelineState(FGraphicsPipelineStateInitializer const&)   [UnknownFile]) 
0x2f0fc375 UE4Editor-MetalRHI.dylib!FMetalDynamicRHI::RHICreateGraphicsPipelineState(FGraphicsPipelineStateInitializer const&)   [UnknownFile]) 
0x1208ec57 UE4Editor-RHI.dylib!GetAndOrCreateGraphicsPipelineState(FRHICommandList&, FGraphicsPipelineStateInitializer const&, EApplyRendertargetOption)   [UnknownFile]) 
0x120900c8 UE4Editor-RHI.dylib!SetGraphicsPipelineState(FRHICommandList&, FGraphicsPipelineStateInitializer const&, EApplyRendertargetOption)   [UnknownFile]) 
0x1bdc9e50 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::PreRenderPrePass(FRHICommandListImmediate&)   [UnknownFile]) 
0x1bdba0b3 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::RenderPrePass(FRHICommandListImmediate&, TFunctionRef<void ()>)   [UnknownFile]) 
0x1bdab818 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&)   [UnknownFile]) 
0x1c4e8164 UE4Editor-Renderer.dylib!FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&)   [UnknownFile]) 
0x1c559baa UE4Editor-Renderer.dylib!TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type)   [UnknownFile]) 
0x0c59733c UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool)   [UnknownFile]) 
0x0c5963e8 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int)   [UnknownFile]) 
0x0c5924ce UE4Editor-Core.dylib!FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type)   [UnknownFile]) 
0x11ffe2a1 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
0x12012d17 UE4Editor-RenderCore.dylib!FRenderingThread::Run()   [UnknownFile]) 
0x0c60b69e UE4Editor-Core.dylib!FRunnableThreadPThread::Run()   [UnknownFile]) 
0x0c5b63e7 UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc(void*)   [UnknownFile]) 
0x7bf836c1 libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0x7bf8356d libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0x7bf82c5d libsystem_pthread.dylib!thread_start()   [UnknownFile]) 
Steps to Reproduce

repro steps currently unknown

Callstack
SEGV_MAPERR at 0x3

UE4Editor-MetalRHI.dylib!CreateMTLRenderPipeline()
UE4Editor-MetalRHI.dylib!FMetalGraphicsPipelineState::FMetalGraphicsPipelineState()
UE4Editor-MetalRHI.dylib!FMetalDynamicRHI::RHICreateGraphicsPipelineState()
UE4Editor-RHI.dylib!GetAndOrCreateGraphicsPipelineState()
UE4Editor-RHI.dylib!SetGraphicsPipelineState()
UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::PreRenderPrePass()
UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::RenderPrePass(FRHICommandListImmediate&, TFunctionRef<void()
UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::Render()
UE4Editor-Renderer.dylib!FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask()
UE4Editor-Renderer.dylib!TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask()
UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread()
UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit()
UE4Editor-Core.dylib!FTaskGraphImplementation::ProcessThreadUntilRequestReturn()
UE4Editor-RenderCore.dylib!RenderingThreadMain()
UE4Editor-RenderCore.dylib!FRenderingThread::Run()
UE4Editor-Core.dylib!FRunnableThreadPThread::Run()
UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc()
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.18
Target Fix4.19
Fix Commit3788536
Main Commit3809764
Release Commit3813083
CreatedNov 10, 2017
ResolvedDec 5, 2017
UpdatedApr 27, 2018
View Jira Issue