[postgis-tickets] [PostGIS] #5271: berrie garden test crash on ST_SnapToGrid

PostGIS trac at osgeo.org
Thu Oct 27 08:03:51 PDT 2022


#5271: berrie garden test crash on ST_SnapToGrid
-----------------------+--------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  PostGIS GEOS
Component:  buildbots  |    Version:  master
 Keywords:             |
-----------------------+--------------------------
 I thought this might be the geos, but don't recall GEOS crashing on
 ST_SnapToGrid


 {{{
 PostgreSQL 15.0 on armv7l-unknown-linux-gnueabihf, compiled by gcc
 (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110, 32-bit
 22:21:46   Postgis 3.4.0dev - (0415ccb) - 2022-10-27 02:10:28
 22:21:46   scripts 3.4.0dev 0415ccb
 22:21:46   raster scripts 3.4.0dev 0415ccb
 22:21:46   GEOS: 3.11.1dev-CAPI-1.17.1
 22:21:46   PROJ: 7.2.1
 22:21:46   GDAL: GDAL 3.2.2, released 2021/03/05
 }}}


 berrie is crashing on this garden test, which of course happened when I
 put back all the tests


 {{{
 SELECT ST_SnapToGrid(foo1.the_geom, 20.1, 20.1, 20.1, 20.1)  As result
                                                         FROM (
                 (SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1, 1 1, 2
 4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) ) As foo1 LIMIT 10;
 }}}

 I just confirmed my dev is crashes too on this test

 with my geos 11 (dated in June).  Could be both our GEOS are old.

 I'll switch to her geos 3.12 which should be much newer to see if it
 resolves the issue.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5271>
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