Commit Graph

25 Commits

Author SHA1 Message Date
Dmitry Rekman
a9221dfcb5 Matching LOCTEXT_NAMESPACE #def/#undef
- Also changed some #undef's to be more uniform

[CL 2665419 by Dmitry Rekman in Main branch]
2015-08-23 00:57:30 -04:00
Kellan Carr
189e1a7c6a cis fix
[CL 2466379 by Kellan Carr in Main branch]
2015-03-02 11:17:56 -05:00
Mark Satterthwaite
88751c6da8 Rewritten debug symbol handling for OS X to allow creation of dSYM bundles & symbol stripping of executables.
- The MacToolChain will emit dSYMs and strip executables when the UBT configuration enables bGeneratedSYMFile, just like iOS.
- Symbol stripping requires generating dSYMs to prevent creation of non-debuggable builds whose crash reports would be unresolvable.
- To avoid a dependency on the Private framework CoreSymbolication all symbols from that framework are loaded dynamically & can only be used within programs, not the game or the editor, as CoreSymbolication is incompatible with non-ANSI malloc implementations.
- Added an initial platform-agnostic API for querying debug symbol info, including a generic database format that can be queried on otherwise incompatible platforms.
- Added UnrealAtoS that emulates Apple's atos to resolve symbols using the generic database or the platform API (CoreSymbolication on OS X) which on OS X is used by the editor to gather symbol info for CodeView.
- Added DSymExporter which will export Apple debug symbol data from Mach-O binaries, including the payload within a .dSYM bundle, to the generic format so that the crash report server may one day read the data without needing a Mac to symbolicate reports.
- Initial SymbolDebugger & MinidumpDiagnostics support on OS X.
#codereview michael.trepka, Jaroslaw.Surowiec, lee.clark, peter.sauerbrei

[CL 2466299 by Mark Satterthwaite in Main branch]
2015-03-02 10:21:50 -05:00
Jaroslaw Surowiec
bfb5ca2663 CrashReportClient - Added basic configuration for the crash report receiver
[CL 2466181 by Jaroslaw Surowiec in Main branch]
2015-03-02 07:53:07 -05:00
Richard TalbotWatkin
be15b48730 Various crash reporter improvements: made scrollbars visible, added splitter between editable field and crash details, added "Send and Restart" button to restart the crashed application.
#jira UE-9295 - Reopen Editor from Crash Reporter
#jira UE-9164 - CrashReporter text field not sizeable
#jira UE-9163 - CrashReporter callstack textbox scrollbars invisible

[CL 2446754 by Richard TalbotWatkin in Main branch]
2015-02-16 04:50:29 -05:00
Jaroslaw Surowiec
5f8e958c56 CrashReportClient - Updated information regarding no debugging symbols
[CL 2425215 by Jaroslaw Surowiec in Main branch]
2015-01-30 01:19:32 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Michael Trepka
1d5a0d5506 Updated engine code to compile correctly with OS X 10.10 SDK, added SDK detection to MacToolChain (based on iOS one)
#codereview Mark.Satterthwaite

[CL 2325808 by Michael Trepka in Main branch]
2014-10-10 15:07:46 -04:00
Jaroslaw Surowiec
8840c5d6b2 CrashReport - Added GenericPlatformContext
#codereview Robert.Manuszewski

[CL 2321042 by Jaroslaw Surowiec in Main branch]
2014-10-07 05:41:02 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Michael Trepka
c7760aa8a6 FSlateMacMenu::UpdateCachedState() now checks with the global tab manager if there's any active tab instead of depending on not being called when there's not. This should solve any remaining issues with executing it while the app is quitting.
[CL 2314311 by Michael Trepka in Main branch]
2014-09-30 11:38:23 -04:00
Mark Satterthwaite
e432c124c8 Rather than cancelling OS quit requests on OS X and then quitting behind Cocoa's back, use the proper deferral mechanism so that we have Cocoa wait for the separate game thread to exit before it tears the application down. UE4 applications shouldn't cancel shutdown, restart or logout requests anymore.
#codereview michael.trepka

