[postgis-devel] [PostGIS] #241: ST_LineCrossingDirection Server Crash (Segfault)

PostGIS trac at osgeo.org
Tue Aug 18 10:09:11 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 pramsey):

 Can you do a binary search and find the geometry that causes the crash?
 Use limit and offset to search 1/2, 1/4, 1/8 of the data table until you
 find the one record that is causing the problem...
 {{{
 select name,
 st_linecrossingdirection(theline, GeomFromText('LINESTRING(2 53.54,20
 53.54)'))
 from mytable limit 500 offset 500;
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/241#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list