[Mapguide-trac] [mapguide-trac] #2470: WebTier-Crash: MgGeometry.intersection() not thread safe

MapGuide Open Source trac_mapguide at osgeo.org
Mon Aug 11 05:57:41 PDT 2014


#2470: WebTier-Crash: MgGeometry.intersection() not thread safe
------------------------+---------------------------------------------------
   Reporter:  andymorf  |       Owner:       
       Type:  defect    |      Status:  new  
   Priority:  medium    |   Milestone:       
  Component:  General   |     Version:  2.5.0
   Severity:  critical  |    Keywords:       
External_id:            |  
------------------------+---------------------------------------------------

Comment(by andymorf):

 After interminable investigations it seems to me that this in a problem of
 the JVM using the MSVCR100.dll runtime and my new MapGuide and Geos-Dll
 are compiled with vc12-platform toolset (VS2013) - before switching the
 whole dev-env from vc10 to vc12 things worked ok.
 I even switched function MgGeosUtil::Intersection to the recommended and
 thread-safe version of the geos-c api (with *_r ending) and the crashes
 remained.

 Debugging sessions allways resulted in access violations when freeing
 objects, mainly of type std::XYZ...

 IMHO this rises a big question mark concerning reliability of the Mg-Java-
 API being compiled with VS2012/13 (as long as the JVM stays at 2010
 runtime)!

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2470#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list