Commit Graph

95 Commits (5f309fdcf71e374ce02b60a574ff22cc52b03cdb)

Author SHA1 Message Date
Nicky Dasmijn 3092c7e1b5 Remove breakpad hack prio to updating to latest breakpad 3p. 2020-07-20 19:25:31 +02:00
Nicky Dasmijn a4aff377e6 Merge branch 'master' into fs-vs2017 2020-04-29 20:02:19 +02:00
Nicky Dasmijn 1bcbf82734 Remove option of minidump type.
- With Bugsplat this option makes no sense.
- Even with the old minidump processor the option was barely useful.
2020-01-04 22:27:22 +01:00
Nicky fee98dac77 Merge with VS2017 2019-11-10 12:07:34 +01:00
Nat Goodspeed d24a3d4fcc 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.
2019-10-22 17:14:26 -04:00
Ansariel c96314964a Merge Firestorm LGPL 2019-03-01 17:36:52 +01:00
Ansariel 536a3f6c8e Merge viewer-neko 2019-01-18 23:41:21 +01:00
Ansariel 0f121d042d Merge viewer-bugsplat 2018-07-27 11:19:42 +02:00
Nicky 84dc0a4ae9 Hack to allow compilation with newer glibc versions. 2018-06-24 21:33:41 +02: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
Ansariel 615336a4d4 Merge viewer-neko 2017-09-07 21:49:12 +02: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
Ansariel c182741596 Merge viewer-lynx 2016-11-16 09:55:54 +01:00
Nat Goodspeed c92eb7e591 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2016-08-30 11:36:06 -04:00
Ansariel acb6326869 Merge viewer-quickgraphics 2016-04-20 18:09:48 +02: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
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01: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
Nicky 41f2db23e0 Don't make any exceptions anymore when to dl breakpad and when not. This was already broken for Mac. So we always use it now for all builds. 2015-06-04 23:04:08 +02:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Nicky 6d61f85b2c Correct merge error. 2014-05-18 02:31:34 +02:00
Tank_Master e3ea0378b6 Merge LL 3.7.6 2014-05-17 11:18:52 -07:00
Nicky 381287b3eb Merge lgpl with LL breakpad changes. 2014-05-02 17:09:26 +02: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
Nicky 9269b3fcb9 Working towards getting crash reporting running for x64. 2013-10-31 02:47:54 +01:00
Nicky 2ca6b023fc Compile fix when using bbreakpad on Windows. 2013-07-30 14:09:52 +02:00
Nicky 0c688f0e8f Reintroduce building without breakpad + fix a merge error in llapp.cpp for Linux breakpad initialization. 2013-07-10 21:27:55 +02:00
Nicky 6c5e2db29f Backout e0895986ee0f to reintroduce building without breakpad. 2013-07-10 21:10:07 +02:00