Changes between Initial Version and Version 3 of Ticket #132


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #132

    • Property Cc mloskot added
    • Property Component C-APIC API
    • Property Priority 1critical
    • Property Version 3.0.0svn-trunk
    • Property Milestone imported3.0.0
    • Property Resolution nonefixed
    • Property Severity UnassignedSignificant
  • Ticket #132 – Description

    initial v3  
     1To be exact, it segfaults when one of the points is empty. I.e., the following code fails:
    12{{{
    2 To be exact, it segfaults when one of the points is empty. I.e., the following code fails:
    3 
    43 geom = GEOSGeomFromWKT("POINT(44 32.2)");
    54 geom2 = GEOSGeomFromWKT("POINT EMPTY");
    65 GEOSEqualsExact(geom, geom2, 0);
     6}}}
    77
    88A backtrace looks like:
     9{{{
    910#0  geos::geom::Geometry::equal (this=0x80f91d8, a=@0x0, b=@0x80fd6b0, tolerance=0) at Coordinate.inl:80
    1011#1  0xb7aebe84 in geos::geom::Point::equalsExact (this=0x80f91d8, other=0x80f0fd8, tolerance=0) at Point.cpp:200
    1112#2  0xb7ba80d3 in GEOSEqualsExact (g1=0x80f91d8, g2=0x80f0fd8, tolerance=0) at geos_c.cpp:414
    12 
     13}}}
    1314System details are the same as reported in bug #126
    14 }}}