[geos-devel] SIGABRT in GEOS using the C-API

Alex Trofast alex.trofast at ingres.com
Tue Aug 31 20:26:29 EDT 2010

Greetings all, I'm getting a SIGABRT in GEOS, but not on all Linux distros. The following is a partial backtrace from Ingres:
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fa6e09bd710 (LWP 740)]
0x00000030e4a326c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00000030e4a326c5 in raise () from /lib64/libc.so.6
#1  0x00000030e4a33ea5 in abort () from /lib64/libc.so.6
#2  0x00000030e4a2b7b5 in __assert_fail () from /lib64/libc.so.6
#3  0x00007fa6f3ea2623 in geos::geom::GeometryComponentFilter::filter_ro (this=<value optimized out>, geom=<value optimized out>) at GeometryComponentFilter.cpp:35
#4  0x00007fa6f3eab47c in geos::geom::Polygon::apply_ro (this=0x7fa6cc03b0d0, filter=0x7fa6e09ae900) at Polygon.cpp:402
#5  0x00007fa6f3f038c5 in getLines (this=0x7fa6e09ae9b0) at ../../../include/geos/geom/util/LinearComponentExtracter.h:57
#6  geos::operation::distance::DistanceOp::computeFacetDistance (this=0x7fa6e09ae9b0) at DistanceOp.cpp:389
#7  0x00007fa6f3f03d1d in geos::operation::distance::DistanceOp::distance (this=0x7fa6e09ae9b0) at DistanceOp.cpp:141
#8  0x00007fa6f3f03e30 in geos::operation::distance::DistanceOp::distance (g0=<value optimized out>, g1=<value optimized out>) at DistanceOp.cpp:61
#9  0x00007fa6f43c646c in GEOSDistance_r (extHandle=0x7fa6cc000ea0, g1=<value optimized out>, g2=<value optimized out>, dist=0x7fa6e09aea88) at geos_ts_c.cpp:804
#10 0x000000000080cb37 in adu_distance (adf_scb=0x7fa6e08ae990, dv1=0x7fa6e09aec88, dv2=0x7fa6e09aeca0, rdv=0x7fa6e09aec70) at /devsrc/geospatial/src/common/adf/adu/aduspatial.c:2813
The platform is Fedora 12 64 bit, but it also occurred on Fedora 13 64 bit. It did not occur on Arch Linux 64 bit or Fedora 11 32 bit. It also does not occur on Windows 32 bit as far as I can tell. Does anyone have any idea why this might be happening? Any help is greatly appreciated!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20100831/f4d5be55/attachment.html

More information about the geos-devel mailing list