[postgis-users] GEOS crashing PostgreSQL?

strk at refractions.net strk at refractions.net
Wed Oct 25 01:46:07 PDT 2006


On Tue, Oct 24, 2006 at 04:30:57PM -0700, Tyler Mitchell wrote:
> 
> 
> ----- Original Message -----
> From: strk at refractions.net
> Date: Tuesday, October 24, 2006 2:14 pm
> Subject: Re: [postgis-users] GEOS crashing PostgreSQL?
> 
> > Tyler, did you run 'make check' in both GEOS and PostGIS build 
> > trees ?
> 
> Yes.  PostGIS check fails on the regress_ogc tests. 
> It reported this for my versions:
> "
>  PostgreSQL 8.1.4 on x86_64-redhat-linux-gnu, compiled by GCC x86_64-redhat-linux-gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
>  Postgis 1.1.5 - 2006-10-24 23:19:52
>    GEOS: 2.2.3-CAPI-1.1.1
>    PROJ: Rel. 4.5.0, 19 Apr 2006
> "
>  GEOS 2.2.3 doesn't seem to run any checks.
> 
> > That first step will attempt to catch any 64bit specific bug.
> > Postgis 1.1.5 should be compatibly with any GEOS exposing the C-API,
> > postgis's ./configure final summary should tell you if you're 
> > using the CAPI
> > to interface to geos, as should postgis_full_version().
> 
> My full version info returned as:
>  POSTGIS="1.1.5" GEOS="2.2.3-CAPI-1.1.1" PROJ="Rel. 4.5.0, 19 Apr 2006" USE_STATS
> 
> Anything look strange?  Do I need to tell PostGIS to use CAPI?  I'm quite lost and will try an older version of PostGIS later.

Everything looks fine, postgis 1.1.5 is using the C-API of GEOS 2.2.3.
I guess we must only fix the postgis-GEOS_CAPI connector to use the 2.2.3
(capi 1.1.1 interface) and make sure GEOS 3.0.0 doesnt' break that.

--strk;



More information about the postgis-users mailing list