Commit Graph

72 Commits (a791a22b1b00416fc6f84240dd95113a3787668d)

Author SHA1 Message Date
Andrey Kleshchev a791a22b1b SL-14541 remove mac-crash-logger 2021-09-09 02:17:36 +03:00
Andrey Kleshchev 6e200800ed SL-14541 removed breakpad, win_crash_logger
# Conflicts:
#	autobuild.xml
#	indra/CMakeLists.txt
#	indra/newview/CMakeLists.txt
#	indra/newview/llappviewerwin32.h
#	indra/win_crash_logger/llcrashloggerwindows.cpp
Cherry picked from DRTVWR-520
2021-09-08 22:38:46 +03:00
Nat Goodspeed fd1545197a SL-10297: Merge branch 'sl-10297-oz' into sl-10297.
Bring in Oz's tweaks to the way BugSplat is engaged and tested, plus a few
other miscellaneous goodies.
2021-05-12 13:56:19 -04:00
Andrey Kleshchev 6a32a7551e SL-13034 Last string in logs should say 'Goodbye'
These logs were not logging for very long due to supressed logging system, no point showing them now
2020-09-25 17:02:22 +03:00
Oz Linden a9d271c5a2 SL-10297 merged 6.4.7 2020-08-24 13:11:07 -04:00
Nat Goodspeed 1345a02b21 DRTVWR-476: Terminate long-lived coroutines to avoid shutdown crash.
Add LLCoros::TempStatus instances around known suspension points so
printActiveCoroutines() can report what each suspended coroutine is waiting
for.

Similarly, sprinkle checkStop() calls at known suspension points.

Make LLApp::setStatus() post an event to a new LLEventPump "LLApp" with a
string corresponding to the status value being set, but only until
~LLEventPumps() -- since setStatus() also gets called very late in the
application's lifetime.

Make postAndSuspendSetup() (used by postAndSuspend(), suspendUntilEventOn(),
postAndSuspendWithTimeout(), suspendUntilEventOnWithTimeout()) add a listener
on the new "LLApp" LLEventPump that pushes the new LLCoros::Stopping exception
to the coroutine waiting on the LLCoros::Promise. Make it return the new
LLBoundListener along with the previous one.

Accordingly, make postAndSuspend() and postAndSuspendWithTimeout() store the
new LLBoundListener returned by postAndSuspendSetup() in a LLTempBoundListener
(as with the previous one) so it will automatically disconnect once the wait
is over.

Make each LLCoprocedurePool instance listen on "LLApp" with a listener that
closes the queue on which new work items are dispatched. Closing the queue
causes the waiting dispatch coroutine to terminate. Store the connection in an
LLTempBoundListener on the LLCoprocedurePool so it will disconnect
automatically on destruction.

Refactor the loop in coprocedureInvokerCoro() to instantiate TempStatus around
the suspending call.

