[postgis-tickets] [PostGIS] #3254: ST_SubDivide garden crash, not empty safe

PostGIS trac at osgeo.org
Fri Aug 21 00:07:35 PDT 2015


#3254: ST_SubDivide garden crash, not empty safe
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> {{{
> SELECT ST_Subdivide(ST_GeomFromText('POINT EMPTY',4326),3);
> }}}
>

> Crash.

New description:

 {{{
 SELECT ST_Subdivide(ST_GeomFromText('POINT EMPTY',4326),3);
 }}}


 Crash.

 this is the full garden test


 {{{
 SELECT ST_Subdivide(foo1.the_geom, 3) As result
                                                         FROM ((SELECT
 ST_GeomFromText('POINT EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTIPOINT
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('LINESTRING
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTILINESTRING
 EMPTY',4326) As the_geom ) ) As foo1 LIMIT 3;
 }}}

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3254#comment:1>
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