[geos-devel] [GEOS] #649: ST_Snap crashes on some inputs

GEOS geos-trac at osgeo.org
Fri Aug 16 07:36:28 PDT 2013


#649: ST_Snap crashes on some inputs
------------------------+---------------------------------------------------
 Reporter:  robe        |        Owner:  geos-devel@…              
     Type:  defect      |       Status:  reopened                  
 Priority:  major       |    Milestone:  3.4.1                     
Component:  Default     |      Version:  3.4.0                     
 Severity:  Unassigned  |   Resolution:                            
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by strk):

 Bingo, the actual offending input is:
 {{{
 A: LINESTRING(-71.1317 42.2511,-71.1317 42.251,-71.1317 42.2509)
 B: MULTIPOINT(-71.1261 42.2703,-71.1257 42.2703,-71.1261 42.2702)
 }}}

 Assertion failing:
 {{{
 snap/LineStringSnapper.cpp:349: void
 geos::operation::overlay::snap::LineStringSnapper::snapSegments(geos::geom::CoordinateList&,
 const ConstVect&): Assertion `pf != 0.0' failed.
 }}}

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