Workaround for corrupt minidumps on Windows 10 v1709. Bundle a working version of dbghelp.dll with the application, and attempt load it at startup before loading the system version. Disabled for any targets using CrashDebugHelper, which depends on a matching version of dbgeng.dll (which we can't distribute).

#rb none
#jira UE-70207

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5284948 in //UE4/Release-4.22/... via CL 5284959
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5286763 by ben marsh in Dev-Build branch]
This commit is contained in:
ben marsh
2019-03-04 13:02:18 -05:00
parent 19f54d0929
commit 62b3c64b61
9 changed files with 59 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ public class CrashReportClientTarget : TargetRules
// Epic Games Launcher needs to run on OS X 10.9, so CrashReportClient needs this as well
bEnableOSX109Support = true;
// Need to disable the bundled version of dbghelp so that CrashDebugHelper can load dbgeng.dll.
WindowsPlatform.bUseBundledDbgHelp = false;
GlobalDefinitions.Add("NOINITCRASHREPORTER=1");
}
}