Opened 4 years ago
Last modified 4 years ago
#4723 assigned defect
ST_ApproximateMedialAxis SFCGAL crash
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS SFCGAL |
Component: | sfcgal | Version: | 2.5.x -- EOL |
Keywords: | Cc: | pusik |
Description (last modified by )
POSTGIS="3.0.1 3.0.1" [EXTENSION] PGSQL="120" GEOS="3.8.0-CAPI-1.13.1 " SFCGAL="1.3.2" PROJ="Rel. 5.2.0, September 15th, 2018" GDAL="GDAL 2.4.4, released 2020/01/08" LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.4.3 (Internal)" TOPOLOGY RASTER
SFCGAL function ApproximateMedialAxis couses fatal error on the server side. This happens on any installation of the PostGIS on different machines, so, memory error can be only from the function itself. Please, check. 2020-07-14 12:18:54.820 CEST [8812] LOG: server process (PID 7824) was terminated by exception 0xC00000052020-07-14 12:18:54.820 CEST [8812] DETAIL: Failed process was running: select st_approximatemedialaxis(st_geomfromtext('MULTIPOLYGON(((62725 53915,62725 55415,62725 55975,62665 55975,62665 56075,62725 56075,62725 58675,61475 58675,61475 56075,61865 56075,61865 55975,60025 55975,58775 55975,55915 55975,55115 55975,54725 55975,54725 56075,55115 56075,55915 56075,55975 56075,55975 58675,56075 58675,56075 57425,57425 57425,57425 56075,58775 56075,60025 56075,61375 56075,61375 61375,60125 61375,60125 61475,65525 61475,65525 61135,65425 61135,65425 61375,61475 61375,61475 58775,65425 58775,65425 60185,65525 60185,65525 58675,62825 58675,62825 55415,62825 53915,62825 53855,62725 53855,62725 53915)),((64075 65425,60125 65425,60125 65525,65425 65525,65425 66875,65425 68125,65425 69475,60125 69475,60125 69575,64075 69575,64075 72175,64175 72175,64175 69575,65525 69575,65525 68125,65525 66875,65525 62725,65425 62725,65425 64075,64075 64075,64075 65425)))'))2020-07-14 12:18:54.820 CEST [8812] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2020-07-14 11:57:48.210 CEST [8812] LOG: server process (PID 7584) was terminated by exception 0xC00000052020-07-14 11:57:48.210 CEST [8812] DETAIL: Failed process was running: select st_approximatemedialaxis(st_geomfromtext('MULTIPOLYGON(((55115 56075,55915 56075,55975 56075,55975 58675,56075 58675,56075 57425,57425 57425,57425 56075,58775 56075,60025 56075,61375 56075,61375 61375,60125 61375,60125 61475,65525 61475,65525 61135,65425 61135,65425 61375,61475 61375,61475 58775,65425 58775,65425 60185,65525 60185,65525 58675,62825 58675,62825 55415,62825 53915,62825 53855,62725 53855,62725 53915,62725 55415,62725 55975,62665 55975,62665 56075,62725 56075,62725 58675,61475 58675,61475 56075,61865 56075,61865 55975,60025 55975,58775 55975,55915 55975,55115 55975,54725 55975,54725 56075,55115 56075)),((64075 65425,60125 65425,60125 65525,65425 65525,65425 66875,65425 68125,65425 69475,60125 69475,60125 69575,64075 69575,64075 72175,64175 72175,64175 69575,65525 69575,65525 68125,65525 66875,65525 62725,65425 62725,65425 64075,64075 64075,64075 65425)))'))2020-07-14 11:57:48.210 CEST [8812] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
This was reported by Nikolay Gerasimov
Change History (8)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Description: | modified (diff) |
---|---|
Keywords: | windows added |
comment:3 by , 4 years ago
comment:4 by , 4 years ago
Keywords: | windows removed |
---|---|
Summary: | ST_ApproximateMedialAxis SFCGAL crash on windows → ST_ApproximateMedialAxis SFCGAL crash |
comment:5 by , 4 years ago
Posted to SFCGAL related ticket is - https://gitlab.com/Oslandia/SFCGAL/-/issues/232
comment:6 by , 4 years ago
updated note from SFCGAL. May not be an issue with CGAL 5.x so I'll try to compile with that and see if it fixes it in windows.
comment:7 by , 4 years ago
Cc: | added |
---|
Sadly rebuilding against CGAL 5.0.2 and SFCGAL 1.3.8 still makes that example crash.
POSTGIS="3.1.0dev 3.1.0alpha1-164-g3bd678013" [EXTENSION] PGSQL="130" GEOS="3.9.0-CAPI-1.14.0" SFCGAL="1.3.8" PROJ="6.2.1" LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)" PostgreSQL 13beta2 on x86_64-w64-mingw32, compiled by gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
as noted in the SFCGAL related ticket
@lbartoletti
was able to get it to work on FreeBSD with CGAL 5.0.2
comment:8 by , 4 years ago
Milestone: | PostGIS 3.0.2 → PostGIS SFCGAL |
---|
Note:
See TracTickets
for help on using tickets.
Looks like it hasn't been fixed yet. Algunenano tested building from sfcgal head (CGAL CGAL: 4.14.2) and he got the same crash.
His trace is here