[CL 2312939 by Mark Satterthwaite in Main branch]
2014-09-29 11:10:28 -04:00
Michael Trepka
310577c6d2 Refactored Mac menu code to work better with game thread and fix crashes caused by performing game thread calls in menuNeedsUpdate:
#codereview Mark.Satterthwaite

[CL 2310125 by Michael Trepka in Main branch]
2014-09-25 14:42:11 -04:00
Mark Satterthwaite
cc56599b22 Pop the CrashReportClient to the front when it finishes launching so that it appears over the crashed application on Mac OS X.
#codereview michael.trepka

[CL 2299659 by Mark Satterthwaite in Main branch]
2014-09-16 12:45:53 -04:00
Mark Satterthwaite
18ad98390e Amend Mac crash reporting to emit data into the FCrashInfo structure and output using FCrashInfo's GenerateReport function. Add necessary parsing code to hoist out PID, Exception Code, number of cores etc. Fix various bugs that were preventing the output from being displayed & remove a redundant comment from LaunchMac.
#codereview michael.trepka

[CL 2289230 by Mark Satterthwaite in Main branch]
2014-09-08 09:01:00 -04:00
Mark Satterthwaite
56ac37ba36 Use a pre-configured malloc zone allocator instead of the current allocator once execution enters the async. signal handler on Mac OS X. This prevents a problem with Mac OS X's malloc not being async. handler safe that causes the application to become unkillable if it crashes inside a malloc routine. Where the crash malloc can't satisfy the memory request during shutdown we'll just give up & launch the crash reporter & exit.
#codereview michael.trepka

[CL 2289151 by Mark Satterthwaite in Main branch]
2014-09-08 05:59:31 -04:00
Mark Satterthwaite
97aabf9946 On OS X in the crash handlers disable calls to functions which eventually try and allocate memory, resulting in the application hanging before the crash reporter can launch.
#codereview michael.trepka

[CL 2284925 by Mark Satterthwaite in Main branch]
2014-09-04 15:00:57 -04:00
Mark Satterthwaite
631e8b9b8f Need to switch to symbolicating the crash log in the crash reporter since CoreSymbolication is unsafe within a crash handler. Store in the Apple format so that the work to parse the dump can be re-used to parse crash reports from the Mac App Store where our crash reporter might not work.
[CL 2284652 by Mark Satterthwaite in Main branch]
2014-09-04 12:10:15 -04:00
Mark Satterthwaite
916a0cd0e0 Make the CrashReportClient separate main & game thread aware so that it works.
#codereview michael.trepka

[CL 2266153 by Mark Satterthwaite in Main branch]
2014-08-21 12:19:36 -04:00
Michael Trepka
ac834c4a36 Removed redundant setting of GUseCrashReportClient on Mac and some unused code from FMacPlatformMisc::SubmitErrorReport()
#codereview Mark.Satterthwaite

[CL 2223750 by Michael Trepka in Main branch]
2014-07-18 14:22:26 -04:00
Michael Trepka
9b3937d1a7 Fixed a few compile errors (mostly non-unity)
[CL 2108328 by Michael Trepka in Main branch]
2014-06-17 14:06:07 -04:00
Michael Trepka
e0b50589d2 Removed Mac MainMenu.xib, the app and window menus are now generated dynamically.
[CL 2088627 by Michael Trepka in Main branch]
2014-05-29 17:46:24 -04:00
James Hopkin
66716e4b5c CrashReportClient now checks app name before uploading crash
Addresses TTP 332274 (mainly CrashReportClientApp.cpp changes) and
- Fixes hang on Linux (uploader wasn't honoring always-unattended setting)
- Fixed erroneous check warnings
- Removed code duplication between CrashReportClient platforms
- Error message now passed on for ensures as well as asserts
- Windows crash reporting multiple instance bail-out is now thread-safe

#CodeReview Bob.Tellez, Jaroslaw.Surowiec

[CL 2077477 by James Hopkin in Main branch]
2014-05-19 07:07:01 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00