[PostGIS] #5631: CG_YMonotonePartition crash

PostGIS trac at osgeo.org
Wed Nov 29 17:39:02 PST 2023


#5631: CG_YMonotonePartition crash
----------------------+---------------------------
  Reporter:  robe     |      Owner:  lbartoletti
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.5.0
 Component:  sfcgal   |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Old description:

> {{{
>  SELECT CG_YMonotonePartition('POLYGON((-8.1111111 60,-8.16875525879031
> 59.414729033951616
> ,-8.33947250246614 58.85194970290473,-8.616702263092364
> 58.333289300941196
> ,-8.989790756440357 57.878679656440355,-9.444400400941193
> 57.50559116309236
> ,-9.963060802904732 57.22836140246614
> ,-10.525840133951615 57.05764415879031,-11.1111111 57,-11.696382066048384
> 57.05764415879031
> ,-12.25916139709527 57.22836140246614,-12.777821799058806
> 57.50559116309236
> ,-13.232431443559642 57.878679656440355,-13.605519936907637
> 58.333289300941196
> ,-13.88274969753386 58.85194970290473,-14.053466941209692
> 59.414729033951616,-14.1111111 60
> ,-14.053466941209692 60.585270966048384,-13.88274969753386
> 61.14805029709527
> ,-13.605519936907637 61.666710699058804,-13.232431443559644
> 62.121320343559645
> ,-12.777821799058806 62.49440883690764,-12.259161397095271
> 62.77163859753386
> ,-11.696382066048386 62.94235584120969,-11.1111111 63,-10.525840133951615
> 62.94235584120969
> ,-9.96306080290473 62.77163859753386,-9.444400400941195 62.49440883690764
> ,-8.989790756440359 62.121320343559645
> ,-8.616702263092364 61.666710699058804,-8.33947250246614
> 61.148050297095274
> ,-8.16875525879031 60.585270966048384,-8.1111111 60))'::geometry)
> }}}
>
> on
>

> {{{
> POSTGIS="3.5.0dev 3.4.0rc1-818-g6c2e935b6"
> [EXTENSION] PGSQL="160" GEOS="3.12.1-CAPI-1.18.1" (compiled against GEOS
> 3.13.0)
> SFCGAL="SFCGAL 1.5.0, CGAL 5.6, BOOST 1.78.0" ...
>         PostgreSQL 16.0 on x86_64-w64-mingw32, compiled by gcc.exe
> (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
> }}}

New description:

 {{{
  SELECT CG_YMonotonePartition('POLYGON((-8.1111111 60,-8.16875525879031
 59.414729033951616
 ,-8.33947250246614 58.85194970290473,-8.616702263092364 58.333289300941196
 ,-8.989790756440357 57.878679656440355,-9.444400400941193
 57.50559116309236
 ,-9.963060802904732 57.22836140246614
 ,-10.525840133951615 57.05764415879031,-11.1111111 57,-11.696382066048384
 57.05764415879031
 ,-12.25916139709527 57.22836140246614,-12.777821799058806
 57.50559116309236
 ,-13.232431443559642 57.878679656440355,-13.605519936907637
 58.333289300941196
 ,-13.88274969753386 58.85194970290473,-14.053466941209692
 59.414729033951616,-14.1111111 60
 ,-14.053466941209692 60.585270966048384,-13.88274969753386
 61.14805029709527
 ,-13.605519936907637 61.666710699058804,-13.232431443559644
 62.121320343559645
 ,-12.777821799058806 62.49440883690764,-12.259161397095271
 62.77163859753386
 ,-11.696382066048386 62.94235584120969,-11.1111111 63,-10.525840133951615
 62.94235584120969
 ,-9.96306080290473 62.77163859753386,-9.444400400941195 62.49440883690764
 ,-8.989790756440359 62.121320343559645
 ,-8.616702263092364 61.666710699058804,-8.33947250246614
 61.148050297095274
 ,-8.16875525879031 60.585270966048384,-8.1111111 60))'::geometry)
 }}}

 on


 {{{
 POSTGIS="3.5.0dev 3.4.0rc1-818-g6c2e935b6"
 [EXTENSION] PGSQL="160" GEOS="3.12.1-CAPI-1.18.1" (compiled against GEOS
 3.13.0)
 SFCGAL="SFCGAL 1.5.0, CGAL 5.6, BOOST 1.78.0" ...
         PostgreSQL 16.0 on x86_64-w64-mingw32, compiled by gcc.exe (x86_64
 -posix-seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
 }}}

--
Comment (by robe):

 Guess I got to rebuild SFCGAL to get some useful debug trace, just says
 crashes in SFCGAL library
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5631#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