summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2019-01-16 16:42:34 -0500
committerOz Linden <oz@lindenlab.com>2019-01-16 16:42:34 -0500
commitfc90cad4f366c4bb85add832a2fa8137b1f120ff (patch)
treefe3a6ad6c523666376c22663e4e9f8086ff19748 /indra
parentf648758c2a3da2dd03c8f57e98598c085b2030a6 (diff)
change the default crash type from "freeze" to "other"
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index e6ba3e4f7c..1fda07edd6 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3508,6 +3508,10 @@ void LLAppViewer::handleViewerCrash()
gDebugInfo["Dynamic"]["MainloopTimeoutState"] = LLAppViewer::instance()->mMainloopTimeout->getState();
}
+ // The crash is being handled here so set this value to false.
+ // Otherwise the crash logger will think this crash was a freeze.
+ gDebugInfo["Dynamic"]["CrashNotHandled"] = (LLSD::Boolean)false;
+
//Write out the crash status file
//Use marker file style setup, as that's the simplest, especially since
//we're already in a crash situation
@@ -3680,8 +3684,11 @@ void LLAppViewer::processMarkerFiles()
{
// the file existed, is ours, and matched our version, so we can report on what it says
LL_INFOS("MarkerFile") << "Exec marker '"<< mMarkerFileName << "' found; last exec FROZE" << LL_ENDL;
+# if LL_BUGSPLAT
+ gLastExecEvent = LAST_EXEC_OTHER_CRASH;
+# else
gLastExecEvent = LAST_EXEC_FROZE;
-
+# endif
}
else
{