[mapguide-commits] r8894 - sandbox/adsk/3.0m/Oem/geos/src/io

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 30 01:46:13 PDT 2016


Author: hubu
Date: 2016-03-30 01:46:13 -0700 (Wed, 30 Mar 2016)
New Revision: 8894

Modified:
   sandbox/adsk/3.0m/Oem/geos/src/io/WKTReader.cpp
   sandbox/adsk/3.0m/Oem/geos/src/io/WKTWriter.cpp
Log:
One customer reported that AIMS server crashes randomly. The crash happens when requesting tool tip of point layer. We find that it is related to the class CLocalizer of GEOS. We cannot reproduce the crash in our environment. Now we comment the line of CLocalizer temporarily to fix the crash.

Modified: sandbox/adsk/3.0m/Oem/geos/src/io/WKTReader.cpp
===================================================================
--- sandbox/adsk/3.0m/Oem/geos/src/io/WKTReader.cpp	2016-03-28 14:02:25 UTC (rev 8893)
+++ sandbox/adsk/3.0m/Oem/geos/src/io/WKTReader.cpp	2016-03-30 08:46:13 UTC (rev 8894)
@@ -61,7 +61,7 @@
 WKTReader::read(const string &wellKnownText)
 {
 	//auto_ptr<StringTokenizer> tokenizer(new StringTokenizer(wellKnownText));
-        CLocalizer clocale;
+    //    CLocalizer clocale;
 	StringTokenizer tokenizer(wellKnownText);
 	Geometry *g=NULL;
 	g=readGeometryTaggedText(&tokenizer);

Modified: sandbox/adsk/3.0m/Oem/geos/src/io/WKTWriter.cpp
===================================================================
--- sandbox/adsk/3.0m/Oem/geos/src/io/WKTWriter.cpp	2016-03-28 14:02:25 UTC (rev 8893)
+++ sandbox/adsk/3.0m/Oem/geos/src/io/WKTWriter.cpp	2016-03-30 08:46:13 UTC (rev 8894)
@@ -169,7 +169,7 @@
 WKTWriter::writeFormatted(const Geometry *geometry, bool isFormatted,
                           Writer *writer)
 {
-        CLocalizer clocale;
+        //CLocalizer clocale;
 	this->isFormatted=isFormatted;
   decimalPlaces = roundingPrecision == -1 ? geometry->getPrecisionModel()->getMaximumSignificantDigits() : roundingPrecision;
 	appendGeometryTaggedText(geometry, 0, writer);



More information about the mapguide-commits mailing list