[postgis-tickets] [PostGIS] #5152: ST_Split goes into infinite loop with empty geometries

PostGIS trac at osgeo.org
Mon May 16 08:23:15 PDT 2022


#5152: ST_Split goes into infinite loop with empty geometries
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  reopened
  Priority:  blocker  |  Milestone:  PostGIS 2.5.7
 Component:  postgis  |    Version:  3.2.x
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by komzpa):

 * status:  closed => reopened
 * resolution:  fixed =>


Old description:

> {{{
> SELECT ST_Split('LINESTRING EMPTY'::geometry, ST_Point(10,50)) As result
> }}}
>
> with recurring notice:
>

> {{{
> NOTICE:  lwgeom_api.c [138] called with n=511880 and npoints=0
> NOTICE:  lwgeom_api.c [138] called with n=511881 and npoints=0
> }}}

New description:

 {{{
 SELECT ST_Split('LINESTRING EMPTY'::geometry, ST_Point(10,50)) As result
 }}}

 with recurring notice:


 {{{
 NOTICE:  lwgeom_api.c [138] called with n=511880 and npoints=0
 NOTICE:  lwgeom_api.c [138] called with n=511881 and npoints=0
 }}}

--
Comment:

 ahem strk the endless loop is still there.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5152#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