From 6caa35dc5d09ca53ca8f159b103e1930c4147b25 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 1 Feb 2011 15:21:12 +0000 Subject: [PATCH] report SIGSEGV in ghs3d --- src/GHS3DPlugin_GHS3D.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index 8743388..6393c23 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -1987,6 +1987,12 @@ bool GHS3DPlugin_GHS3D::storeErrorDescription(const TCollection_AsciiString& log char msg[] = "connection to server failed"; if ( search( &buf[0], bufEnd, msg, msg + strlen(msg)) != bufEnd ) errDescription << "Licence problems."; + else + { + char msg2[] = "SEGMENTATION FAULT"; + if ( search( &buf[0], bufEnd, msg2, msg2 + strlen(msg2)) != bufEnd ) + errDescription << "ghs3d: SEGMENTATION FAULT. "; + } } if ( errDescription.empty() ) -- 2.39.2