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

GEOS geos-trac at osgeo.org
Wed Jan 16 10:02:55 PST 2013


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

Comment(by strk):

 Looking at the log it's interesting to note that the loop isn't really
 infinite, but rather catches a self-intersection always at different
 places !
 The X ordinate value of the reported intersection is always the same while
 the Y value seems to augment over time. Here's a short excerpt:

 {{{{
 CBR: removed-bits geom 1 is INVALID: Self-intersection at or near point
 0.57082859245789663 0.51651807594703314 (0.57082859245789663305
 0.51651807594703313953)
 CBR: removed-bits geom 1 is INVALID: Self-intersection at or near point
 0.57082859245789663 0.51651807594704024 (0.57082859245789663305
 0.51651807594704024496)
 ...
 CBR: removed-bits geom 1 is INVALID: Self-intersection at or near point
 0.57082859245789663 0.51651807594735288 (0.57082859245789663305
 0.51651807594735288376)
 ...
 ...
 CBR: removed-bits geom 1 is INVALID: Self-intersection at or near point
 0.57082859245789663 0.51651807597061605 (0.57082859245789663305
 0.51651807597061605293)
 }}}

 Eventually, the stack limit is reached.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/615#comment:7>
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