[postgis-devel] [PostGIS] #241: ST_LineCrossingDirection Server Crash (Segfault)
PostGIS
trac at osgeo.org
Wed Aug 19 05:48:55 PDT 2009
#241: ST_LineCrossingDirection Server Crash (Segfault)
-----------------------+----------------------------------------------------
Reporter: batzee | Owner: robe
Type: defect | Status: assigned
Priority: critical | Milestone: postgis 1.4.1
Component: postgis | Version: 1.4.X
Resolution: | Keywords: segfault
-----------------------+----------------------------------------------------
Changes (by robe):
* owner: pramsey => robe
* status: new => assigned
Comment:
On closer inspection. I think its how we are freeing constant geometries
that is the problem. Only seems to happen if I introduce a constant.
For example this crashes too.
SELECT sum(ST_LineCrossingDirection(a.the_geom,
ST_GeomFromText('LINESTRING(1 2,3 4)')))
FROM ((SELECT ST_MakeLine(ST_Point(i,j),ST_Point(j,i)) As the_geom
FROM generate_series(-10,50,10) As i
CROSS JOIN generate_series(40,70, 15) As j
WHERE NOT(i = j)
ORDER BY i, i*j) ) As a
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/241#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list