[postgis-devel] st_intersect crasher

David Fuhry dfuhry at acm.org
Mon Jul 13 16:25:34 PDT 2009


The attached SELECT ST_Intersect(..., ...); query crashes 
POSTGIS="1.3.5" GEOS="3.1.1-CAPI-1.6.0" PROJ="Rel. 4.6.1, 21 August 
2008" USE_STATS, on Linux.  That GEOS build might be from svn.

It does not crash POSTGIS="1.3.3" GEOS="3.0.0-CAPI-1.4.1" PROJ="Rel. 
4.6.0, 21 Dec 2007" USE_STATS.  (Or POSTGIS="1.3.3" 
GEOS="3.0.0-CAPI-1.4.1" PROJ="Rel. 4.6.1, 21 August 2008" USE_STATS).

It's between two POLYGONs.  They both pass isvalid().  If the order of 
the two arguments is reversed (putting small geom before large geom), it 
succeeds.

-Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: st_intersection_crash.sql
Type: text/x-sql
Size: 2744 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090713/437882af/attachment.bin>


More information about the postgis-devel mailing list