Description

This is a trending Mac/Metal crash coming out of 4.18. Users have not provided any descriptions of their actions when the crash occurred.

Callstack from Log

[2017.10.30-21.59.52:157][767]LogSlate: Took 0.000175 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (159K)
[2017.10.30-21.59.52:179][767]LogMaterial: Missing cached shader map for material Material_0, compiling. 
[2017.10.30-21.59.52:422][767]LogContentBrowser: Verbose: The majority of assets in the view are of type: FileMediaSource
[2017.10.30-22.00.00:361][313]LogMediaUtils: Error: Cannot play file://../../../../../../dev/Documents/Unreal Projects/***/***/Content/Movies/a246266b-4ab8-41f6-a273-8beac8a0c875.uasset, because none of the enabled media player plug-ins support it:
[2017.10.30-22.00.00:361][313]LogMediaUtils: | AndroidMedia (only available on Android, but not on Mac)
[2017.10.30-22.00.00:361][313]LogMediaUtils: | AvfMedia (URI scheme or file extension not supported)
[2017.10.30-22.00.00:362][313]LogMediaUtils: | ImgMedia (URI scheme or file extension not supported)
[2017.10.30-22.00.00:362][313]LogMediaUtils: | WmfMedia (only available on Windows, but not on Mac)
[2017.10.30-22.00.21:654][449]LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x278

[2017.10.30-22.00.21:654][449]LogMac: 0x40ff3233 AppleIntelHD5000GraphicsMTLDriver!SamplerStage::bindSamplerToTexture(unsigned char, unsigned char, bool&)   [UnknownFile]) 
0x40ff2f65 AppleIntelHD5000GraphicsMTLDriver!SamplerStage::writeSamplerState()   [UnknownFile]) 
0x40fe675a AppleIntelHD5000GraphicsMTLDriver!IGRenderStateSamplers::writeIf()   [UnknownFile]) 
0x40fdf2af AppleIntelHD5000GraphicsMTLDriver!IGAccelRenderCommandEncoder::programPipeline(sPrimitiveData const&)   [UnknownFile]) 
0x40fe102a AppleIntelHD5000GraphicsMTLDriver!IGAccelRenderCommandEncoder::drawIndexedPrimitives(unsigned long, unsigned int, unsigned long, MTLIGAccelBuffer*, unsigned int, unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
0x40fce66b AppleIntelHD5000GraphicsMTLDriver!-[MTLIGAccelRenderCommandEncoder drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:]   [UnknownFile]) 
0x30a50c40 UE4Editor-MetalRHI.dylib!FMetalRenderPass::DrawIndexedPrimitive(id<MTLBuffer>, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
0x30a34a21 UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIEndDrawIndexedPrimitiveUP()   [UnknownFile]) 
0x0fe16371 UE4Editor-Engine.dylib!DrawIndexedPrimitiveUP(FRHICommandList&, unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int, void const*, unsigned int)   [UnknownFile]) 
0x0fe15152 UE4Editor-Engine.dylib!FBatchedElements::Draw(FRHICommandList&, FDrawingPolicyRenderState const&, ERHIFeatureLevel::Type, bool, FSceneView const&, bool, float, TRefCountPtr<FRHITexture2D>, EBlendModeFilter::Type) const   [UnknownFile]) 
0x11279599 UE4Editor-Engine.dylib!TEnqueueUniqueRenderCommandType<FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::BatchedDrawCommandName, FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::$_10>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&)   [UnknownFile]) 
0x1127995a UE4Editor-Engine.dylib!TGraphTask<TEnqueueUniqueRenderCommandType<FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::BatchedDrawCommandName, FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::$_10> >::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type)   [UnknownFile]) 
0x0cfe233c UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool)   [UnknownFile]) 
0x0cfe13e8 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int)   [UnknownFile]) 
0x0cfdd4ce UE4Editor-Core.dylib!FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type)   [UnknownFile]) 
0x0e5c62a1 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
0x0e5dad17 UE4Editor-RenderCore.dylib!FRenderingThread::Run()   [UnknownFile]) 
0x0d05669e UE4Editor-Core.dylib!FRunnableThreadPThread::Run()   [UnknownFile]) 
0x0d0013e7 UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc(void*)   [UnknownFile]) 
0x9f8be93b libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0x9f8be887 libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0x9f8be08d libsystem_pthread.dylib!thread_start()   [UnknownFile]) 
Steps to Reproduce
  1. Use gfxCardStatus to lock in Integrated Only graphics
  2. Open editor to any project
  3. Right click in the content browser and select Media Texture
  4. Press enter

Result: Crash

Callstack
SEGV_MAPERR at 0x278

AppleIntelHD5000GraphicsMTLDriver!SamplerStage::bindSamplerToTexture()
AppleIntelHD5000GraphicsMTLDriver!SamplerStage::writeSamplerState()
AppleIntelHD5000GraphicsMTLDriver!IGRenderStateSamplers::writeIf()
AppleIntelHD5000GraphicsMTLDriver!IGAccelRenderCommandEncoder::programPipeline()
AppleIntelHD5000GraphicsMTLDriver!IGAccelRenderCommandEncoder::drawIndexedPrimitives()
AppleIntelHD5000GraphicsMTLDriver!<Unknown>
UE4Editor-MetalRHI.dylib!FMetalRenderPass::DrawIndexedPrimitive()
UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIEndDrawIndexedPrimitiveUP()
UE4Editor-Engine.dylib!DrawIndexedPrimitiveUP()
UE4Editor-Engine.dylib!FBatchedElements::Draw()
UE4Editor-Engine.dylib!TEnqueueUniqueRenderCommandType<FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::BatchedDrawCommandName, FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::$_10>::DoTask()
UE4Editor-Engine.dylib!TGraphTask<TEnqueueUniqueRenderCommandType<FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::BatchedDrawCommandName, FCanvasBatchedElementRenderItem::Render_GameThread(FCanvas const*)::$_10> >::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?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.18
Target Fix4.18.2
Fix Commit3770517
Main Commit3809764
CreatedNov 2, 2017
ResolvedNov 22, 2017
UpdatedSep 16, 2019
View Jira Issue