Description

This is a somewhat common Mac crash occurring since 4.15 and into 4.17.1. Users have not provided any descriptions of their actions when the crash occurred.

This specific callstack was previously associated with the similar callstack under [Link Removed], but that has been fixed for 4.17.0 while this one still continues into 4.17.1.

Callstack from Log

Assertion failed: Assertion failed:  [File:/Users/build/Build/++UE4+Release-4.17+Compile/Sync/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderPipelineDesc.cpp] [Line: 580] 
Failed to generate a render pipeline state object:

 Link failed: fragment input user(SV_SampleIndex) was not found in vertex shader outputs

=== Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x7d2fadb  (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x7f4708f  (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x802d8fd  (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x7f807ce  (filename not found) [in UE4Editor-Core.dylib]
FMetalRenderPipelineDesc::CreatePipelineStateForBoundShaderState(FMetalBoundShaderState*, FMetalHashedVertexDescriptor const&) const Address = 0x4673951a (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalBoundShaderState::PrepareToDraw(FMetalHashedVertexDescriptor const&, FMetalRenderPipelineDesc const&) Address = 0x46704c92 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalContext::PrepareToDraw(unsigned int, EMetalIndexType) Address = 0x466fea28 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRHICommandContext::RHIDrawIndexedPrimitive(FRHIIndexBuffer*, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) Address = 0x466e0b72 (filename not found) [in UE4Editor-MetalRHI.dylib]
DrawRectangle(FRHICommandList&, float, float, float, float, float, float, float, float, FIntPoint, FIntPoint, FShader*, EDrawRectangleFlags, unsigned int) Address = 0x19473aa8 (filename not found) [in UE4Editor-Renderer.dylib]
FSceneRenderer::RenderDistortion(FRHICommandListImmediate&) Address = 0x190de61e (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) Address = 0x190362f0 (filename not found) [in UE4Editor-Renderer.dylib]
FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x196bf350 (filename not found) [in UE4Editor-Renderer.dylib]
TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) Address = 0x197236e0 (filename not found) [in UE4Editor-Renderer.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x7d5300f  (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x7d52018  (filename not found) [in UE4Editor-Core.dylib]
FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) Address = 0x7d4dda1  (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0xeaa5cb1  (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0xeabb5d7  (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x7dd1ad0  (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x7d739c0  (filename not found) [in UE4Editor-Core.dylib]
_pthread_body() Address = 0xe3f5593b (filename not found) [in libsystem_pthread.dylib]
_pthread_body() Address = 0xe3f55887 (filename not found) [in libsystem_pthread.dylib]
thread_start() Address = 0xe3f5508d (filename not found) [in libsystem_pthread.dylib]
Steps to Reproduce

repro steps currently unknown

Callstack
SEGV_MAPERR at 0x3

UE4Editor-MetalRHI.dylib!FMetalRenderPipelineDesc::CreatePipelineStateForBoundShaderState() 
UE4Editor-MetalRHI.dylib!FMetalBoundShaderState::PrepareToDraw() 
UE4Editor-MetalRHI.dylib!FMetalContext::PrepareToDraw() 
UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIDrawIndexedPrimitive() 
UE4Editor-Renderer.dylib!DrawRectangle() 
UE4Editor-Renderer.dylib!FSceneRenderer::RenderDistortion() 
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-49008 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.154.164.17
Target Fix4.18
Fix Commit3574705
Main Commit3635058
Release Commit3643070
CreatedAug 29, 2017
ResolvedAug 29, 2017
UpdatedApr 27, 2018
View Jira Issue