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

PostGIS trac at osgeo.org
Thu Jun 25 08:20:41 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 dfuhriman):

 Replying to [comment:9 robe]:

 The first always works, the latter always fails.
 {{{
 =# SELECT ST_Union(ARRAY[NULL,NULL,NULL,NULL]) ;
 NOTICE:  [lwgeom_geos.c:pgis_union_geometry_array:119] GEOS incremental
 union (call 2)
 NOTICE:  [lwgeom_geos.c:pgis_union_geometry_array:131] unite_garray:
 number of elements: 4
 NOTICE:  [lwgeom_geos.c:pgis_union_geometry_array:247] geom 0 @ 0x157ddab0
 NOTICE:  [lwgeom_api.c:lwgeom_getType:853] lwgeom_getType 0
 NOTICE:  [lwgeom.c:lwgeom_deserialize:26] lwgeom_deserialize got 0 -
 Unknown
 ERROR:  Unknown geometry type: 0
 }}}

 and

 {{{
 # SELECT ST_MakeLine(ARRAY[NULL,NULL,NULL,NULL]) ;
 NOTICE:  [lwgeom_functions_basic.c:LWGEOM_makeline_garray:2133]
 LWGEOM_makeline_garray called.
 NOTICE:  [lwgeom_functions_basic.c:LWGEOM_makeline_garray:2148]
 LWGEOM_makeline_garray: array detoasted
 NOTICE:  [lwgeom_functions_basic.c:LWGEOM_makeline_garray:2153]
 LWGEOM_makeline_garray: array has 4 elements
 server closed the connection unexpectedly
 }}}

 8.3.7, 64-bit, Centos 5, 1.4.0SVN

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


More information about the postgis-devel mailing list