[geos-devel] isvalid() -- segmentation fault

David Blasby dblasby at refractions.net
Thu Sep 18 18:26:56 EDT 2003


I've attached the valgrind output.

dave


-------------- next part --------------
==10681== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==10681== Copyright (C) 2002, and GNU GPL'd, by Julian Seward.
==10681== Using valgrind-1.9.6, a program instrumentation system for x86-linux.
==10681== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==10681== Estimated CPU clock rate is 1673 MHz
==10681== For more details, rerun with: -v
==10681== 
geom1 = POLYGON ((1033707.5999999999767169 1048313.0999999999767169, 1033694.9000000000232831 1048315.6999999999534339, 1033659.9000000000232831 1048344.3000000000465661, 1033627.5999999999767169 1048388.8000000000465661, 1033620.9000000000232831 1048426.8000000000465661, 1033623.5999999999767169 1048471.3000000000465661, 1033623.5999999999767169 1048480.8000000000465661, 1033616.8000000000465661 1048503.1999999999534339, 1033629.0999999999767169 1048541.3000000000465661, 1033668.3000000000465661 1048707.6000000000931323, 1033696.3000000000465661 1048755.6000000000931323, 1033721.4000000000232831 1048771.6000000000931323, 1033724.5000000000000000 1048772.0000000000000000, 1033737.1999999999534339 1048772.0000000000000000, 1033772.0999999999767169 1048756.3999999999068677, 1033794.5999999999767169 1048721.8999999999068677, 1033811.0999999999767169 1048667.3999999999068677, 1033814.8000000000465661 1048613.6000000000931323, 1033815.0999999999767169 1048597.5000000000000000, 1033809.1999999999534339 1048556.0999999999767169, 1033809.3000000000465661 1048549.5999999999767169, 1033797.0999999999767169 1048501.9000000000232831, 1033790.9000000000232831 1048492.1999999999534339, 1033773.0000000000000000 1048399.5999999999767169, 1033760.5999999999767169 1048377.5999999999767169, 1033741.8000000000465661 1048357.8000000000465661, 1033742.0999999999767169 1048341.8000000000465661, 1033713.9000000000232831 1048313.4000000000232831, 1033707.5999999999767169 1048313.0999999999767169))
==10681== Invalid read of size 4
==10681==    at 0x402A456C: geos::BinTreeNode::find(geos::BinTreeInterval *) (../index/bintree/BinTreeNode.cpp:64)
==10681==    by 0x402A5005: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:59)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x4128707C is 24 bytes inside a block of size 32 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A44B3: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A4570: geos::BinTreeNode::find(geos::BinTreeInterval *) (../index/bintree/BinTreeNode.cpp:64)
==10681==    by 0x402A5005: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:59)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x41287078 is 20 bytes inside a block of size 32 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A44B3: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A4589: geos::BinTreeNode::find(geos::BinTreeInterval *) (../index/bintree/BinTreeNode.cpp:67)
==10681==    by 0x402A5005: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:59)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x4128706C is 8 bytes inside a block of size 32 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A44B3: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A501B: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    by 0x4027532B: geos::Geometry::isValid(void) (Geometry.cpp:242)
==10681==    Address 0x41287070 is 12 bytes inside a block of size 32 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A44B3: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A4C47: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:319)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x41287064 is 0 bytes inside a block of size 32 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A44B3: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A4C49: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:320)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x412870FC is 4 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402A4C4E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:320)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x41287100 is 8 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid write of size 4
==10681==    at 0x402A4C61: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:322)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    by 0x402CAF0E: geos::IsValidOp::isValid(void) (../operation/valid/IsValidOp.cpp:37)
==10681==    Address 0x412870FC is 4 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E0308: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:590)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870FC is 4 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E030D: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:590)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x41287100 is 8 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E0353: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:196)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870F8 is 0 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E0404: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_alloc.h:402)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870F8 is 0 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E0441: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_uninitialized.h:78)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870FC is 4 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E045D: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:95)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870F8 is 0 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid read of size 4
==10681==    at 0x402E0465: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:95)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x41287100 is 8 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid write of size 4
==10681==    at 0x402E04CB: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:612)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870F8 is 0 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid write of size 4
==10681==    at 0x402E04D0: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:613)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x412870FC is 4 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Invalid write of size 4
==10681==    at 0x402E04DF: vector<void *, allocator<void *> >::_M_insert_aux(void **, void *const &) (/usr/include/g++-3/stl_vector.h:614)
==10681==    by 0x402A4C6E: geos::NodeBase::add(void *) (/usr/include/g++-3/stl_vector.h:197)
==10681==    by 0x402A5022: geos::Root::insertContained(geos::BinTreeNode *, geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:62)
==10681==    by 0x402A4F8D: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:40)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x41287100 is 8 bytes inside a block of size 12 free'd
==10681==    at 0x40168F45: __builtin_delete (vg_clientfuncs.c:199)
==10681==    by 0x402A4BB9: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:266)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4F66: geos::Root::insert(geos::BinTreeInterval *, void *) (../index/bintree/Root.cpp:33)
==10681==    by 0x402A3CE6: geos::Bintree::insert(geos::BinTreeInterval *, void *) (../index/bintree/Bintree.cpp:58)
==10681==    by 0x4028ADF5: geos::MCPointInRing::buildIndex(void) (../algorithm/MCPointInRing.cpp:38)
==10681==    by 0x4028AC7A: geos::MCPointInRing::MCPointInRing(geos::LinearRing *) (../algorithm/MCPointInRing.cpp:20)
==10681==    by 0x402CBCBD: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (/usr/include/g++-3/memory:36)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Conditional jump or move depends on uninitialised value(s)
==10681==    at 0x402A5129: geos::indexMonotoneChain::~indexMonotoneChain(void) (../index/chain/indexMonotoneChain.cpp:18)
==10681==    by 0x402A4B2F: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:218)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4BEF: geos::NodeBase::~NodeBase(void) (../index/bintree/NodeBase.cpp:29)
==10681==    by 0x402A4E9D: geos::Root::~Root(void) (../index/bintree/Root.cpp:10)
==10681==    by 0x402A3BEF: geos::Bintree::~Bintree(void) (../index/bintree/Bintree.cpp:31)
==10681==    by 0x4028AD10: geos::MCPointInRing::~MCPointInRing(void) (../algorithm/MCPointInRing.cpp:24)
==10681==    by 0x402CBE3B: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (../operation/valid/IsValidOp.cpp:261)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Use of uninitialised value of size 4
==10681==    at 0x402A514E: geos::indexMonotoneChain::~indexMonotoneChain(void) (../index/chain/indexMonotoneChain.cpp:19)
==10681==    by 0x402A4B2F: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:218)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4BEF: geos::NodeBase::~NodeBase(void) (../index/bintree/NodeBase.cpp:29)
==10681==    by 0x402A4E9D: geos::Root::~Root(void) (../index/bintree/Root.cpp:10)
==10681==    by 0x402A3BEF: geos::Bintree::~Bintree(void) (../index/bintree/Bintree.cpp:31)
==10681==    by 0x4028AD10: geos::MCPointInRing::~MCPointInRing(void) (../algorithm/MCPointInRing.cpp:24)
==10681==    by 0x402CBE3B: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (../operation/valid/IsValidOp.cpp:261)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681== 
==10681== Jump to the invalid address stated on the next line
==10681==    at 0x0: ???
==10681==    by 0x402A4B2F: geos::NodeBase::~NodeBase(void) (/usr/include/g++-3/stl_vector.h:218)
==10681==    by 0x402A449E: geos::BinTreeNode::~BinTreeNode(void) (../index/bintree/BinTreeNode.cpp:31)
==10681==    by 0x402A4BEF: geos::NodeBase::~NodeBase(void) (../index/bintree/NodeBase.cpp:29)
==10681==    by 0x402A4E9D: geos::Root::~Root(void) (../index/bintree/Root.cpp:10)
==10681==    by 0x402A3BEF: geos::Bintree::~Bintree(void) (../index/bintree/Bintree.cpp:31)
==10681==    by 0x4028AD10: geos::MCPointInRing::~MCPointInRing(void) (../algorithm/MCPointInRing.cpp:24)
==10681==    by 0x402CBE3B: geos::IsValidOp::checkHolesInShell(geos::Polygon *, geos::GeometryGraph *) (../operation/valid/IsValidOp.cpp:261)
==10681==    by 0x402CB26E: geos::IsValidOp::checkValid(geos::Polygon *) (../operation/valid/IsValidOp.cpp:92)
==10681==    by 0x402CB048: geos::IsValidOp::checkValid(geos::Geometry *) (../operation/valid/IsValidOp.cpp:54)
==10681==    Address 0x0 is not stack'd, malloc'd or free'd


More information about the geos-devel mailing list