[postgis-devel] [PostGIS] #210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array

PostGIS trac at osgeo.org
Thu Jun 25 04:31:03 PDT 2009


#210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array
------------------------+---------------------------------------------------
  Reporter:  dfuhriman  |       Owner:  pramsey      
      Type:  defect     |      Status:  new          
  Priority:  medium     |   Milestone:  postgis 1.3.7
 Component:  postgis    |     Version:  trunk        
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------
Comment (by robe):

 I'm somewhat convinced that this and #179 if not manifestations of the
 same disease are in the same family.

 Just to test -- can everyone try the following two examples. Very watered
 down. Of course don't do this on a production system unless you don't mind
 it going down.
 {{{
 SELECT ST_Union(ARRAY[NULL,NULL,NULL,NULL]) ;
 SELECT ST_MakeLine(ARRAY[NULL,NULL,NULL,NULL]) ;


 }}}

 In the above cases on my 8.4RC1 windows 32-bit install running PostGIS
 1.4b1, GEOS 3.1.1

 I get these messages:
 Union says:
 ERROR:  Unknown geometry type: 0

 Make Line says:
 ERROR: Unknown geometry type: 0  and promptly kills my backend

 Note that they both give the same errors and MakeLine does not use GEOS at
 all.  Though the makeline seems to be a more consistent killing machine
 when it kills but not consistently on all installs.

 I ran the same a couple of times on my
 PostgreSQL 8.3.7 windows 32-bit, PostGIS 1.4b1, GEOS 3.1.1
 Union says:
 ERROR:  Unknown geometry type: 0

 Make Line says:
 Returns NULL as expected and gives no error.

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


More information about the postgis-devel mailing list