[postgis-devel] Postgres dies on ST_MakeValid

Tom van Tilburg tom.van.tilburg at gmail.com
Fri Mar 30 07:39:18 PDT 2018


Postgres says:
"...pure virtual method called
terminate called without an active exception ..."
before dying

Fresh postgis build:
"POSTGIS="2.5.0dev r16508" [EXTENSION] PGSQL="100" GEOS="3.6.2-CAPI-1.10.2
4d2925d6" SFCGAL="1.3.1" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL
2.2.3, released 2017/11/20" LIBXML="2.9.4" LIBJSON="0.12.1"
LIBPROTOBUF="1.2.1" RASTER (sfcgal procs from "2.5.0 (...)"


I can only reproduce when outputting the binary geometry, WKT doesn't give
this problem:

SELECT
ST_MakeValid(ST_MakePolygon(ST_GeomFromWKB('\001\002\000\000\000\011\000\000\000b\020X9
}\366 at 7\211A\340\235I\034A\316\326t18}\366@
\306g\347\323\230I\034Ay\351&18}\366@
\331\316\367\323\230I\034A\372~j\274\370}\366@
\315\314\314LpI\034A\343\245\233\304R}\366 at R
\270\036\005?I\034A\315\314\314\314Z~\366@
\343\245\233\304\007I\034A\004V\016-\242}\366@
\252\361\322M\323H\034A\351&1\010\306{\366 at H\341z\0247I\034Ab\020X9 }\366 at 7
\211A\340\235I\034A')))

Output of ST_Isvalidreason gives "Self-intersection[92115.5120743143
463462.206937431]"

Best,
 Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180330/e57306d4/attachment.html>


More information about the postgis-devel mailing list