预热pso,启动命令行增加-trace
重现步骤
启动命令行增加-trace,开启boundled pso功能,预热阶段会出现崩溃
[Image Removed]
崩溃堆栈
LogTemp: UCrashSightManager::OnUECrashing
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Fatal error!
LogWindows: Error:
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
LogWindows: Error:
LogWindows: Error: [Callstack] 0x00007ff7cba15048 CFRClient.exe!FCompilePipelineStateTask::CompilePSO() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp:3092]
LogWindows: Error: [Callstack] 0x00007ff7cba093df CFRClient.exe!`InternalCreateGraphicsPipelineState’::`17’::<lambda_1>::operator()() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp:3705]
LogWindows: Error: [Callstack] 0x00007ff7cba19c0d CFRClient.exe!FPSOPrecacheAsyncTask::DoTaskWork() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp:638]
LogWindows: Error: [Callstack] 0x00007ff7c724387a CFRClient.exe!FAsyncTaskBase::DoWork() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:289]
LogWindows: Error: [Callstack] 0x00007ff7c724219e CFRClient.exe!FAsyncTaskBase::DoThreadedWork() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:313]
LogWindows: Error: [Callstack] 0x00007ff7c733732a CFRClient.exe!FQueuedThread::Run() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\Core\Private\HAL\ThreadingBase.cpp:1447]
LogWindows: Error: [Callstack] 0x00007ff7c7764ab8 CFRClient.exe!FRunnableThreadWin::Run() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:159]
LogWindows: Error: [Callstack] 0x00007ff7c775b60f CFRClient.exe!FRunnableThreadWin::GuardedRun() [E:\CFHDailyBuildPC\EngineSource\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
LogWindows: Error: [Callstack] 0x00007ffedfd4259d KERNEL32.DLL!UnknownFunction
LogWindows: Error:
LogWindows: Error: Crash in runnable thread PSOPrecompilePool #9
LogExit: Executing StaticShutdownAfterError
注意到之前也有类似问题,但是合入回答里的修复还是能复现
[Content removed]
[Image Removed]
Hi,
合入上面的改动后,能否试一下把FRHIBreadcrumbNode::WalkOutRange里的while (true) 改成while (Leaf),然后在试试是否还崩溃?
好的我本地抽空试试
Hi,
如果后续有结论,麻烦再同步一下,感谢。
Hello!
We are having the same issue. In the steam build while enabling profilling and RHI_USE_RESOURCE_DEBUG_NAME in the Test build.
Making the while (Leaf) change made it crash at a later date than before. Or it might just be a coincidence.
Could you upload the log or callstack? (If you couldn’t upload in this case, please create a new case and provide the detailed info.)