Opened 16 years ago

Last modified 16 years ago

#70 closed task (fixed)

ST_NPoints Crashes with Curves

Reported by: robe Owned by: robe
Priority: medium Milestone:
Component: postgis Version:
Keywords: Cc:

Description

What steps will reproduce the problem? 1) SELECT ST_NPoints(ST_LinetoCurve(ST_Buffer('POINT(1 2)',3))) What is the expected output? Either a warning or a number

What do you see instead? It crashes - kills Postgres backend on Windows 2003 1.3.3 - have to restart the service

On OpenSUSE 11 with latest 1.3.4SVN - I get this lovely message

SELECT ST_NPoints(ST_LinetoCurve(ST_Buffer('POINT(1 2)',3))); 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: WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. Failed.

Change History (2)

comment:1 by mcayland, 16 years ago

Should now be fixed in 1.3 branch and HEAD. Please test :)

ATB,

Mark.

comment:2 by robe, 16 years ago

Works for me and tried with collections of things and it works there too.

Note: See TracTickets for help on using tickets.