Commit Graph

28 Commits

Author SHA1 Message Date
ben marsh
69b89d7869 Allow CRC analytics settings to be compiled into the executable, to remove NotForLicensees folder within engine code.
#jira
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 12681294 via CL 12681304 via CL 12681357
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12681363 by ben marsh in Main branch]
2020-04-08 19:18:46 -04:00
johan berg
d26ed5560f Fix for incorrect callstack in crash reports
When a ensure is reported before a crash the callstack from the crash was added to the ensure stack frames. This was because the debug helper instance used to analyze the minidump is a singleton and not designed to be reused. Use GetNew method to create a new instance of the helper, and delete the old one.

#jira UE-90699
#rb stefan.boberg

#ROBOMERGE-SOURCE: CL 12245123 in //UE4/Release-4.25/... via CL 12245127
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v667-12241502)

[CL 12245131 by johan berg in Main branch]
2020-03-18 09:44:18 -04:00
ryan durand
3c24bf7ab8 Add the ability to set CRC API URL and key from buildgraph.
#rnx
#rb none
#jira UE-89440

#ROBOMERGE-SOURCE: CL 12157835 in //UE4/Release-4.25/... via CL 12157838
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v659-12123632)

[CL 12157849 by ryan durand in Main branch]
2020-03-12 19:58:02 -04:00
brandon schaefer
e8b304ea74 Add CrashSignal and CrashSignalName to crash information collected
As well as send the CrashSignal as part of the analytic crash event

#rb LouisPhilippe.Seguin


#ROBOMERGE-SOURCE: CL 11761085 via CL 11761165 via CL 11761195
#ROBOMERGE-BOT: (v656-11643781)

[CL 11867914 by brandon schaefer in Main branch]
2020-03-03 11:13:20 -05:00
brandon schaefer
f9a87f775f Remove PII only for none internal builds and avoid assuming user names are in the logs
#jira UE-77228
#rb none
[FYI] Wes.Hunt

#ROBOMERGE-SOURCE: CL 11589310 in //UE4/Release-4.25/... via CL 11589427
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v654-11333218)

[CL 11589490 by brandon schaefer in Main branch]
2020-02-24 14:09:24 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
michael trepka
0830169bcb Added bIsRequestingExit to FPrimaryCrashProperties
#ROBOMERGE-SOURCE: CL 10802028 via CL 10802032 via CL 10802510 via CL 10802543 via CL 10802573
#ROBOMERGE-BOT: (v610-10636431)

[CL 10802617 by michael trepka in Main branch]
2019-12-18 16:13:23 -05:00
allan bentham
78e066b4df Android Crash reporter
- Add gamethread to all threads callstack lists
 - Fixed issue which could leave a malformed threads callstack file on disk after report upload
 - Added detailed signal information to crash report message.
 - Fixed a hang that could occur when generating all threads callstack file.
#rb Jack.Porter
#rnx


#ROBOMERGE-SOURCE: CL 10478215 via CL 10478335 via CL 10478340
#ROBOMERGE-BOT: (v605-10478255)

[CL 10478344 by allan bentham in Main branch]
2019-11-28 08:20:49 -05:00
Stefan Boberg
d2f9a61b06 Copy-up from Dev-Core
#rb none

[CL 10419044 by Stefan Boberg in Main branch]
2019-11-25 12:03:09 -05:00
allan bentham
25284a3627 Add thread callstacks to android crash reports
- Add per thread stack walk functionality.
 - Add functionality to android crash context to use all thread manager thread's callstacks.
 - Before report upload, add all thread xml data into crash report
 - tidy up signal handler's separate stack behaviour. it is now shared by both fatal signal and thread backtrace signal.
#rb Jack.Porter
[FYI] Chris.Babcock, Brandon.Schaefer
#rnx


#ROBOMERGE-SOURCE: CL 10410010 via CL 10410020 via CL 10410025
#ROBOMERGE-BOT: (v594-10333955)

[CL 10410026 by allan bentham in Main branch]
2019-11-25 06:49:37 -05:00
marc audy
dbcf07a558 Use new inline versions of substring functions
Fix up nearby cases where ESearchCase::CaseSensitive should have been used
#jira
#rnx
#rb

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10309793 via CL 10309818
#ROBOMERGE-BOT: (v593-10286020)

[CL 10309932 by marc audy in Main branch]
2019-11-19 13:27:07 -05:00
allan bentham
7b4b31cd3c Fix warning
#rnx


#ROBOMERGE-SOURCE: CL 10122247 via CL 10122252 via CL 10122254
#ROBOMERGE-BOT: (v587-10111126)

