[postgis-devel] [PostGIS] #662: Make POLYGONM geometry crashes server
PostGIS
trac at osgeo.org
Thu Nov 18 10:35:39 PST 2010
#662: Make POLYGONM geometry crashes server
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Paul,
I didn't test your very very last set of changes, so this might be fixed.
Your bulk load of changes didn't get too far in my maze of traps before
setting off alarms.
Can you run the below and see if it works on your system. On my 9.1
alpha2 install it crashes the service.
{{{
CREATE TABLE pgis_garden (gid serial);
CREATE TABLE
SELECT
AddGeometryColumn('pgis_garden','the_geom',ST_SRID(the_geom),GeometryType(the_geom),ST_CoordDim(the_geom))
FROM ((SELECT
ST_MakePolygon(ST_AddPoint(ST_AddPoint(ST_MakeLine(ST_SetSRID(ST_MakePointM(i+m,j,m),4326),ST_SetSRID(ST_MakePointM(j+m,i-m,m),4326)),ST_SetSRID(ST_MakePointM(i,j,m),4326)),ST_SetSRID(ST_MakePointM(i+m,j,m),4326)))
As the_geom
FROM generate_series(-10,50,20) As i
CROSS JOIN generate_series(50,70, 20) As j
CROSS JOIN generate_series(1,2) As m
ORDER BY i, j, m, i*j*m
)) As foo limit 1;
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/662>
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-devel
mailing list