Changes between Initial Version and Version 3 of Ticket #126


Ignore:
Timestamp:
Nov 25, 2007, 11:02:03 PM (16 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #126

    • Property Cc mloskot added
    • Property Priority 3critical
    • Property Version 3.0.0svn-trunk
    • Property Milestone imported3.0.0
    • Property Severity AnnoyanceSignificant
  • Ticket #126 – Description

    initial v3  
     1The following code causes a segmentation fault:
    12{{{
    2 The following code causes a segmentation fault:
    3 
    43GEOSGeometry* geom = GEOSGeomFromWKT("GEOMETRYCOLLECTION EMPTY");
    54int ndims = GEOSGeom_getDimensions(geom);
    6 
     5}}}
    76A backtrace for it looks like:
     7{{{
    88#0  0xb7d0940a in geos::geom::GeometryCollection::getGeometryN (this=0x804a900, n=0) at GeometryCollection.cpp:132
    99No locals.
    1010#1  0xb7eedcdf in GEOSGeom_getDimensions (g=0x804a900) at geos_c.cpp:1796
    11 
     11}}}
    1212My system is:
     13{{{
    1314$ uname -a
    1415Linux 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{{{
    1617and GEOS CAPI 3.0.0rc2-CAPI-1.3.0 with:
     18{{{
    1719$ gcc-config -c
    1820i686-pc-linux-gnu-4.1.1