From: eap Date: Tue, 1 Feb 2011 15:21:12 +0000 (+0000) Subject: report SIGSEGV in ghs3d X-Git-Tag: Start_BR_19998_21191~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6caa35dc5d09ca53ca8f159b103e1930c4147b25;p=plugins%2Fhybridplugin.git report SIGSEGV in ghs3d --- 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() )