[geos-devel] strange test case

strk at refractions.net strk at refractions.net
Wed Nov 15 05:38:42 EST 2006


Carl, I think I fixed this already. Can you confirm
you don't get an assertion failure with rc2 ?

--strk;

On Tue, Nov 14, 2006 at 02:46:18PM -0500, Carl Anderson wrote:
> strk,
> 
> I have finally isolated an example that generates the assertion error.
> 
> I get the error:
> 
> bufferOriginalPrecision failed, trying with reduced precision
> Scaler: offsetX,Y: 0,0 scaleFactor: 25
> XMLTester: ../source/headers/geos/noding/SegmentString.h:167: void 
> geos::noding::SegmentString::testInvariant() const: Assertion 
> `pts->size() == npts' failed.
> Abort
> 
> The error occurs on Intel PIII and P4 chips, but have not been able to 
> produce the error in AMD Athlon chips.
> I used gcc 4.1.1 with the GEOS default -O2 flags.
> It may or may not produce an error for you.
> 
> run the attached into XMLTester.
> 
> 
> BTW this example is not a valid geometry.  I was created through a 
> series of PostGIS operations,
> Difference() and Simplify().
> 
> C.
> 
> -- 
> Carl Anderson
> GIS Manager Fulton County, Georgia
> carl.anderson at co.fulton.ga.us
> 404.730.8026
> 


> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel


-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the geos-devel mailing list