Description

This is a trending Mac/Metal crash in the 4.18 release, although although it has existed with low frequency since at least the 4.16 release. Users have not provided any descriptions of their actions when the crash occurred.

Callstack from Log

[2017.10.30-17.33.28:338][112]LogMaterial: Missing cached shader map for material FDebugViewModeMaterialProxy White_Card, compiling. 
[2017.10.30-17.33.28:341][112]TextureStreamingBuild: Display: Compiling optional shaders took 0.087 seconds.
[2017.10.30-17.33.28:368][112]LogMac: Error: appError called: Assertion failed:  [File:/Users/build/Build/++UE4+Release-4.18+Compile/Sync/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalCommands.cpp] [Line: 833] 
'RHIEndDrawIndexedPrimitiveUP with tessellation' is not supported

[2017.10.30-17.33.28:521][112]LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

[2017.10.30-17.33.28:521][112]LogMac: 0x0c96ddbb UE4Editor-Core.dylib!FGenericPlatformMisc::RaiseException(unsigned int)   [UnknownFile]) 
0x0e306c09 UE4Editor-ApplicationCore.dylib!FMacErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)   [UnknownFile]) 
0x0cc1bcfd UE4Editor-Core.dylib!FOutputDevice::Logf(wchar_t const*, ...)   [UnknownFile]) 
0x0cb9231b UE4Editor-Core.dylib!FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)   [UnknownFile]) 
0x2f6fef9f UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIEndDrawIndexedPrimitiveUP()   [UnknownFile]) 
0x1bffe641 UE4Editor-Renderer.dylib!DrawIndexedPrimitiveUP(FRHICommandList&, unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int, void const*, unsigned int)   [UnknownFile]) 
0x1c1f5a27 UE4Editor-Renderer.dylib!FMeshDrawingPolicy::DrawMesh(FRHICommandList&, FMeshBatch const&, int, bool) const   [UnknownFile]) 
0x1c0c9213 UE4Editor-Renderer.dylib!void FDrawBasePassDynamicMeshAction::Process<FUniformLightMapPolicy>(FRHICommandList&, FProcessBasePassMeshParameters const&, FUniformLightMapPolicy const&, FUniformLightMapPolicy::ElementDataType const&)   [UnknownFile]) 
0x1c03c570 UE4Editor-Renderer.dylib!void ProcessBasePassMesh<FDrawBasePassDynamicMeshAction>(FRHICommandList&, FProcessBasePassMeshParameters const&, FDrawBasePassDynamicMeshAction&&)   [UnknownFile]) 
0x1c03bd59 UE4Editor-Renderer.dylib!FBasePassOpaqueDrawingPolicyFactory::DrawDynamicMesh(FRHICommandList&, FViewInfo const&, FBasePassOpaqueDrawingPolicyFactory::ContextType, FMeshBatch const&, bool, FDrawingPolicyRenderState const&, FPrimitiveSceneProxy const*, FHitProxyId, bool)   [UnknownFile]) 
0x1c75e4f0 UE4Editor-Renderer.dylib!FRendererModule::DrawTileMesh(FRHICommandListImmediate&, FDrawingPolicyRenderState&, FSceneView const&, FMeshBatch const&, bool, FHitProxyId const&)   [UnknownFile]) 
0x1d82128a UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::RenderMaterial(FRHICommandListImmediate&, FDrawingPolicyRenderState&, FSceneView const&, FMeshMaterialRenderItem::FRenderData&)   [UnknownFile]) 
0x1d828e1c UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::Render_GameThread(FCanvas const*)::'lambda'(FRHICommandListImmediate&)::operator()(FRHICommandListImmediate&) const   [UnknownFile]) 
0x1d82044e UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::Render_GameThread(FCanvas const*)   [UnknownFile]) 
0x0feb64b8 UE4Editor-Engine.dylib!FCanvas::Flush_GameThread(bool)   [UnknownFile]) 
0x1d8163e6 UE4Editor-MaterialUtilities.dylib!FMeshRenderer::RenderMaterialTexCoordScales(FMaterialMergeData&, FMaterialRenderProxy*, UTextureRenderTarget2D*, TArray<FFloat16Color, FDefaultAllocator>&)   [UnknownFile]) 
0x1d813d47 UE4Editor-MaterialUtilities.dylib!FMaterialUtilities::ExportMaterialUVDensities(UMaterialInterface*, EMaterialQualityLevel::Type, ERHIFeatureLevel::Type, FMaterialUtilities::FExportErrorManager&)   [UnknownFile]) 
0x13fb7485 UE4Editor-UnrealEd.dylib!FEditorBuildUtils::EditorBuildTextureStreaming(UWorld*, EViewModeIndex)   [UnknownFile]) 
0x13fb6287 UE4Editor-UnrealEd.dylib!FBuildAllHandler::ProcessBuild(TWeakPtr<SBuildProgressWidget, (ESPMode)0> const&)   [UnknownFile]) 
0x13fb3f2a UE4Editor-UnrealEd.dylib!FBuildAllHandler::StartBuild(UWorld*, FName, TWeakPtr<SBuildProgressWidget, (ESPMode)0> const&)   [UnknownFile]) 
0x13fae613 UE4Editor-UnrealEd.dylib!FEditorBuildUtils::EditorBuild(UWorld*, FName, bool)   [UnknownFile]) 
0x2671e547 UE4Editor-LevelEditor.dylib!TBaseStaticDelegateInstance<void ()>::ExecuteIfSafe() const   [UnknownFile]) 
0x12a68af2 UE4Editor-Slate.dylib!FUICommandList::ExecuteAction(TSharedRef<FUICommandInfo const, (ESPMode)0>) const   [UnknownFile]) 
0x12b9d56a UE4Editor-Slate.dylib!SToolBarButtonBlock::OnClicked()   [UnknownFile]) 
0x12c18176 UE4Editor-Slate.dylib!TBaseSPMethodDelegateInstance<false, SToolBarButtonBlock, (ESPMode)0, FReply ()>::Execute() const   [UnknownFile]) 
0x12c6ddca UE4Editor-Slate.dylib!SButton::OnMouseButtonUp(FGeometry const&, FPointerEvent const&)   [UnknownFile]) 
0x12a33d4b UE4Editor-Slate.dylib!FSlateApplication::RoutePointerUpEvent(FWidgetPath&, FPointerEvent&)   [UnknownFile]) 
0x129d6a74 UE4Editor-Slate.dylib!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent&)   [UnknownFile]) 
0x12a3d71e UE4Editor-Slate.dylib!FSlateApplication::OnMouseUp(EMouseButtons::Type, FVector2D)   [UnknownFile]) 
0x0e2f3221 UE4Editor-ApplicationCore.dylib!FMacApplication::ProcessEvent(FDeferredMacEvent const&)   [UnknownFile]) 
0x0e2f2d3f UE4Editor-ApplicationCore.dylib!FMacApplication::ProcessDeferredEvents(float)   [UnknownFile]) 
0x12a01d30 UE4Editor-Slate.dylib!FSlateApplication::TickPlatform(float)   [UnknownFile]) 
0x12a012c3 UE4Editor-Slate.dylib!FSlateApplication::Tick(ESlateTickType)   [UnknownFile]) 
0x0c862f9e UE4Editor!FEngineLoop::Tick()   [UnknownFile]) 
0x0c86ae62 UE4Editor!GuardedMain(wchar_t const*)   [UnknownFile]) 
0x0c878500 UE4Editor!-[UE4AppDelegate runGameThread:]   [UnknownFile]) 
0x0cb18137 UE4Editor-Core.dylib!-[FCocoaGameThread main]   [UnknownFile]) 
0xb80328ad Foundation!__NSThread__start__()   [UnknownFile]) 
0xcbfb093b libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0xcbfb0887 libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0xcbfb008d libsystem_pthread.dylib!thread_start()   [UnknownFile]) 

