#2418 closed defect (duplicate)
st_isvalid crashes postgres
Reported by: | crispond | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | Website Management, Bots |
Component: | postgis | Version: | 2.0.x |
Keywords: | st_isvalid | Cc: |
Description
If you run the following, it takes down the postgres service:
select st_isvalid(null); select st_isvalid('sometext');
My apologies if this has already been resolved or is miscategorised. I thought it was important to report since it took out the postgres.exe processes completely.
-cris
Stats:
PostgreSQL 9.1.5, compiled by Visual C++ build 1500, 64-bit POSTGIS="2.0.1 r9979" GEOS="3.3.5-CAPI-1.7.5" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.1, released 2012/05/15" LIBXML="2.7.8" LIBJSON="UNKNOWN" TOPOLOGY RASTER
I'm running windows 7 ultimate 64 bit.
Note:
See TracTickets
for help on using tickets.
Yes this is a known issue related to #2338. Its a family of issues. Unfortunately fixing it in 9.1/9.2 64-bit requires me to change quite a few libraries (GEOS, Proj etc.). I can provide binary fixes if you need it badly.
The fix for this issue I have in 9.3 x64-bit releases for 2.1 moving forward. I don't plan to fix prior versions at least until 9.3 has been out in the field for a bit to make sure I'm not swapping one set of issues for another.
Fixing for prior versions may break peoples installs where they have both 2.0/2.1 installed since it would require upgrade of both.