Commit Graph

10 Commits

Author SHA1 Message Date
Johan Berg
eab335a19d Removed request exit calls in crash reporter, fix logic for disaster recovery.
* Removed crash reporter client usage of "request exit", since we need to be able to send multiple reports in monitor mode. For example a ensure followed by a crash.
* Fix missing parenthesis when deciding to attach recovery service file.

#rb patrick.laflamme

[CL 9093219 by Johan Berg in Dev-Core branch]
2019-09-25 08:44:29 -04:00
Martin Ridgers
1cf4a2bc67 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

(ushell-p4-cherrypick of 8658680 by brandon.schaefer)

[CL 8926683 by Martin Ridgers in Dev-Core branch]
2019-09-20 10:10:05 -04:00
Johan Berg
961d9b41e8 Fixes to crash report client.
* Flush Crash report client analytics events when running in monitor mode. Previous behaviour was to send analaytics event whenever the crash report client exited. When running  in monitor mode we will need to explicitly flush analytics events after every submission of crash/ensure event.
* Crash report client was not respecting "no dialog" flag set by the runtime, causing dialogs to appear for ensures, which should not display them.
* Allow multiple sends from crash report client. Since the CrashReportClient and CrashReportCoreUnattended classes both use GIsRequesting exit, reset this once a crash report has been sent, to allow consecutive reports to be sent.
* Trying to restart the game after crash would result in multiple instances. The client now captures the result of the user selection and exits accordingly.
* On certain crash types (e.x. general protection fault) the crash reporter would not display callstacks. This was due to a race condition between crash report client doing symbol resolving and when the game was trying print callstack to the log.

#rb patrick.lamflamme
#jira UE-79848, UE-79700, UE-79699

[CL 8653323 by Johan Berg in Dev-Core branch]
2019-09-12 02:54:59 -04:00
peter sauerbrei
cde7b8d738 Add crash reporting to IOS.
Remove old CrashReportHelper
Move files dealing with crash upload and reporting to Runtime/CrashReportCore from CrashReportClient
Addition of CrashReporter Plugin in Fortnite for use with IOS
#rb brandon.schaefer, chris.bunner


#ROBOMERGE-OWNER: peter.sauerbrei
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 5814730 via CL 5814731 via CL 5814748 via CL 5817030

[CL 5817031 by peter sauerbrei in Main branch]
2019-04-09 21:27:26 -04:00
Ben Marsh
a22b952aa9 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 4718806 by Ben Marsh in Main branch]
2019-01-14 12:11:24 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Arciel Rekman
19116aa1a5 Fix crash reporter missing in Linux builds.
#rb Ben.Marsh (discussed)
#fyi Ben.Marsh, Matt.Kuhlenschmidt
#lockdown Nick.Penwarden

[CL 3622648 by Arciel Rekman in Main branch]
2017-09-01 12:46:25 -04:00