summaryrefslogtreecommitdiff
path: root/indra/linux_crash_logger
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-04-08 11:36:22 -0400
committerOz Linden <oz@lindenlab.com>2014-04-08 11:36:22 -0400
commit32bbb07f0a727b5aa318ba3c32764ec29cc96956 (patch)
treec24a52784faa9f3c8a76363fcdb10480e5c1dccf /indra/linux_crash_logger
parent0908535c46874db78e53b8ff623d804fe5c53811 (diff)
parent7e966f28da79d2d24f93a2615c8807421300700c (diff)
merge changes for 3.7.5-release
Diffstat (limited to 'indra/linux_crash_logger')
-rwxr-xr-xindra/linux_crash_logger/linux_crash_logger.cpp11
-rwxr-xr-xindra/linux_crash_logger/llcrashloggerlinux.cpp1
2 files changed, 12 insertions, 0 deletions
diff --git a/indra/linux_crash_logger/linux_crash_logger.cpp b/indra/linux_crash_logger/linux_crash_logger.cpp
index 99d0ad7e14..d4e7ad7be3 100755
--- a/indra/linux_crash_logger/linux_crash_logger.cpp
+++ b/indra/linux_crash_logger/linux_crash_logger.cpp
@@ -26,6 +26,7 @@
#include "linden_common.h"
#include "llcrashloggerlinux.h"
+#include "llsdutil.h"
int main(int argc, char **argv)
{
@@ -34,6 +35,16 @@ int main(int argc, char **argv)
LLCrashLoggerLinux app;
app.parseCommandOptions(argc, argv);
+ LLSD options = LLApp::instance()->getOptionData(
+ LLApp::PRIORITY_COMMAND_LINE);
+ //LLApp::PRIORITY_RUNTIME_OVERRIDE);
+
+
+ if (!(options.has("pid") && options.has("dumpdir")))
+ {
+ llwarns << "Insufficient parameters to crash report." << llendl;
+ }
+
if (! app.init())
{
llwarns << "Unable to initialize application." << llendl;
diff --git a/indra/linux_crash_logger/llcrashloggerlinux.cpp b/indra/linux_crash_logger/llcrashloggerlinux.cpp
index 62465f9937..871d6377cb 100755
--- a/indra/linux_crash_logger/llcrashloggerlinux.cpp
+++ b/indra/linux_crash_logger/llcrashloggerlinux.cpp
@@ -136,6 +136,7 @@ bool LLCrashLoggerLinux::mainLoop()
bool LLCrashLoggerLinux::cleanup()
{
commonCleanup();
+ mKeyMaster.releaseMaster();
return true;
}