Description

I've attached the project log, crashreport, and crash info to this ticket. This issue only appears to be happening on Linux (On both Nvidia/AMD cards) and does not happen when the hair is disabled in the project.

Steps to Reproduce
  1. Download and open the repro project
  2. Move and turn around in the viewport for a few seconds

Result: Project crashes

Expected: Project does not crash, viewport moves around as normal

Callstack
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: === Handled ensure: ===
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: 
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: Ensure condition failed: EnumHasAnyFlags(Texture->Desc.Flags, TexCreate_RenderTargetable | TexCreate_ResolveTargetable) [File:/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp] [Line: 409]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: Pass 'HairStrandsAO %dx%d' attempted to bind texture 'SSRTAmbientOcclusion' as a render target, but the texture has not been created with TexCreate_RenderTargetable.
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: Stack: 
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5121ff2468 libUE4Editor-RenderCore.so!FRDGUserValidation::ValidateAddPass(FRDGPass const*, bool) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp:406]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5121ff1c68 libUE4Editor-RenderCore.so!FRDGBuilder::SetupPass(FRDGPass*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp:1329]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5113851c43 libUE4Editor-Renderer.so!RenderHairStrandsAmbientOcclusion(FRDGBuilder&, TArrayView<FViewInfo const, int>, FHairStrandsRenderingData const*, FRDGTexture* const&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Renderer/Private/HairStrands/HairStrandsEnvironment.cpp:566]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5113919dee libUE4Editor-Renderer.so!FDeferredShadingSceneRenderer::RenderDiffuseIndirectAndAmbientOcclusion(FRDGBuilder&, TRDGUniformBuffer<FSceneTextureUniformParameters>*, FRDGTexture*, FHairStrandsRenderingData*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Renderer/Private/IndirectLightRendering.cpp:470]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f511371b102 libUE4Editor-Renderer.so!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Renderer/Private/DeferredShadingRenderer.cpp:2104]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5113deb147 libUE4Editor-Renderer.so!RenderViewFamily_RenderThread(FRHICommandListImmediate&, FSceneRenderer*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Renderer/Private/SceneRendering.cpp:3616]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5113dea978 libUE4Editor-Renderer.so!TEnqueueUniqueRenderCommandType<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_45>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h:183]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5113ded97c libUE4Editor-Renderer.so!TGraphTask<TEnqueueUniqueRenderCommandType<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_45> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:886]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f51276676ec libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:709]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5127665dee libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:600]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f512200cdff libUE4Editor-RenderCore.so!RenderingThreadMain(FEvent*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:372]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5122057da2 libUE4Editor-RenderCore.so!FRenderingThread::Run() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:526]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f5127717597 libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f51276db963 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f512805d609 libpthread.so.0!UnknownFunction(0x9608)
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: [Callstack] 0x00007f511ea78293 libc.so.6!clone(+0x42)
[2021.02.02-20.12.43:011][  4]LogOutputDevice: Error: 
[2021.02.02-20.12.43:011][  4]LogStats:                SubmitErrorReport -  0.000 s
[2021.02.02-20.12.43:021][  4]LogStats:                    SendNewReport -  0.009 s
[2021.02.02-20.12.43:021][  4]LogStats:             FDebug::EnsureFailed -  0.017 s
[2021.02.02-20.12.44:020][ 23]LogCore: Done sending crash report for ensure().
[2021.02.02-20.28.45:712][938]LogCore: Error: appError called: Assertion failed: Layout->AreAllSubresourcesSameLayout() [File:Runtime/VulkanRHI/Private/VulkanBarriers.h] [Line: 184] 


[2021.02.02-20.28.45:723][938]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2021.02.02-20.28.45:724][938]LogCore: Assertion failed: Layout->AreAllSubresourcesSameLayout() [File:Runtime/VulkanRHI/Private/VulkanBarriers.h] [Line: 184] 



0x00007f512769406e libUE4Editor-Core.so!FGenericPlatformMisc::RaiseException(unsigned int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:472]
0x00007f51278df10b libUE4Editor-Core.so!FOutputDevice::LogfImpl(char16_t const*, ...) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp:61]
0x00007f512785f6b6 libUE4Editor-Core.so!AssertFailedImplV(char const*, char const*, int, char16_t const*, __va_list_tag*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:104]
0x00007f512785f54b libUE4Editor-Core.so!FDebug::CheckVerifyFailedImpl(char const*, char const*, int, char16_t const*, ...) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:458]
0x00007f4ede7d5004 libUE4Editor-SteamVR.so!FVulkanLayoutManager::FindOrAddLayoutRW(VkImage_T*, VkImageLayout, unsigned int, unsigned int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanBarriers.h:184]
0x00007f4ede323535 libUE4Editor-VulkanRHI.so!FVulkanSurface::MoveSurface(FVulkanDevice&, VulkanRHI::FVulkanAllocation&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp:743]
0x00007f4ede328756 libUE4Editor-VulkanRHI.so!FVulkanTextureBase::Move(FVulkanDevice&, VulkanRHI::FVulkanAllocation&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp:2450]
0x00007f4ede2b9c6a libUE4Editor-VulkanRHI.so!VulkanRHI::FVulkanSubresourceAllocator::DefragTick(FVulkanDevice&, VulkanRHI::FVulkanResourceHeap*, unsigned int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4226]
0x00007f4ede2b96dc libUE4Editor-VulkanRHI.so!VulkanRHI::FVulkanResourceHeap::DefragTick(FVulkanDevice&, unsigned int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:1890]
0x00007f4ede2bd885 libUE4Editor-VulkanRHI.so!VulkanRHI::FMemoryManager::ReleaseFreedPages() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:2453]
0x00007f4ede311c03 libUE4Editor-VulkanRHI.so!FVulkanCommandListContext::RHIEndFrame() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:901]
0x00007f5121e88b96 libUE4Editor-RHI.so!FRHICommand<FRHICommandEndFrame, FRHICommandEndFrameString1826>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:763]
0x00007f5121e1b64e libUE4Editor-RHI.so!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:373]
0x00007f5121e9b1b6 libUE4Editor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:428]
0x00007f5121e9a822 libUE4Editor-RHI.so!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:886]
0x00007f51276676ec libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:709]
0x00007f5127665dee libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:600]
0x00007f512205746d libUE4Editor-RenderCore.so!FRHIThread::Run() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:319]
0x00007f5127717597 libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
0x00007f51276db963 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/testuser/GH/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
0x00007f512805d609 libpthread.so.0!UnknownFunction(0x9608)
0x00007f511ea78293 libc.so.6!clone(+0x42)

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.264.26.14.26.2
Target Fix4.26.2
Fix Commit15531321
Release Commit15531321
CreatedFeb 2, 2021
ResolvedFeb 25, 2021
UpdatedNov 29, 2022
View Jira Issue