Change a couple spammy LL_INFOS() calls to LL_DEBUGS(). Give all logging calls
in that module a "CoProcMgr" tag to make it straightforward to re-enable the
LL_DEBUGS() calls as desired.
2020-03-25 19:02:24 -04:00
Oz Linden a45ca18ff8 when using bugsplat, do not catch SIGABRT; also, fix signal setting in Mac (broken macro) 2019-09-25 12:59:20 -04:00
Oz Linden e711376cc7 assorted cleanup 2019-06-05 14:27:48 -04:00
Nat Goodspeed ac2604a039 SL-821: Avoid Breakpad (and signal handling in general) for BugSplat.
Pass LL_BUGSPLAT into llapp.cpp compile to be able to detect that.
2018-06-14 11:31:17 -04:00
Mnikolenko Productengine e6f3cfe247 mac and linux build fix 2017-09-07 13:08:26 +03:00
andreykproductengine 4a4d93d8c0 MAINT-7691 Fixed crash report not generating files in unicode named folders 2017-09-06 16:04:59 +03:00
Nat Goodspeed c92eb7e591 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2016-08-30 11:36:06 -04:00
Oz Linden ecdb190d70 MAINT-6322 fix merge error that prevented crash dumps from being located for upload (and add better logging) 2016-04-20 11:52:00 -04:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Nat Goodspeed 107b9bcb70 MAINT-5232: Introduce SUBSYSTEM_CLEANUP() macro
and use it for existing LLSomeClass::cleanupClass() calls.
This logs the fact of making the call, as well as making it.
2015-05-20 10:56:09 -04:00
Xiaohong Bao ae564140c0 Merge 2014-04-22 12:19:28 -06:00
Aura Linden e5dae42252 Fix for MAINT-5707 bad breakpad behavior with teleport links 2014-04-14 15:11:42 -07:00
Richard Linden 98aabdc176 merge with release 2014-04-07 19:09:40 -07:00
Aura Linden d2bb4dae98 Fixes for crash reporter startup race condition, crash reporter CPU use, Secondlife.log filehandle, XP Crash. 2014-03-07 14:58:22 -08:00
Aura Linden 57d7cbb837 typo. Yay. 2014-01-26 17:30:02 -08:00
Aura Linden 307290bdbc Debug removal. 2014-01-26 10:02:44 -08:00
Aura Linden 352d32934c Merged. 2014-01-26 09:57:33 -08:00
obscurestar 262f8b8473 Was not using correct name for results of file search. 2014-01-26 02:56:23 -08:00
Aura Linden 33b0ae6ebf Debugging changes. fixed broken pipe. 2014-01-23 17:04:33 -08:00
Aura Linden d223687fb8 char vs wchar_t FIGHT 2014-01-22 10:21:29 -08:00
Aura Linden 033f0e8cce What passess in MSVC may not pass in Teamcity. 2014-01-16 13:46:08 -08:00
Aura Linden d9b0980491 Fixed syntax issue that was wrapped in #if that didn't get hit until we got to teamcity. oops. 2014-01-16 10:37:10 -08:00
Aura Linden ea7e6a5174 Some cleanup of string to wstring conversion and vice versa. 2014-01-14 15:28:35 -08:00
Aura Linden ce2cd00cc5 Removed debugging code. 2013-12-04 19:57:11 -08:00
Aura Linden 6809348125 Creating a cleaner branch 2013-12-03 17:06:06 -08:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Graham Madarasz 50689a13ba BOOG2707 uncomment cleared suspects 2013-06-05 06:14:27 -07:00
Graham Madarasz d21fc254a7 BUG-2707 hunt for infos call crashing Kat 2013-06-01 13:43:52 -07:00
Graham Madarasz c19200eb00 BUG-2707 add some logging to help narrow down what part of login instance handling is going awry 2013-05-30 17:01:28 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Graham Madarasz (Graham Linden) 903996e8d4 Google Breakpad Fix 2013-03-28 19:25:51 -07:00
Dave Parks c69855f233 Only enable breakpad error handing if crash reporting is enabled 2012-10-01 16:26:12 -05:00
brad kittenbrink dbc92691a6 Work in progress on CHOP-609 / CHOP-624 build time improvements. Eliminated a bunch of unnecesary header dependencies. 2011-05-05 17:13:52 -07:00
Vadim ProductEngine 5d7417b40e STORM-422 FIXED Added command line option "-disablecrashlogger" to disable crash logger.
This is a patch originally written by Robin Cornelius.
I made it work with Google Breakpad.
2010-11-02 20:26:38 +02:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Andrew A. de Laix 8d6fec5cc1 For developer Nix builds, default handle signal after crash report. Linux should generate a core dump; Darwin a mac crash report. 2010-06-29 15:51:17 -07:00
Andrew A. de Laix 1ec7de1b57 Generate windows minidump files on crash for developer (not release for download) builds. SL crash reporter still enabled. 2010-06-29 14:51:26 -07:00
Andrew A. de Laix 9a57dc0cf3 Block installation of exception handler when app is being debugged (Darwin only). Fixes issues with debugging Darwin SL. 2010-06-17 17:21:38 -07:00
Lynx Linden 80d9cde596 Try using mbstowcs() to convert to std::wstring.
LLWString cannot be converted to std::wstring, apparently.
2010-05-28 16:15:00 +01:00
Lynx Linden 590a3d891c On Windows, you have to pass the minidump path as a wstring. 2010-05-28 15:40:16 +01:00
Lynx Linden 4fb7738027 Write breakpad minidump files to the SL log directory.
Also, clean out old minidump files when we start up.
2010-05-28 15:10:52 +01:00
Lynx Linden 05761d7853 Removed the SyncErrorHandler from llapp and llappviewer*.
This was only used for the Linux client to dump a stack trace to
stack_trace.log, which is no longer needed now that we are using
Google Breakpad.

I also removed all of the stack printing code from llappviewerlinux.cpp.
2010-05-27 15:04:06 +01:00
Lynx Linden a63b6dd93c Hooked up Google Breakpad for the Linux client too.
Using Alain's Darwin reporter callback was all that was needed.

Also replaced the call that exposed the breakpad exception class
with a call to just write out the minidump, as that was the only
reason for exposing it. Now clients don't need to know about
Google Breakpad.
2010-05-26 14:43:27 +01:00
Andrew A. de Laix 45a86b6751 fix eof newline 2010-05-24 16:53:10 -07:00
Andrew A. de Laix 8f4c8ebcd5 fix darwin build. 2010-05-24 16:52:12 -07:00