[geos-devel] [GEOS] #397: Conditional jump or move depends on
uninitialised value(s)
GEOS
geos-trac at osgeo.org
Mon Feb 28 11:05:47 EST 2011
#397: Conditional jump or move depends on uninitialised value(s)
------------------------+---------------------------------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.0.3
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
A single test from tests/buffer.xml (case 18) triggers 228 conditional
jumps based on uninitialized value errors:
{{{
==21472== Conditional jump or move depends on uninitialised value(s)
==21472== at 0x509C078:
geos::geom::Coordinate::equals2D(geos::geom::Coordinate const&) const
(Coordinate.inl:86)
==21472== by 0x509C474: geos::geom::operator==(geos::geom::Coordinate
const&, geos::geom::Coordinate const&) (Coordinate.inl:166)
==21472== by 0x50B6CD0:
geos::algorithm::LineIntersector::computeEdgeDistance(geos::geom::Coordinate
const&, geos::geom::Coordinate const&, geos::geom::Coordinate const&)
(LineIntersector.cpp:64)
==21472== by 0x50B76B7:
geos::algorithm::LineIntersector::getEdgeDistance(int, int) const
(LineIntersector.cpp:187)
==21472== by 0x510CC5C:
geos::geomgraph::Edge::addIntersection(geos::algorithm::LineIntersector*,
int, int, int) (Edge.cpp:165)
==21472== by 0x510CBE6:
geos::geomgraph::Edge::addIntersections(geos::algorithm::LineIntersector*,
int, int) (Edge.cpp:149)
==21472== by 0x5138A18:
geos::geomgraph::index::SegmentIntersector::addIntersections(geos::geomgraph::Edge*,
int, geos::geomgraph::Edge*, int) (SegmentIntersector.cpp:175)
==21472== by 0x5137E73:
geos::geomgraph::index::MonotoneChainEdge::computeIntersectsForChain(int,
int, geos::geomgraph::index::MonotoneChainEdge const&, int, int,
geos::geomgraph::index::SegmentIntersector&) (MonotoneChainEdge.cpp:129)
==21472== by 0x5138022:
geos::geomgraph::index::MonotoneChainEdge::computeIntersectsForChain(int,
int, geos::geomgraph::index::MonotoneChainEdge const&, int, int,
geos::geomgraph::index::SegmentIntersector&) (MonotoneChainEdge.cpp:157)
==21472== by 0x5138022:
geos::geomgraph::index::MonotoneChainEdge::computeIntersectsForChain(int,
int, geos::geomgraph::index::MonotoneChainEdge const&, int, int,
geos::geomgraph::index::SegmentIntersector&) (MonotoneChainEdge.cpp:157)
==21472== by 0x5137E01:
geos::geomgraph::index::MonotoneChainEdge::computeIntersectsForChain(int,
geos::geomgraph::index::MonotoneChainEdge const&, int,
geos::geomgraph::index::SegmentIntersector&) (MonotoneChainEdge.cpp:119)
==21472== by 0x513A345:
geos::geomgraph::index::MonotoneChain::computeIntersections(geos::geomgraph::index::MonotoneChain*,
geos::geomgraph::index::SegmentIntersector*) (MonotoneChain.h:58)
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/397>
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