Opened 16 years ago
Last modified 15 years ago
#112 closed defect (fixed)
ST_CurveToLine sometimes crashes server — at Initial Version
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.4.0 |
Component: | postgis | Version: | 1.3.X |
Keywords: | Cc: |
Description
What steps will reproduce the problem? 1.
SELECT 'ST_CurveToLine GCSet3D: Start Testing GEOMETRYCOLLECTION';
BEGIN; SELECT ST_AsEWKT(ST_CurveToLine(foo1.the_geom))
FROM ((SELECT
ST_Collect(ST_Collect(ST_SetSRID(ST_MakePoint(i,j,m),4326),ST_SetSRID(ST_MakePolygon(ST_AddPoint(ST_AddPoint(ST_MakeLine(ST_MakePoint(i+m,j,m),ST_MakePoint(j+m,i-m,m)),ST_MakePoint(i,j,m)),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 GROUP BY m)) As foo1;
COMMIT; SELECT 'ST_CurveToLine GCSet3D: End Testing GEOMETRYCOLLECTION';
What is the expected output? It should do nothing and just return what I input since input contains no curves.
What do you see instead? psql:torturetest.sql:157312: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while processing the request.
psql:torturetest.sql:157312: connection to server was lost
Haven't test on 1.3 but assume same issue exists