[geos-devel] [GEOS] #535: GeometryComponentFilter::filter_ro: Assertion `0' failed

GEOS geos-trac at osgeo.org
Wed Aug 22 14:20:10 PDT 2012


#535: GeometryComponentFilter::filter_ro: Assertion `0' failed
-------------------------+--------------------------------------------------
 Reporter:  aaronharris  |       Owner:  geos-devel@…              
     Type:  defect       |      Status:  new                       
 Priority:  major        |   Milestone:  3.3.6                     
Component:  Default      |     Version:  3.3.3                     
 Severity:  Unassigned   |    Keywords:                            
-------------------------+--------------------------------------------------

Comment(by dazuma):

 We've just noticed this as well in production

 Some info from us:

 * We're running on the Amazon Linux AMI (Centos-based)
 * We're running 3.3.3 currently. (We'll try upgrading to 3.3.5 and see if
 it persists.)
 * Currently, we are able to reproduce it on pretty much any
 GEOSDistance_r() call, measuring between two point objects.
 * There is a possibility it may be related to changes to C++ runtime
 libraries. We know that this was working fine earlier, and at some point
 (without us recompiling GEOS or making any changes to it whatsoever), we
 started seeing this consistent behavior, so we suspect perhaps yum updated
 something out from under us.
 * Our compiler is gcc 4.4. We didn't use any weird switches when
 originally compiling geos.

 Here is a stack trace that might be useful. (This is not ours, but one
 from someone on the spatialite mailing list who saw the same thing on
 3.3.2, again calling GEOSDistance_r on two point objects.)

 #0  0x0000003af26328a5 in raise () from /lib64/libc.so.6
 #1  0x0000003af2634085 in abort () from /lib64/libc.so.6
 #2  0x0000003af262ba1e in __assert_fail_base () from /lib64/libc.so.6
 #3  0x0000003af262bae0 in __assert_fail () from /lib64/libc.so.6
 #4  0x0000003af9eaf293 in
 geos::geom::GeometryComponentFilter::filter_ro(geos::geom::Geometry
 const*) () from /usr/lib64/libgeos-3.3.2.so
 #5  0x0000003af9f16095 in
 geos::operation::distance::DistanceOp::computeFacetDistance() () from
 /usr/lib64/libgeos-3.3.2.so
 #6  0x0000003af9f16741 in
 geos::operation::distance::DistanceOp::distance() () from
 /usr/lib64/libgeos-3.3.2.so
 #7  0x0000003af9f16a20 in
 geos::operation::distance::DistanceOp::distance(geos::geom::Geometry
 const*, geos::geom::Geometry const*) ()
    from /usr/lib64/libgeos-3.3.2.so
 #8  0x0000003afbc1151c in GEOSDistance_r () from /usr/lib64/libgeos_c.so.1

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/535#comment:7>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list