[CL 10122256 by allan bentham in Main branch]
2019-11-13 08:03:07 -05:00
allan bentham
43f7e5e730 Basic Android support for crashdebughelper, crashreportcore.
Android Arm64 stackwalk uses libunwind.
Crash handler support for Android platform.
#rb Chris.Babcock, Jack.porter
[FYI] Chris.babcock, Jack.porter, Brandon.Schaefer
#rnx


#ROBOMERGE-SOURCE: CL 10122012 via CL 10122015 via CL 10122016
#ROBOMERGE-BOT: (v587-10111126)

[CL 10122017 by allan bentham in Main branch]
2019-11-13 06:50:47 -05:00
brandon schaefer
798f8296b4 Remove size limit for crash reporter
#rb none


#ROBOMERGE-SOURCE: CL 9757435 via CL 9757442
#ROBOMERGE-BOT: (v545-9751379)

[CL 9757446 by brandon schaefer in Main branch]
2019-10-23 12:30:23 -04:00
peter sauerbrei
3eb4bf0bbb fix for abnormal termination detection when the device is in the background
#rb thomas.ross


#ROBOMERGE-SOURCE: CL 9624822 via CL 9625251 via CL 9625310
#ROBOMERGE-BOT: (v528-9595928)

[CL 9625382 by peter sauerbrei in Main branch]
2019-10-16 18:24:51 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
chris bunner
f06a9ea992 additionally data added to analytic when sending a crash analytic
#author Pete.Sauerbrei
#rb chris.bunner


#ROBOMERGE-SOURCE: CL 8036487 via CL 8036513 via CL 8040376 via CL 8042937 via CL 8046543
#ROBOMERGE-BOT: (v400-8057353)

[CL 8065852 by chris bunner in Main branch]
2019-08-15 16:53:49 -04:00
peter sauerbrei
530a68c652 properly send crash analytic when we send a report
#rb thomas.ross


#ROBOMERGE-SOURCE: CL 7848822 via CL 7848830 via CL 7848831 via CL 7848833 via CL 7865081
#ROBOMERGE-BOT: (v389-7813075)

[CL 7866027 by peter sauerbrei in Main branch]
2019-08-08 05:14:12 -04:00
brandon schaefer
2bb870ab53 Always send the Pre/Post analytic payload when crashing if enabled
Fix an issue where FCrashReportClient would not call its dtor due to being held by SCrashReportClient

#jira UE-75354
[CODEREVIEW] Arciel.Rekman
[at]Arciel.Rekman
#rb Arciel.Rekman

#ROBOMERGE-SOURCE: CL 7675363 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v381-7673386)

[CL 7675365 by brandon schaefer in Main branch]
2019-07-31 17:11:00 -04:00
peter sauerbrei
b7614c7042 fix for sending OOM crash with callstack
potential fix for occasional incorrect log with OOM
addition of StartTime and UpdateTime to key value data
#rb none


#ROBOMERGE-SOURCE: CL 7586645 via CL 7586647 via CL 7586804
#ROBOMERGE-BOT: (v372-7473910)

[CL 7608380 by peter sauerbrei in Main branch]
2019-07-24 12:06:04 -04:00
peter sauerbrei
a42b0aa3be Fix for crash reporter upload loading a module not in the game thread.
Fix for corrupt crash context XML handling
#rb Chris.Bunner, Brandon.Schaefer


#ROBOMERGE-SOURCE: CL 7447515 via CL 7447519 via CL 7447520 via CL 7447522 via CL 7450669
#ROBOMERGE-BOT: (v371-7306989)

[CL 7450908 by peter sauerbrei in Main branch]
2019-07-19 09:32:17 -04:00
brandon schaefer
7dc74409ec FPaths::GetCleanFilename now returns empty strings for directories so need a way to get leaf directories over abusing that function
Move previous implementation into its own GetPathLeaf function which should allow getting the leaf of the path regardless if its a file or dir

#jira none
#rb none
[FYI] Fred.Kimberley

#ROBOMERGE-SOURCE: CL 7437816 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7437820 by brandon schaefer in Main branch]
2019-07-18 10:33:32 -04:00
brandon schaefer
15a05bafc0 Add a portable callstack hash to *-runtime.xml and analytics crash reports
#jira UE-55202
#rb Arciel.Rekman


#ROBOMERGE-SOURCE: CL 6678533 via CL 6678664 via CL 6681531
#ROBOMERGE-BOT: (v363-6677109)

[CL 6681754 by brandon schaefer in Main branch]
2019-05-30 20:36:23 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00