[PostGIS] #5923: CG_ExtrudeStraightSkeleton crashes with polygon empty

PostGIS trac at osgeo.org
Thu Jun 5 19:00:27 PDT 2025


#5923: CG_ExtrudeStraightSkeleton crashes with polygon empty
----------------------+-----------------------------
  Reporter:  robe     |      Owner:  Loïc Bartoletti
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.5.4
 Component:  sfcgal   |    Version:  3.5.x
Resolution:           |   Keywords:
----------------------+-----------------------------
Changes (by robe):

 * milestone:  PostGIS SFCGAL => PostGIS 3.5.4


Old description:

> {{{
> SELECT CG_ExtrudeStraightSkeleton(ST_GeomFromText('POLYGON EMPTY',4326),
> 20.1, 20.1)
> }}}
>
> I tested on my install -
>

> {{{
> POSTGIS="3.6.0dev 3.5.0-373-g51b525ac5" [EXTENSION] PGSQL="180"
> GEOS="3.14.0dev-CAPI-1.20.0" SFCGAL="SFCGAL 2.1.0, CGAL 6.0.1, BOOST
> 1.88.0"
> }}}
>

> I also turned on garden testing on GHA and it crashes there, I think that
> is more or less 2.1.0 or master branch
>
> https://github.com/robe2/postgis/actions/runs/15480665967/job/43585783915#step:4:1451

New description:

 {{{
 SELECT CG_ExtrudeStraightSkeleton(ST_GeomFromText('POLYGON EMPTY',4326),
 20.1, 20.1)
 }}}

 I tested on my install -


 {{{
 POSTGIS="3.6.0dev 3.5.0-373-g51b525ac5" [EXTENSION] PGSQL="180" GEOS="3.14
 .0dev-CAPI-1.20.0" SFCGAL="SFCGAL 2.1.0, CGAL 6.0.1, BOOST 1.88.0"
 }}}


 I also turned on garden testing on GHA and it crashes there, I think that
 is more or less 2.1.0 or master branch

 https://github.com/robe2/postgis/actions/runs/15480665967/job/43585783915#step:4:1451

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