[postgis-devel] [PostGIS] #670: ST_SharedPaths
PostGIS
trac at osgeo.org
Fri Dec 3 01:04:21 PST 2010
#670: ST_SharedPaths
---------------------+------------------------------------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
Kind of crazy, I created a table with the result of the subquery, getting
2 records with g1/g2 and could reproduce the crash using ST_SharedPaths
against g1,g2 of first record.
Those geometries I've put in the regression test and can't reproduce the
issue.
I wonder if it's a corruption somewhere else.
Look at this:
{{{
strk=# select st_sharedpaths(g1::text::geometry,g2::text::geometry) from
bug670 where id = 1;
ERROR: GEOSIntersection: IllegalArgumentException: Geometry is not lineal
strk=# select st_sharedpaths(g1,g2) from bug670 where id = 1;
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.
!>
}}}
Note that ::text givesn HEXEWKT, so there should be nothing lost.
I suspect there's some corruption in internal structures _before_
SharedPaths is invoked.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/670#comment:5>
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