[geos-devel] is this a big leak?

David Blasby dblasby at refractions.net
Fri Oct 3 17:26:39 EDT 2003


Here's the run from the test6.cpp I sent a little while ago.  I just ran 
it with the new GEOS.

  g++ -g test6.cpp -I/usr/local/include/geos -lgeos ; valgrind 
--leak-check=yes --num-callers=10 --show-reachable=yes ./a.out > & val_out



dave
-------------- next part --------------
==5384== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==5384== Copyright (C) 2002, and GNU GPL'd, by Julian Seward.
==5384== Using valgrind-1.9.6, a program instrumentation system for x86-linux.
==5384== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==5384== Estimated CPU clock rate is 1685 MHz
==5384== For more details, rerun with: -v
==5384== 
geom1 == MULTIPOLYGON (((10.0000000000000000 0.0000000000000000, 0.0000000000000000 0.0000000000000000, 0.0000000000000000 10.0000000000000000, 10.0000000000000000 10.0000000000000000, 10.0000000000000000 0.0000000000000000), (2.0000000000000000 2.0000000000000000, 4.0000000000000000 2.0000000000000000, 4.0000000000000000 4.0000000000000000, 2.0000000000000000 4.0000000000000000, 2.0000000000000000 2.0000000000000000)), ((15.0000000000000000 0.0000000000000000, 15.0000000000000000 10.0000000000000000, 25.0000000000000000 10.0000000000000000, 25.0000000000000000 0.0000000000000000, 15.0000000000000000 0.0000000000000000), (17.0000000000000000 2.0000000000000000, 19.0000000000000000 2.0000000000000000, 19.0000000000000000 4.0000000000000000, 17.0000000000000000 4.0000000000000000, 17.0000000000000000 2.0000000000000000)), ((30.0000000000000000 0.0000000000000000, 30.0000000000000000 10.0000000000000000, 40.0000000000000000 10.0000000000000000, 40.0000000000000000 0.0000000000000000, 30.0000000000000000 0.0000000000000000), (32.0000000000000000 2.0000000000000000, 34.0000000000000000 2.0000000000000000, 34.0000000000000000 4.0000000000000000, 32.0000000000000000 4.0000000000000000, 32.0000000000000000 2.0000000000000000)), ((45.0000000000000000 0.0000000000000000, 45.0000000000000000 10.0000000000000000, 55.0000000000000000 10.0000000000000000, 55.0000000000000000 0.0000000000000000, 45.0000000000000000 0.0000000000000000), (47.0000000000000000 2.0000000000000000, 49.0000000000000000 2.0000000000000000, 49.0000000000000000 4.0000000000000000, 47.0000000000000000 4.0000000000000000, 47.0000000000000000 2.0000000000000000)), ((60.0000000000000000 0.0000000000000000, 60.0000000000000000 10.0000000000000000, 70.0000000000000000 10.0000000000000000, 70.0000000000000000 0.0000000000000000, 60.0000000000000000 0.0000000000000000), (62.0000000000000000 2.0000000000000000, 64.0000000000000000 2.0000000000000000, 64.0000000000000000 4.0000000000000000, 62.0000000000000000 4.0000000000000000, 62.0000000000000000 2.0000000000000000)), ((75.0000000000000000 0.0000000000000000, 75.0000000000000000 10.0000000000000000, 85.0000000000000000 10.0000000000000000, 85.0000000000000000 0.0000000000000000, 75.0000000000000000 0.0000000000000000), (77.0000000000000000 2.0000000000000000, 79.0000000000000000 2.0000000000000000, 79.0000000000000000 4.0000000000000000, 77.0000000000000000 4.0000000000000000, 77.0000000000000000 2.0000000000000000)), ((90.0000000000000000 0.0000000000000000, 90.0000000000000000 10.0000000000000000, 100.0000000000000000 10.0000000000000000, 100.0000000000000000 0.0000000000000000, 90.0000000000000000 0.0000000000000000), (92.0000000000000000 2.0000000000000000, 94.0000000000000000 2.0000000000000000, 94.0000000000000000 4.0000000000000000, 92.0000000000000000 4.0000000000000000, 92.0000000000000000 2.0000000000000000)), ((105.0000000000000000 0.0000000000000000, 105.0000000000000000 10.0000000000000000, 115.0000000000000000 10.0000000000000000, 115.0000000000000000 0.0000000000000000, 105.0000000000000000 0.0000000000000000), (107.0000000000000000 2.0000000000000000, 109.0000000000000000 2.0000000000000000, 109.0000000000000000 4.0000000000000000, 107.0000000000000000 4.0000000000000000, 107.0000000000000000 2.0000000000000000)), ((120.0000000000000000 0.0000000000000000, 120.0000000000000000 10.0000000000000000, 130.0000000000000000 10.0000000000000000, 130.0000000000000000 0.0000000000000000, 120.0000000000000000 0.0000000000000000), (122.0000000000000000 2.0000000000000000, 124.0000000000000000 2.0000000000000000, 124.0000000000000000 4.0000000000000000, 122.0000000000000000 4.0000000000000000, 122.0000000000000000 2.0000000000000000)), ((135.0000000000000000 0.0000000000000000, 135.0000000000000000 10.0000000000000000, 145.0000000000000000 10.0000000000000000, 145.0000000000000000 0.0000000000000000, 135.0000000000000000 0.0000000000000000), (137.0000000000000000 2.0000000000000000, 139.0000000000000000 2.0000000000000000, 139.0000000000000000 4.0000000000000000, 137.0000000000000000 4.0000000000000000, 137.0000000000000000 2.0000000000000000)), ((150.0000000000000000 0.0000000000000000, 150.0000000000000000 10.0000000000000000, 160.0000000000000000 10.0000000000000000, 160.0000000000000000 0.0000000000000000, 150.0000000000000000 0.0000000000000000), (152.0000000000000000 2.0000000000000000, 154.0000000000000000 2.0000000000000000, 154.0000000000000000 4.0000000000000000, 152.0000000000000000 4.0000000000000000, 152.0000000000000000 2.0000000000000000)), ((165.0000000000000000 0.0000000000000000, 165.0000000000000000 10.0000000000000000, 175.0000000000000000 10.0000000000000000, 175.0000000000000000 0.0000000000000000, 165.0000000000000000 0.0000000000000000), (167.0000000000000000 2.0000000000000000, 169.0000000000000000 2.0000000000000000, 169.0000000000000000 4.0000000000000000, 167.0000000000000000 4.0000000000000000, 167.0000000000000000 2.0000000000000000)), ((180.0000000000000000 0.0000000000000000, 180.0000000000000000 10.0000000000000000, 190.0000000000000000 10.0000000000000000, 190.0000000000000000 0.0000000000000000, 180.0000000000000000 0.0000000000000000), (182.0000000000000000 2.0000000000000000, 184.0000000000000000 2.0000000000000000, 184.0000000000000000 4.0000000000000000, 182.0000000000000000 4.0000000000000000, 182.0000000000000000 2.0000000000000000)), ((195.0000000000000000 0.0000000000000000, 195.0000000000000000 10.0000000000000000, 205.0000000000000000 10.0000000000000000, 205.0000000000000000 0.0000000000000000, 195.0000000000000000 0.0000000000000000), (197.0000000000000000 2.0000000000000000, 199.0000000000000000 2.0000000000000000, 199.0000000000000000 4.0000000000000000, 197.0000000000000000 4.0000000000000000, 197.0000000000000000 2.0000000000000000)), ((210.0000000000000000 0.0000000000000000, 210.0000000000000000 10.0000000000000000, 220.0000000000000000 10.0000000000000000, 220.0000000000000000 0.0000000000000000, 210.0000000000000000 0.0000000000000000), (212.0000000000000000 2.0000000000000000, 214.0000000000000000 2.0000000000000000, 214.0000000000000000 4.0000000000000000, 212.0000000000000000 4.0000000000000000, 212.0000000000000000 2.0000000000000000)), ((225.0000000000000000 0.0000000000000000, 225.0000000000000000 10.0000000000000000, 235.0000000000000000 10.0000000000000000, 235.0000000000000000 0.0000000000000000, 225.0000000000000000 0.0000000000000000), (227.0000000000000000 2.0000000000000000, 229.0000000000000000 2.0000000000000000, 229.0000000000000000 4.0000000000000000, 227.0000000000000000 4.0000000000000000, 227.0000000000000000 2.0000000000000000)), ((240.0000000000000000 0.0000000000000000, 240.0000000000000000 10.0000000000000000, 250.0000000000000000 10.0000000000000000, 250.0000000000000000 0.0000000000000000, 240.0000000000000000 0.0000000000000000), (242.0000000000000000 2.0000000000000000, 244.0000000000000000 2.0000000000000000, 244.0000000000000000 4.0000000000000000, 242.0000000000000000 4.0000000000000000, 242.0000000000000000 2.0000000000000000)), ((255.0000000000000000 0.0000000000000000, 255.0000000000000000 10.0000000000000000, 265.0000000000000000 10.0000000000000000, 265.0000000000000000 0.0000000000000000, 255.0000000000000000 0.0000000000000000), (257.0000000000000000 2.0000000000000000, 259.0000000000000000 2.0000000000000000, 259.0000000000000000 4.0000000000000000, 257.0000000000000000 4.0000000000000000, 257.0000000000000000 2.0000000000000000)), ((270.0000000000000000 0.0000000000000000, 270.0000000000000000 10.0000000000000000, 280.0000000000000000 10.0000000000000000, 280.0000000000000000 0.0000000000000000, 270.0000000000000000 0.0000000000000000), (272.0000000000000000 2.0000000000000000, 274.0000000000000000 2.0000000000000000, 274.0000000000000000 4.0000000000000000, 272.0000000000000000 4.0000000000000000, 272.0000000000000000 2.0000000000000000)), ((285.0000000000000000 0.0000000000000000, 285.0000000000000000 10.0000000000000000, 295.0000000000000000 10.0000000000000000, 295.0000000000000000 0.0000000000000000, 285.0000000000000000 0.0000000000000000), (287.0000000000000000 2.0000000000000000, 289.0000000000000000 2.0000000000000000, 289.0000000000000000 4.0000000000000000, 287.0000000000000000 4.0000000000000000, 287.0000000000000000 2.0000000000000000)), ((300.0000000000000000 0.0000000000000000, 300.0000000000000000 10.0000000000000000, 310.0000000000000000 10.0000000000000000, 310.0000000000000000 0.0000000000000000, 300.0000000000000000 0.0000000000000000), (302.0000000000000000 2.0000000000000000, 304.0000000000000000 2.0000000000000000, 304.0000000000000000 4.0000000000000000, 302.0000000000000000 4.0000000000000000, 302.0000000000000000 2.0000000000000000)), ((315.0000000000000000 0.0000000000000000, 315.0000000000000000 10.0000000000000000, 325.0000000000000000 10.0000000000000000, 325.0000000000000000 0.0000000000000000, 315.0000000000000000 0.0000000000000000), (317.0000000000000000 2.0000000000000000, 319.0000000000000000 2.0000000000000000, 319.0000000000000000 4.0000000000000000, 317.0000000000000000 4.0000000000000000, 317.0000000000000000 2.0000000000000000)), ((330.0000000000000000 0.0000000000000000, 330.0000000000000000 10.0000000000000000, 340.0000000000000000 10.0000000000000000, 340.0000000000000000 0.0000000000000000, 330.0000000000000000 0.0000000000000000), (332.0000000000000000 2.0000000000000000, 334.0000000000000000 2.0000000000000000, 334.0000000000000000 4.0000000000000000, 332.0000000000000000 4.0000000000000000, 332.0000000000000000 2.0000000000000000)), ((345.0000000000000000 0.0000000000000000, 345.0000000000000000 10.0000000000000000, 355.0000000000000000 10.0000000000000000, 355.0000000000000000 0.0000000000000000, 345.0000000000000000 0.0000000000000000), (347.0000000000000000 2.0000000000000000, 349.0000000000000000 2.0000000000000000, 349.0000000000000000 4.0000000000000000, 347.0000000000000000 4.0000000000000000, 347.0000000000000000 2.0000000000000000)), ((360.0000000000000000 0.0000000000000000, 360.0000000000000000 10.0000000000000000, 370.0000000000000000 10.0000000000000000, 370.0000000000000000 0.0000000000000000, 360.0000000000000000 0.0000000000000000), (362.0000000000000000 2.0000000000000000, 364.0000000000000000 2.0000000000000000, 364.0000000000000000 4.0000000000000000, 362.0000000000000000 4.0000000000000000, 362.0000000000000000 2.0000000000000000)), ((375.0000000000000000 0.0000000000000000, 375.0000000000000000 10.0000000000000000, 385.0000000000000000 10.0000000000000000, 385.0000000000000000 0.0000000000000000, 375.0000000000000000 0.0000000000000000), (377.0000000000000000 2.0000000000000000, 379.0000000000000000 2.0000000000000000, 379.0000000000000000 4.0000000000000000, 377.0000000000000000 4.0000000000000000, 377.0000000000000000 2.0000000000000000)), ((390.0000000000000000 0.0000000000000000, 390.0000000000000000 10.0000000000000000, 400.0000000000000000 10.0000000000000000, 400.0000000000000000 0.0000000000000000, 390.0000000000000000 0.0000000000000000), (392.0000000000000000 2.0000000000000000, 394.0000000000000000 2.0000000000000000, 394.0000000000000000 4.0000000000000000, 392.0000000000000000 4.0000000000000000, 392.0000000000000000 2.0000000000000000)), ((405.0000000000000000 0.0000000000000000, 405.0000000000000000 10.0000000000000000, 415.0000000000000000 10.0000000000000000, 415.0000000000000000 0.0000000000000000, 405.0000000000000000 0.0000000000000000), (407.0000000000000000 2.0000000000000000, 409.0000000000000000 2.0000000000000000, 409.0000000000000000 4.0000000000000000, 407.0000000000000000 4.0000000000000000, 407.0000000000000000 2.0000000000000000)), ((420.0000000000000000 0.0000000000000000, 420.0000000000000000 10.0000000000000000, 430.0000000000000000 10.0000000000000000, 430.0000000000000000 0.0000000000000000, 420.0000000000000000 0.0000000000000000), (422.0000000000000000 2.0000000000000000, 424.0000000000000000 2.0000000000000000, 424.0000000000000000 4.0000000000000000, 422.0000000000000000 4.0000000000000000, 422.0000000000000000 2.0000000000000000)), ((435.0000000000000000 0.0000000000000000, 435.0000000000000000 10.0000000000000000, 445.0000000000000000 10.0000000000000000, 445.0000000000000000 0.0000000000000000, 435.0000000000000000 0.0000000000000000), (437.0000000000000000 2.0000000000000000, 439.0000000000000000 2.0000000000000000, 439.0000000000000000 4.0000000000000000, 437.0000000000000000 4.0000000000000000, 437.0000000000000000 2.0000000000000000)), ((450.0000000000000000 0.0000000000000000, 450.0000000000000000 10.0000000000000000, 460.0000000000000000 10.0000000000000000, 460.0000000000000000 0.0000000000000000, 450.0000000000000000 0.0000000000000000), (452.0000000000000000 2.0000000000000000, 454.0000000000000000 2.0000000000000000, 454.0000000000000000 4.0000000000000000, 452.0000000000000000 4.0000000000000000, 452.0000000000000000 2.0000000000000000)), ((465.0000000000000000 0.0000000000000000, 465.0000000000000000 10.0000000000000000, 475.0000000000000000 10.0000000000000000, 475.0000000000000000 0.0000000000000000, 465.0000000000000000 0.0000000000000000), (467.0000000000000000 2.0000000000000000, 469.0000000000000000 2.0000000000000000, 469.0000000000000000 4.0000000000000000, 467.0000000000000000 4.0000000000000000, 467.0000000000000000 2.0000000000000000)), ((480.0000000000000000 0.0000000000000000, 480.0000000000000000 10.0000000000000000, 490.0000000000000000 10.0000000000000000, 490.0000000000000000 0.0000000000000000, 480.0000000000000000 0.0000000000000000), (482.0000000000000000 2.0000000000000000, 484.0000000000000000 2.0000000000000000, 484.0000000000000000 4.0000000000000000, 482.0000000000000000 4.0000000000000000, 482.0000000000000000 2.0000000000000000)), ((495.0000000000000000 0.0000000000000000, 495.0000000000000000 10.0000000000000000, 505.0000000000000000 10.0000000000000000, 505.0000000000000000 0.0000000000000000, 495.0000000000000000 0.0000000000000000), (497.0000000000000000 2.0000000000000000, 499.0000000000000000 2.0000000000000000, 499.0000000000000000 4.0000000000000000, 497.0000000000000000 4.0000000000000000, 497.0000000000000000 2.0000000000000000)), ((510.0000000000000000 0.0000000000000000, 510.0000000000000000 10.0000000000000000, 520.0000000000000000 10.0000000000000000, 520.0000000000000000 0.0000000000000000, 510.0000000000000000 0.0000000000000000), (512.0000000000000000 2.0000000000000000, 514.0000000000000000 2.0000000000000000, 514.0000000000000000 4.0000000000000000, 512.0000000000000000 4.0000000000000000, 512.0000000000000000 2.0000000000000000)), ((525.0000000000000000 0.0000000000000000, 525.0000000000000000 10.0000000000000000, 535.0000000000000000 10.0000000000000000, 535.0000000000000000 0.0000000000000000, 525.0000000000000000 0.0000000000000000), (527.0000000000000000 2.0000000000000000, 529.0000000000000000 2.0000000000000000, 529.0000000000000000 4.0000000000000000, 527.0000000000000000 4.0000000000000000, 527.0000000000000000 2.0000000000000000)), ((540.0000000000000000 0.0000000000000000, 540.0000000000000000 10.0000000000000000, 550.0000000000000000 10.0000000000000000, 550.0000000000000000 0.0000000000000000, 540.0000000000000000 0.0000000000000000), (542.0000000000000000 2.0000000000000000, 544.0000000000000000 2.0000000000000000, 544.0000000000000000 4.0000000000000000, 542.0000000000000000 4.0000000000000000, 542.0000000000000000 2.0000000000000000)), ((555.0000000000000000 0.0000000000000000, 555.0000000000000000 10.0000000000000000, 565.0000000000000000 10.0000000000000000, 565.0000000000000000 0.0000000000000000, 555.0000000000000000 0.0000000000000000), (557.0000000000000000 2.0000000000000000, 559.0000000000000000 2.0000000000000000, 559.0000000000000000 4.0000000000000000, 557.0000000000000000 4.0000000000000000, 557.0000000000000000 2.0000000000000000)), ((570.0000000000000000 0.0000000000000000, 570.0000000000000000 10.0000000000000000, 580.0000000000000000 10.0000000000000000, 580.0000000000000000 0.0000000000000000, 570.0000000000000000 0.0000000000000000), (572.0000000000000000 2.0000000000000000, 574.0000000000000000 2.0000000000000000, 574.0000000000000000 4.0000000000000000, 572.0000000000000000 4.0000000000000000, 572.0000000000000000 2.0000000000000000)), ((585.0000000000000000 0.0000000000000000, 585.0000000000000000 10.0000000000000000, 595.0000000000000000 10.0000000000000000, 595.0000000000000000 0.0000000000000000, 585.0000000000000000 0.0000000000000000), (587.0000000000000000 2.0000000000000000, 589.0000000000000000 2.0000000000000000, 589.0000000000000000 4.0000000000000000, 587.0000000000000000 4.0000000000000000, 587.0000000000000000 2.0000000000000000)), ((600.0000000000000000 0.0000000000000000, 600.0000000000000000 10.0000000000000000, 610.0000000000000000 10.0000000000000000, 610.0000000000000000 0.0000000000000000, 600.0000000000000000 0.0000000000000000), (602.0000000000000000 2.0000000000000000, 604.0000000000000000 2.0000000000000000, 604.0000000000000000 4.0000000000000000, 602.0000000000000000 4.0000000000000000, 602.0000000000000000 2.0000000000000000)), ((615.0000000000000000 0.0000000000000000, 615.0000000000000000 10.0000000000000000, 625.0000000000000000 10.0000000000000000, 625.0000000000000000 0.0000000000000000, 615.0000000000000000 0.0000000000000000), (617.0000000000000000 2.0000000000000000, 619.0000000000000000 2.0000000000000000, 619.0000000000000000 4.0000000000000000, 617.0000000000000000 4.0000000000000000, 617.0000000000000000 2.0000000000000000)), ((630.0000000000000000 0.0000000000000000, 630.0000000000000000 10.0000000000000000, 640.0000000000000000 10.0000000000000000, 640.0000000000000000 0.0000000000000000, 630.0000000000000000 0.0000000000000000), (632.0000000000000000 2.0000000000000000, 634.0000000000000000 2.0000000000000000, 634.0000000000000000 4.0000000000000000, 632.0000000000000000 4.0000000000000000, 632.0000000000000000 2.0000000000000000)), ((645.0000000000000000 0.0000000000000000, 645.0000000000000000 10.0000000000000000, 655.0000000000000000 10.0000000000000000, 655.0000000000000000 0.0000000000000000, 645.0000000000000000 0.0000000000000000), (647.0000000000000000 2.0000000000000000, 649.0000000000000000 2.0000000000000000, 649.0000000000000000 4.0000000000000000, 647.0000000000000000 4.0000000000000000, 647.0000000000000000 2.0000000000000000)), ((660.0000000000000000 0.0000000000000000, 660.0000000000000000 10.0000000000000000, 670.0000000000000000 10.0000000000000000, 670.0000000000000000 0.0000000000000000, 660.0000000000000000 0.0000000000000000), (662.0000000000000000 2.0000000000000000, 664.0000000000000000 2.0000000000000000, 664.0000000000000000 4.0000000000000000, 662.0000000000000000 4.0000000000000000, 662.0000000000000000 2.0000000000000000)), ((675.0000000000000000 0.0000000000000000, 675.0000000000000000 10.0000000000000000, 685.0000000000000000 10.0000000000000000, 685.0000000000000000 0.0000000000000000, 675.0000000000000000 0.0000000000000000), (677.0000000000000000 2.0000000000000000, 679.0000000000000000 2.0000000000000000, 679.0000000000000000 4.0000000000000000, 677.0000000000000000 4.0000000000000000, 677.0000000000000000 2.0000000000000000)), ((690.0000000000000000 0.0000000000000000, 690.0000000000000000 10.0000000000000000, 700.0000000000000000 10.0000000000000000, 700.0000000000000000 0.0000000000000000, 690.0000000000000000 0.0000000000000000), (692.0000000000000000 2.0000000000000000, 694.0000000000000000 2.0000000000000000, 694.0000000000000000 4.0000000000000000, 692.0000000000000000 4.0000000000000000, 692.0000000000000000 2.0000000000000000)), ((705.0000000000000000 0.0000000000000000, 705.0000000000000000 10.0000000000000000, 715.0000000000000000 10.0000000000000000, 715.0000000000000000 0.0000000000000000, 705.0000000000000000 0.0000000000000000), (707.0000000000000000 2.0000000000000000, 709.0000000000000000 2.0000000000000000, 709.0000000000000000 4.0000000000000000, 707.0000000000000000 4.0000000000000000, 707.0000000000000000 2.0000000000000000)))
==5384== 
==5384== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==5384== malloc/free: in use at exit: 267936 bytes in 54 blocks.
==5384== malloc/free: 910310 allocs, 910256 frees, 46871026 bytes allocated.
==5384== For counts of detected errors, rerun with: -v
==5384== searching for pointers to 54 not-freed blocks.
==5384== checked 5194924 bytes.
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 1 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402707F3: __static_initialization_and_destruction_0 (/usr/include/g++-3/stl_algobase.h:5)
==5384==    by 0x40270851: global constructors keyed to geos::CoordinateListFactory::internalFactory (CoordinateListFactory.cpp:290)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 2 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x40277539: __static_initialization_and_destruction_0 (Geometry.cpp:17)
==5384==    by 0x402775D1: geos::Geometry::Geometry(void) (Geometry.cpp:445)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 3 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x4027751B: __static_initialization_and_destruction_0 (Geometry.cpp:16)
==5384==    by 0x402775D1: geos::Geometry::Geometry(void) (Geometry.cpp:445)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 4 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402963A3: __static_initialization_and_destruction_0 (/usr/include/g++-3/stl_map.h:9)
==5384==    by 0x40296401: geos::EdgeEnd::EdgeEnd(void) (/usr/include/g++-3/stl_map.h:76)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 5 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x4029FC1B: __static_initialization_and_destruction_0 (../graph/PlanarGraph.cpp:5)
==5384==    by 0x4029FCD1: global constructors keyed to geos::linkResultDirectedEdges(vector<geos::Node *, allocator<geos::Node *> > *) (../graph/PlanarGraph.cpp:14)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 6 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402BB18B: __static_initialization_and_destruction_0 (../operation/GeometryGraphOperation.cpp:6)
==5384==    by 0x402BB241: geos::GeometryGraphOperation::GeometryGraphOperation(geos::Geometry *, geos::Geometry *) (../operation/GeometryGraphOperation.cpp:15)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 7 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x4028C4AA: geos::PointLocator::PointLocator(void) (../algorithm/PointLocator.cpp:8)
==5384==    by 0x402C9636: __static_initialization_and_destruction_0 (../operation/relate/RelateComputer.cpp:8)
==5384==    by 0x402C96C1: geos::RelateComputer::RelateComputer(void) (../operation/relate/RelateComputer.cpp:13)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 4 bytes in 1 blocks are still reachable in loss record 8 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402CCB53: __static_initialization_and_destruction_0 (/usr/include/g++-3/stl_set.h:9)
==5384==    by 0x402CCBB1: global constructors keyed to geos::IsValidOp::findPtNotNode(geos::CoordinateList *, geos::LinearRing *, geos::GeometryGraph *) (/usr/include/g++-3/stl_set.h:61)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 12 bytes in 1 blocks are still reachable in loss record 9 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402C962C: __static_initialization_and_destruction_0 (../operation/relate/RelateComputer.cpp:8)
==5384==    by 0x402C96C1: geos::RelateComputer::RelateComputer(void) (../operation/relate/RelateComputer.cpp:13)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 28 bytes in 1 blocks are still reachable in loss record 10 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402A7A26: __static_initialization_and_destruction_0 (/usr/include/g++-3/stl_algobase.h:7)
==5384==    by 0x402A7A81: geos::QuadTreeRoot::QuadTreeRoot(void) (../index/quadtree/QuadTreeRoot.cpp:99)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 256 bytes in 1 blocks are still reachable in loss record 11 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x4029FC39: __static_initialization_and_destruction_0 (../graph/PlanarGraph.cpp:6)
==5384==    by 0x4029FCD1: global constructors keyed to geos::linkResultDirectedEdges(vector<geos::Node *, allocator<geos::Node *> > *) (../graph/PlanarGraph.cpp:14)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 256 bytes in 1 blocks are still reachable in loss record 12 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402BB1A9: __static_initialization_and_destruction_0 (../operation/GeometryGraphOperation.cpp:7)
==5384==    by 0x402BB241: geos::GeometryGraphOperation::GeometryGraphOperation(geos::Geometry *, geos::Geometry *) (../operation/GeometryGraphOperation.cpp:15)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 256 bytes in 1 blocks are still reachable in loss record 13 of 14
==5384==    at 0x40168CBF: __builtin_new (vg_clientfuncs.c:129)
==5384==    by 0x402C960E: __static_initialization_and_destruction_0 (../operation/relate/RelateComputer.cpp:7)
==5384==    by 0x402C96C1: geos::RelateComputer::RelateComputer(void) (../operation/relate/RelateComputer.cpp:13)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== 267096 bytes in 41 blocks are still reachable in loss record 14 of 14
==5384==    at 0x40168BBF: malloc (vg_clientfuncs.c:103)
==5384==    by 0x804B50A: __default_alloc_template<true, 0>::_S_chunk_alloc(unsigned int, int &) (/usr/include/g++-3/stl_alloc.h:490)
==5384==    by 0x804B2EB: __default_alloc_template<true, 0>::_S_refill(unsigned int) (/usr/include/g++-3/stl_alloc.h:531)
==5384==    by 0x402D83AB: basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> >::replace(unsigned int, unsigned int, char const *, unsigned int) (/usr/include/g++-3/stl_alloc.h:332)
==5384==    by 0x402CE6D8: __static_initialization_and_destruction_0 (/usr/include/g++-3/std/bastring.h:223)
==5384==    by 0x402CEB61: geos::TopologyValidationError::TopologyValidationError(int, geos::Coordinate) (/usr/include/g++-3/stl_map.h:76)
==5384==    by 0x402D74D4: (within /raid/local/lib/libgeos.so.1.0.0)
==5384==    by 0x4000CA20: _dl_init (dl-init.c:70)
==5384==    by 0x400012F0: (within /lib/ld-2.2.4.so)
==5384== 
==5384== LEAK SUMMARY:
==5384==    definitely lost: 0 bytes in 0 blocks.
==5384==    possibly lost:   0 bytes in 0 blocks.
==5384==    still reachable: 267936 bytes in 54 blocks.
==5384==         suppressed: 0 bytes in 0 blocks.
==5384== 


More information about the geos-devel mailing list