Changes between Initial Version and Version 3 of Ticket #126
- Timestamp:
- Nov 25, 2007, 11:02:03 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #126
- Property Cc added
- Property Priority 3 → critical
- Property Version 3.0.0 → svn-trunk
- Property Milestone imported → 3.0.0
- Property Severity Annoyance → Significant
-
Ticket #126 – Description
initial v3 1 The following code causes a segmentation fault: 1 2 {{{ 2 The following code causes a segmentation fault:3 4 3 GEOSGeometry* geom = GEOSGeomFromWKT("GEOMETRYCOLLECTION EMPTY"); 5 4 int ndims = GEOSGeom_getDimensions(geom); 6 5 }}} 7 6 A backtrace for it looks like: 7 {{{ 8 8 #0 0xb7d0940a in geos::geom::GeometryCollection::getGeometryN (this=0x804a900, n=0) at GeometryCollection.cpp:132 9 9 No locals. 10 10 #1 0xb7eedcdf in GEOSGeom_getDimensions (g=0x804a900) at geos_c.cpp:1796 11 11 }}} 12 12 My system is: 13 {{{ 13 14 $ uname -a 14 15 Linux 2.6.17-gentoo-r7 #2 PREEMPT Thu Sep 7 12:29:51 BST 2006 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux 15 16 {{{ 16 17 and GEOS CAPI 3.0.0rc2-CAPI-1.3.0 with: 18 {{{ 17 19 $ gcc-config -c 18 20 i686-pc-linux-gnu-4.1.1