Description

Editor crashes when opening to project browser on Linux.

Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 819] 
Rendering thread exception:
Assertion failed: !UploadCmdBuffer [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\VulkanRHI\Private\VulkanCommandBuffer.cpp] [Line: 457]

This issue is also reproducing on Windows -vulkan @ CL 5407521, so I updated repro steps to reflect Windows crash.

This crash wasn't occurring when testing was done in Preview 5 on Linux, so I'm labeling it a Regression.

So far while testing we are able to open a specific project to work around the crash without crashing, but I will update the bug if this affects is within certain projects and testing as well.

Steps to Reproduce

Steps:

  1. Update to latest Binary
  2. Open Command prompt at
    /binaryfolder/Engine/Binaries/Win64
  3. Run command: UE4Editor.exe -vulkan

Results: Editor will crash sitting at Project Browser

Callstack
0x00007ffc5681a388 KERNELBASE.dll!UnknownFunction []
0x00007ffc00461607 UE4Editor-Core.dll!ReportAssert() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:551]
0x00007ffc00463db7 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
0x00007ffc0027720a UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
0x00007ffc001ff367 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:440]
0x00007ffc001ff9f9 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:418]
0x00007ffbe878532d UE4Editor-VulkanRHI.dll!FVulkanCommandBufferManager::PrepareForNewActiveCommandBuffer() [d:\build\++ue4\sync\engine\source\runtime\vulkanrhi\private\vulkancommandbuffer.cpp:457]
0x00007ffbe87d2c60 UE4Editor-VulkanRHI.dll!FVulkanDynamicRHI::RHIGetRenderQueryResult() [d:\build\++ue4\sync\engine\source\runtime\vulkanrhi\private\vulkanquery.cpp:509]
0x00007ffbf82f136c UE4Editor-Engine.dll!FRealtimeGPUProfilerFrame::UpdateStats() [d:\build\++ue4\sync\engine\source\runtime\engine\private\sceneutils.cpp:431]
0x00007ffbf82bb35c UE4Editor-Engine.dll!FRealtimeGPUProfiler::EndFrame() [d:\build\++ue4\sync\engine\source\runtime\engine\private\sceneutils.cpp:665]
0x00007ff76b32d750 UE4Editor.exe!<lambda_bbbc7b01160441f8cf6059f0a95c325f>::operator()() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4193]
0x00007ff76b33319c UE4Editor.exe!TGraphTask<TEnqueueUniqueRenderCommandType<`FEngineLoop::Tick'::`28'::EndFrameName,<lambda_bbbc7b01160441f8cf6059f0a95c325f> > >::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:842]
0x00007ffc00082238 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:686]
0x00007ffc000824c3 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:582]
0x00007ffc32bd5681 UE4Editor-RenderCore.dll!RenderingThreadMain() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
0x00007ffc32bdbe14 UE4Editor-RenderCore.dll!FRenderingThread::Run() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:464]
0x00007ffc0047420f UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]
0x00007ffc0046ff77 UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:53]
0x00007ffc58123dc4 KERNEL32.DLL!UnknownFunction []
0x00007ffc598b3691 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-71653 in the post.

0
Login to Vote

Fixed
ComponentRendering - RHI
Affects Versions4.22
Target Fix4.22
Fix Commit5418772
Main Commit6843774
CreatedMar 15, 2019
ResolvedMar 15, 2019
UpdatedJun 5, 2019