[postgis-tickets] [PostGIS] #5149: ST_AlphaShape crashes with malformed input (garden test crash)

PostGIS trac at osgeo.org
Mon Aug 22 18:22:33 PDT 2022


#5149: ST_AlphaShape crashes with malformed input (garden test crash)
---------------------+----------------------------
  Reporter:  robe    |      Owner:  robe
      Type:  defect  |     Status:  new
  Priority:  high    |  Milestone:  PostGIS SFCGAL
 Component:  sfcgal  |    Version:  master
Resolution:          |   Keywords:  windows
---------------------+----------------------------
Changes (by robe):

 * keywords:   => windows
 * priority:  blocker => high
 * milestone:  PostGIS 3.3.0 => PostGIS SFCGAL


Old description:

> {{{
> POSTGIS="3.3.0dev 3.2.0-792-g78308862c" [EXTENSION] PGSQL="110"
> GEOS="3.11.0dev-CAPI-1.16.0" SFCGAL="SFCGAL 1.4.1, CGAL 5.3, BOOST
> 1.78.0" PROJ="7.2.1" GDAL="GDAL 3.4.2, released 2022/03/08"
> LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0
> (Internal)" RASTER PostgreSQL 11.2 on x86_64-pc-mingw64, compiled by
> gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
> }}}
>
> {{{
> SELECT ST_AlphaShape('POLYGON((1 2,1 2,1 2,1 2))', 20.1, false);
> }}}

New description:

 {{{
 POSTGIS="3.3.0dev 3.2.0-792-g78308862c" [EXTENSION] PGSQL="110" GEOS="3.11
 .0dev-CAPI-1.16.0" SFCGAL="SFCGAL 1.4.1, CGAL 5.3, BOOST 1.78.0"
 PROJ="7.2.1" GDAL="GDAL 3.4.2, released 2022/03/08" LIBXML="2.9.9"
 LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)" RASTER
 PostgreSQL 11.2 on x86_64-pc-mingw64, compiled by gcc.exe (x86_64-posix-
 seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
 }}}

 {{{
 SELECT ST_AlphaShape('POLYGON((1 2,1 2,1 2,1 2))', 20.1, false);
 }}}

--
Comment:

 I think this is only an issue on windows with the way it captures the
 error back an rethrows.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5149#comment:2>
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