**** Purify instrumented ./21_nonmembers (pid 5273 at Thu Oct 25 12:38:22 2007) * Purify 7.0 Linux (32-bit) (C) Copyright IBM Corporation. 1992, 2006 All Rights Reserved. * For contact information type: "purify -help" * Options settings: -linker=/package/1/utils/binutils-2.15.92.0.2-21/bin/ld \ -purify -windows=no -log-file=21_nonmembers.log \ -view-file=21_nonmembers.view \ -purify-home=/nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0 \ -gcc3_path=/package/1/compilers/gcc-3.4.6-3/bin/gcc \ -cache-dir=/nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache \ -hw_cap=yes * License successfully checked out. * Command-line: ./21_nonmembers --compat -O - **** Purify instrumented ./21_nonmembers (pid 5273) **** Current file descriptors in use: 6 FIU: file descriptor 0: FIU: file descriptor 1: FIU: file descriptor 2: FIU: file descriptor 3: FIU: file descriptor 26: FIU: file descriptor 27: **** Purify instrumented ./21_nonmembers (pid 5273) **** Purify: Searching for all memory leaks... Memory leaked: 5330 bytes (100%); potentially leaked: 0 bytes (0%) MLK: 1080 bytes leaked in 160 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] gen_tempstr(unsigned, bool&) [test.cpp:1258] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, std::allocator >(Test&, std::basic_string, std::allocator>, wchar_t >*, char const*, char const*, char const*) [21_nonmembers.cpp:148] * Block of 8 bytes (20 times); last block at 0x81a8ce8 * Block of 7 bytes (80 times); last block at 0x81a1158 * Block of 6 bytes (60 times); last block at 0x81a2ed8 MLK: 1080 bytes leaked in 160 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] gen_tempstr(unsigned, bool&) [test.cpp:1258] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, s... [test.h:479] test_nonmembers, std::allocator >(Test&, std::basic_string, std::allocator>, char >*, char const*, char const*, char const*) [21_nonmembers.cpp:148] * Block of 8 bytes (20 times); last block at 0x81987b8 * Block of 7 bytes (80 times); last block at 0x8190ff8 * Block of 6 bytes (60 times); last block at 0x8193890 MLK: 1052 bytes leaked in 156 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] gen_tempstr(unsigned, bool&) [test.cpp:1258] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, s... [test.h:479] test_nonmembers, std::allocator >(Test&, std::basic_string, std::allocator>, char >*, char const*, char const*, char const*) [21_nonmembers.cpp:147] * Block of 8 bytes (20 times); last block at 0x8195e28 * Block of 7 bytes (76 times); last block at 0x81932f0 * Block of 6 bytes (60 times); last block at 0x819c3a8 MLK: 1052 bytes leaked in 156 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] gen_tempstr(unsigned, bool&) [test.cpp:1258] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, std::allocator >(Test&, std::basic_string, std::allocator>, wchar_t >*, char const*, char const*, char const*) [21_nonmembers.cpp:147] * Block of 8 bytes (20 times); last block at 0x81a2968 * Block of 7 bytes (76 times); last block at 0x81a0948 * Block of 6 bytes (60 times); last block at 0x819fc68 MLK: 270 bytes leaked in 40 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, std::allocator >(Test&, std::basic_string, std::allocator>, wchar_t >*, char const*, char const*, char const*) [21_nonmembers.cpp:148] Test::runTest() [21_nonmembers.cpp:559] * Block of 8 bytes (5 times); last block at 0x8198260 * Block of 7 bytes (20 times); last block at 0x8198e48 * Block of 6 bytes (15 times); last block at 0x819ba20 MLK: 270 bytes leaked in 40 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, s... [test.h:479] test_nonmembers, std::allocator >(Test&, std::basic_string, std::allocator>, char >*, char const*, char const*, char const*) [21_nonmembers.cpp:148] Test::runTest() [21_nonmembers.cpp:551] * Block of 8 bytes (5 times); last block at 0x8192130 * Block of 7 bytes (20 times); last block at 0x818d410 * Block of 6 bytes (15 times); last block at 0x81907c8 MLK: 263 bytes leaked in 39 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, std::allocator >(Test&, std::basic_string, std::allocator>, wchar_t >*, char const*, char const*, char const*) [21_nonmembers.cpp:147] Test::runTest() [21_nonmembers.cpp:559] * Block of 8 bytes (5 times); last block at 0x81946d0 * Block of 7 bytes (19 times); last block at 0x81966a0 * Block of 6 bytes (15 times); last block at 0x8199e98 MLK: 263 bytes leaked in 39 blocks * This memory was allocated from: malloc [rtlib.o] gen_tempstr(unsigned, bool&) [test.cpp:1246] std::basic_string, std::allocator>, std::allocator > gen_string(unsigned, bool&, std::basic_string, std::allocator>, std::allocator>, std::allocator > gen(unsigned, bool&, std::basic_string, std::allocator>, s... [test.h:479] test_nonmembers, std::allocator >(Test&, std::basic_string, std::allocator>, char >*, char const*, char const*, char const*) [21_nonmembers.cpp:147] Test::runTest() [21_nonmembers.cpp:551] * Block of 8 bytes (5 times); last block at 0x818f300 * Block of 7 bytes (19 times); last block at 0x818e7b8 * Block of 6 bytes (15 times); last block at 0x818d880 Purify Heap Analysis (combining suppressed and unsuppressed blocks) Blocks Bytes Leaked 790 5330 Potentially Leaked 0 0 In-Use 0 0 ---------------------------------------- Total Allocated 790 5330 **** Purify instrumented ./21_nonmembers (pid 5273) **** * Program exited with status code 0. * 0 access errors, 0 total occurrences. * 5330 bytes leaked. * 0 bytes potentially leaked. * Basic memory usage (including Purify overhead): 1124984 code 194944 data/bss 258048 heap (peak use) 2552 stack * Shared library memory usage (including Purify overhead): (0xabd000 - 0xcba534) 2086196 /build/vitek/stdcxx-trunk/15d/lib/libstd15d.so_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0xcbb000 - 0xcc9ec8) 61128 /build/vitek/stdcxx-trunk/15d/lib/libstd15d.so_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x590000 - 0x5d9bb0) 302000 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libm.so.6_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0x5da000 - 0x5da2a0) 672 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libm.so.6_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x7ec000 - 0x7fe684) 75396 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/libgcc_s.so.1_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0x7ff000 - 0x7ff2b4) 692 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/libgcc_s.so.1_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x6be000 - 0x6daa78) 117368 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libpthread.so.0_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0x6db000 - 0x6dd4dc) 9436 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libpthread.so.0_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x111000 - 0x115f08) 20232 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/libdl.so.2_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0x116000 - 0x116274) 628 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/libdl.so.2_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x131000 - 0x1332e1) 8929 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/lib32/libinternal_stubs_nopthread.so.1.0 (shared code) (0x1342e4 - 0x134870) 1420 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/lib32/libinternal_stubs_nopthread.so.1.0 (private data) (0x135000 - 0x3ec594) 2848148 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libc.so.6_pure_p3_c0_104192053_269-42ELsmp_32 (shared code) (0x3ed000 - 0x3f28bc) 22716 /nfs/packages/mdx/rhas/utils/purifyplus/7.0/releases/purify.i386_linux2.7.0/cache/fornax/lib/tls/libc.so.6_pure_p3_c0_104192053_269-42ELsmp_32 (private data) (0x445000 - 0x459db4) 85428 /lib/ld-linux.so.2 (shared code) (0x45aca0 - 0x45b4f4) 2132 /lib/ld-linux.so.2 (private data) * Memory mapped usage: 4096 mmap'd at 0xb7842000