Steps to Reproduce

repro steps currently unknown

Callstack
SEGV_MAPERR at 0x3

UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIEndDrawIndexedPrimitiveUP()
UE4Editor-Renderer.dylib!DrawIndexedPrimitiveUP()
UE4Editor-Renderer.dylib!FMeshDrawingPolicy::DrawMesh()
UE4Editor-Renderer.dylib!void FDrawBasePassDynamicMeshAction::Process<FUniformLightMapPolicy>()
UE4Editor-Renderer.dylib!void ProcessBasePassMesh<FDrawBasePassDynamicMeshAction>()
UE4Editor-Renderer.dylib!FBasePassOpaqueDrawingPolicyFactory::DrawDynamicMesh()
UE4Editor-Renderer.dylib!FRendererModule::DrawTileMesh()
UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::RenderMaterial()
UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::Render_GameThread(FCanvas const*)::'lambda'(FRHICommandListImmediate&)::operator()()
UE4Editor-MaterialUtilities.dylib!FMeshMaterialRenderItem::Render_GameThread()
UE4Editor-Engine.dylib!FCanvas::Flush_GameThread()
UE4Editor-MaterialUtilities.dylib!FMeshRenderer::RenderMaterialTexCoordScales()
UE4Editor-MaterialUtilities.dylib!FMaterialUtilities::ExportMaterialUVDensities()
UE4Editor-UnrealEd.dylib!FEditorBuildUtils::EditorBuildTextureStreaming()
UE4Editor-UnrealEd.dylib!FBuildAllHandler::ProcessBuild(TWeakPtr<SBuildProgressWidget,()
UE4Editor-UnrealEd.dylib!FBuildAllHandler::StartBuild(UWorld*, FName, TWeakPtr<SBuildProgressWidget,()
UE4Editor-UnrealEd.dylib!FEditorBuildUtils::EditorBuild()
UE4Editor-LevelEditor.dylib!TBaseStaticDelegateInstance<void ()>::ExecuteIfSafe()
UE4Editor-Slate.dylib!FUICommandList::ExecuteAction(TSharedRef<FUICommandInfo const,()
UE4Editor-Slate.dylib!SToolBarButtonBlock::OnClicked()
UE4Editor-Slate.dylib!TBaseSPMethodDelegateInstance<false, SToolBarButtonBlock, (ESPMode)0, FReply ()>::Execute()
UE4Editor-Slate.dylib!SButton::OnMouseButtonUp()
UE4Editor-Slate.dylib!FSlateApplication::RoutePointerUpEvent()
UE4Editor-Slate.dylib!FSlateApplication::ProcessMouseButtonUpEvent()
UE4Editor-Slate.dylib!FSlateApplication::OnMouseUp()
UE4Editor-ApplicationCore.dylib!FMacApplication::ProcessEvent()
UE4Editor-ApplicationCore.dylib!FMacApplication::ProcessDeferredEvents()
UE4Editor-Slate.dylib!FSlateApplication::TickPlatform()
UE4Editor-Slate.dylib!FSlateApplication::Tick()
UE4Editor!FEngineLoop::Tick()
UE4Editor!GuardedMain()
UE4Editor!<Unknown>
UE4Editor-Core.dylib!<Unknown>
Foundation!Unknown()
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-51937 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering
Affects Versions4.164.174.18
Target Fix4.18.2
Fix Commit3778360
CreatedNov 2, 2017
ResolvedNov 29, 2017
UpdatedApr 27, 2018