[postgis-devel] [PostGIS] #241: ST_LineCrossingDirection Server Crash (Segfault)
PostGIS
trac at osgeo.org
Wed Aug 26 02:13:20 PDT 2009
#241: ST_LineCrossingDirection Server Crash (Segfault)
-----------------------+----------------------------------------------------
Reporter: batzee | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: postgis 1.4.1
Component: postgis | Version: 1.4.X
Resolution: | Keywords: segfault
-----------------------+----------------------------------------------------
Comment (by nicklas):
I can just add that I tried the above with two identical rows in the table
like
{{{
create table c as
SELECT ST_MakeLine(ST_Point(-10,40),ST_Point(40,-10)) As the_geom ;
insert into c
SELECT ST_MakeLine(ST_Point(-10,40),ST_Point(40,-10)) As the_geom ;
}}}
with the same result.
it doesn't crash with:
{{{
SELECT
sum(ST_LineCrossingDirection(the_geom, ST_GeomFromText('LINESTRING(1 2,3
4)')))
FROM (select * from c limit 1) d;
}}}
but it crashes with:
{{{
SELECT
sum(ST_LineCrossingDirection(the_geom, ST_GeomFromText('LINESTRING(1 2,3
4)')))
FROM c;
}}}
and:
{{{
SELECT
sum(ST_LineCrossingDirection(the_geom, ST_GeomFromText('LINESTRING(1 2,3
4)')))
FROM c limit 1;
}}}
/Nicklas
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/241#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list