[postgis-tickets] [PostGIS] #4217: ST_Subdivide() - segfault
PostGIS
trac at osgeo.org
Sun Oct 28 17:08:22 PDT 2018
#4217: ST_Subdivide() - segfault
------------------------------------+---------------------------
Reporter: morena | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.5.1
Component: postgis | Version: 2.5.x
Keywords: ST_Subdivide, segfault |
------------------------------------+---------------------------
How to reproduce the issue:
Subdivide attached geometry using ST_Subdivide() with max_vertices = 10 or
fewer vertices (operation succeds for max_vertices > 10)
{{{
ogr2ogr -f "PostgreSQL" -overwrite PG:"dbname=dev" "geom_layer.geojson"
-nln public.geom_layer
DROP TABLE IF EXISTS public.geom_layer_subdivided;
CREATE TABLE public.geom_layer_subdivided AS
SELECT ST_Subdivide(wkb_geometry,10) AS geom
FROM public.geom_layer
;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
}}}
{{{
syslog message:
segfault at 0 ip 00007f1e461ec8f5 sp 00007fffff02ad28 error 4 in
postgis-2.5.so[7f1e46181000+bb000]
}}}
Geometry checks:
{{{
SELECT DISTINCT ST_IsValid(wkb_geometry) FROM public.geom_layer;
st_isvalid
------------
t
(1 row)
SELECT ST_NPoints(wkb_geometry) AS geom_num_points FROM public.geom_layer;
geom_num_points
------
212
(1 row)
}}}
Linux Version
{{{
uname -a
Linux 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64
GNU/Linux
}}}
PostgreSQL Version
{{{
SELECT version();
PostgreSQL 11.0 on x86_64-pc-linux-gnu, compiled by gcc (Debian
6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
}}}
PostGIS Version
{{{
SELECT PostGIS_Full_Version();
POSTGIS="2.5.1dev r16947" [EXTENSION] PGSQL="110" GEOS="3.7.0-CAPI-1.11.0
673b9939" PROJ="Rel. 5.2.0, September 15th, 2018" GDAL="GDAL 2.3.2,
released 2018/09/21" LIBXML="2.9.4" RASTER
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4217>
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