[geos-devel] [GEOS] #615: ST_SymDifference triggers a crash in WKTWriter (?)

GEOS geos-trac at osgeo.org
Thu Jan 17 04:11:59 PST 2013


#615: ST_SymDifference triggers a crash in WKTWriter (?)
------------------------+---------------------------------------------------
 Reporter:  strk        |        Owner:  geos-devel@…              
     Type:  defect      |       Status:  closed                    
 Priority:  blocker     |    Milestone:  3.3.7                     
Component:  Default     |      Version:  3.3.6                     
 Severity:  Unassigned  |   Resolution:  fixed                     
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by strk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Alright I found a fix for this: running the UnaryUnion _only_ when the
 given geometry is a multicomponent _and_ the invalidity found is an
 intersection between components (or a "too few points").

 I'm not 100% sure that there's no way to enter the infinite recursion with
 these kind of invalidities but for now this bug is fixed. The only
 influence this change had on existing tests was that the test for #488
 (which was found to expect a bogus result) is now giving a
 TopologyException, like done by JTS itself. I think it's an acceptable
 change.

 The fix is in r3750 for 3.3 branch and r3751 in master

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/615#comment:10>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list