This crash appears to have been a result of a bug in versions 15.7 and 15.8 of Visual Studio 2017. Updating to 15.9.2 and rebuilding the Engine and Unreal Frontend seems to have resolved the crash.
If Unreal Frontend has been built in the Development Editor configuration, attempting to open a ue4stats file in the Profiler tab results in the Unreal Frontend crashing. The crash does not occur if Unreal Frontend was built with the Debug Editor configuration.
REGRESSION:
No. The same results occur in 4.20.3.
SETUP:
Make sure Unreal Frontend has been built with the Development Editor configuration.
REPRO:
RESULT:
Unreal Frontend crashes due to an Access Violation error.
EXPECTED:
The ue4stats file is opened successfully.
Access violation - code c0000005 (first/second chance not available) UnrealFrontend_Profiler!FProfilerManager::TrackStat() [d:\main-builds\stream\engine\source\developer\profiler\private\profilermanager.cpp:554] UnrealFrontend_Profiler!FProfilerManager::ProfilerClient_OnProfilerData() [d:\main-builds\stream\engine\source\developer\profiler\private\profilermanager.cpp:383] UnrealFrontend_Profiler!TBaseSPMethodDelegateInstance<0,FProfilerManager,0,void __cdecl(FGuid const &,FProfilerDataFrame const &)>::ExecuteIfSafe() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355] UnrealFrontend_ProfilerClient!TBaseMulticastDelegate<void,FGuid const &,FProfilerDataFrame const &>::Broadcast() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:974] UnrealFrontend_ProfilerClient!FProfilerClientManager::SendProfilerDataFrameToGame() [d:\main-builds\stream\engine\source\developer\profilerclient\private\profilerclientmanager.cpp:813] UnrealFrontend_ProfilerClient!TBaseRawMethodDelegateInstance<0,FProfilerClientManager,void __cdecl(void),FProfilerDataFrame *,FStatMetaData *,FGuid>::ExecuteIfSafe() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:518] UnrealFrontend_ProfilerClient!TGraphTask<FSimpleDelegateGraphTask>::ExecuteTask() [d:\main-builds\stream\engine\source\runtime\core\public\async\taskgraphinterfaces.h:842] UnrealFrontend_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\main-builds\stream\engine\source\runtime\core\private\async\taskgraph.cpp:686] UnrealFrontend_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\main-builds\stream\engine\source\runtime\core\private\async\taskgraph.cpp:582] UnrealFrontend_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\main-builds\stream\engine\source\runtime\core\private\async\taskgraph.cpp:1457] UnrealFrontend_Profiler!FProfilerSession::CompletionSyncAggregatedEventGraphData() [d:\main-builds\stream\engine\source\developer\profiler\private\profilersession.cpp:358] UnrealFrontend_Profiler!FProfilerSession::UpdateAggregatedEventGraphData() [d:\main-builds\stream\engine\source\developer\profiler\private\profilersession.cpp:326] UnrealFrontend_Profiler!FProfilerSession::HandleTicker() [d:\main-builds\stream\engine\source\developer\profiler\private\profilersession.cpp:518] UnrealFrontend_Core!FTicker::Tick() [d:\main-builds\stream\engine\source\runtime\core\private\containers\ticker.cpp:92] UnrealFrontend!FUserInterfaceCommand::Run() [d:\main-builds\stream\engine\source\programs\unrealfrontend\private\commands\userinterfacecommand.cpp:88] UnrealFrontend!UnrealFrontendMain() [d:\main-builds\stream\engine\source\programs\unrealfrontend\private\unrealfrontendmain.cpp:109] UnrealFrontend!WinMain() [d:\main-builds\stream\engine\source\programs\unrealfrontend\private\windows\windowsunrealfrontendmain.cpp:58] UnrealFrontend!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:288] kernel32 ntdll
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66907 in the post.
2 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.21, 4.22, 4.20.3 |
Created | Nov 27, 2018 |
---|---|
Resolved | Nov 28, 2018 |
Updated | Dec 3, 2018 |