[postgis-devel] Segfault with Intersects() in 1.0.6-CVS

david techer davidtecher at yahoo.fr
Mon Dec 5 06:21:50 PST 2005


Hi Benj

Sorry for my being late to say something but I vote for your idea ;-)

--david;
-------------------------------------------------
Jean David TECHER
e-mail: davidtecher(at)yahoo(dot)fr
site: http://techer.pascal.free.fr/postgis/
-------------------------------------------------



Alex Mayrhofer a écrit :

> Benj Carson wrote:
>
>> Hello,
>>
>> I am getting segfaults with PostGIS 1.0.6-CVS (updated as of 
>> 2005-12-02) and PostgreSQL 8.1 (from Debian) when calling Intersects():
>>
>> # select intersects(
>>     polygonfromtext('POLYGON((0.0 0.0,1.0 0.0,1.0 1.0,1.0 0.0,0.0 
>> 0.0))'),
>>     polygonfromtext('POLYGON((0.0 2.0,1.0 2.0,1.0 3.0,0.0 3.0,0.0 
>> 2.0))')
>>   );
>
>
> works for me on
>
>  POSTGIS="1.0.6CVS" GEOS="2.1.1" PROJ="Rel. 4.4.9, 29 Oct 2004" 
> USE_STATS DBPROC="0.3.0" RELPROC="0.3.0"
>
> PostgreSQL 8.1 on a Ultrasparc machine running Debian/GNU Linux. I 
> know that this is an old GEOS version, however.
>
> May i suggest that we add regression tests for each "problematic" 
> query to the distribution, probably with a reference to the respective 
> mail archive thread, like in this case:
>
> --- postgis-devel/2005-December/001784.html
> select intersects(
>    polygonfromtext('POLYGON((0.0 0.0,1.0 0.0,1.0 1.0,1.0 0.0,0.0 0.0))'),
>    polygonfromtext('POLYGON((0.0 2.0,1.0 2.0,1.0 3.0,0.0 3.0,0.0 2.0))')
> );
>
> using the mailing list archive as a reference. I think the more tests 
> we have, the better (i'm working with another project where we have 
> now around 2300 regression tests, and they have proved to be really 
> useful, even if they look trivial in the first place).
>
> cheers
>
> alex
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>

	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



More information about the postgis-devel mailing list