[postgis-tickets] [PostGIS] #4071: ST_ClusterKMeans segfault

PostGIS trac at osgeo.org
Thu Apr 19 13:22:15 PDT 2018


#4071: ST_ClusterKMeans segfault
---------------------+---------------------------
 Reporter:  komzpa   |      Owner:  komzpa
     Type:  defect   |     Status:  assigned
 Priority:  high     |  Milestone:  PostGIS 2.4.5
Component:  postgis  |    Version:  2.3.x
 Keywords:           |
---------------------+---------------------------
 reportedly segfaults on 2.5.0dev r16485, 2.4.3 r16312, 2.3.3 r15473, 2.4.4
 r16526

 {{{
 select
   ST_ClusterKMeans(geom, 1) over (),
   ST_ClusterKMeans(geom, 2) over (),
   ST_ClusterKMeans(geom, 3) over ()
 from (values (null::geometry), ('POINT(1 1)'), ('POINT EMPTY'), ('POINT(0
 0)'), ('POINT(4 4)')) as g (geom);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4071>
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