[postgis-tickets] [PostGIS] #2293: crash on ST_DumpPoints with curved geoms

PostGIS trac at osgeo.org
Tue Apr 30 06:15:23 PDT 2013


#2293: crash on ST_DumpPoints with curved geoms
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I started running thru my garden tests.  I'll double check my old test.
 But I started testing using r10363 on 9.2 edb win 32bit and that went thru
 without crashing.

 Then I upgraded to latest:

 {{{
 POSTGIS="2.1.0SVN r11330" GEOS="3.4.0dev-CAPI-1.8.0 r0" PROJ="Rel. 4.8.0,
 6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24 GDAL_DATA not found"
 LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER PostgreSQL 9.2.0, compiled by
 Visual C++ build 1600, 32-bit
 }}}

 Crashola on this query:


 {{{
 SELECT ST_DumpPoints(foo1.the_geom) As result
         FROM ((SELECT
 ST_GeomFromEWKT('SRID=4326;CURVEPOLYGON(CIRCULARSTRING(-71.0821 42.3036,
 -71.4821 42.3036, -71.7821 42.7036, -71.0821 42.7036, -71.0821
 42.3036),(-71.1821 42.4036, -71.3821 42.6036, -71.3821 42.4036, -71.1821
 42.4036) ) ') As the_geom)) As foo1 LIMIT 3;
 }}}

 I suspect this may be caused by recent improvements on curved support.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2293>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list