-
Notifications
You must be signed in to change notification settings - Fork 54
ST_StraightSkeleton hangs on input #153
Comments
with pg10/sfcgal 1.3x, open a postgis database
|
gdb break fixed:
then in the target database, execute
|
debug log: (gdb) br SFCGAL::algorithm::straightSkeleton Breakpoint 1 at 0x7f29def30450 (8 locations) (gdb) continue Continuing. |
the core loop that never completes may be function: notes on How to Kill a PostgreSQL Process -LINK- |
Confirmed on windows with SFCGAL 1.3.7 / CGAL 4.14.3 / postgis 3.0.1 But it works (c)(tm) on FreeBSD with SFCGAL 1.3.7 / CGAL 5.0 / postgis 3.0.1 |
I compiled 1.3.x branch using CGAL 4.11 to try to see if this issue might have been fixed already,
I still get hanging even using branch of 1.3.x. Others have complained about cpu exhaustion with lower SFCGAL.
https://lists.osgeo.org/pipermail/postgis-devel/2018-January/026844.html
SELECT ST_StraightSkeleton('POLYGON((256 760,518 760,518 630,674 630,674 239,673 239,127 239,127 240,126 240,126 513,127 513,127 514,126 514,126 630,255 630,256 630,256 760),(128 629,128 423,270 423,270 422,271 422,271 240,672 240,672 629,128 629),(258 759,258 631,516 631,516 759,258 759),(128 421,128 240,269 240,269 421,128 421))'::geometry);
Same issue with /ST_ApproximateMedialAxis which I guess is expected since it's a wrapper around ST_StraightSkeleton.
The text was updated successfully, but these errors were encountered: