[icinga-checkins] icinga.org: icinga2/master: Updated messages in the SIGABRT handler.

git at icinga.org git at icinga.org
Fri Feb 1 14:49:06 CET 2013


Module: icinga2
Branch: master
Commit: df1199f206dbe59878fd6e336b5a4ec82d26a297
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=df1199f206dbe59878fd6e336b5a4ec82d26a297

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Feb  1 14:46:06 2013 +0100

Updated messages in the SIGABRT handler.

---

 lib/base/application.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/base/application.cpp b/lib/base/application.cpp
index db5a17e..099750c 100644
--- a/lib/base/application.cpp
+++ b/lib/base/application.cpp
@@ -310,6 +310,12 @@ void Application::SigAbrtHandler(int signum)
 	std::cerr << "Caught SIGABRT." << std::endl;
 
 	Utility::PrintStacktrace(std::cerr, 1);
+
+	std::cerr << "***" << std::endl
+		  << "*** This would indicate a bug in Icinga 2. Please submit a bug report at https://dev.icinga.org/ and include" << std::endl
+		  << "*** this stack trace as well as any other information that might be useful in order to reproduce this problem." << std::endl
+		  << "***" << std::endl
+		  << std::endl;
 }
 #else /* _WIN32 */
 /**





More information about the icinga-checkins mailing list