valgrind ../i686-rh73-gcc32-dbg/StoreGateSvcClient_test.exe ==24207== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==24207== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==24207== Using valgrind-2.0.0, a program supervision framework for x86-linux. ==24207== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==24207== Estimated CPU clock rate is 1000 MHz ==24207== For more details, rerun with: -v ==24207== Initializing Gaudi ApplicationMgr using job opts ../share/StoreGateTestCommon.txt .... SNIP ...... SNIP ..... *** StoreGateSvcClient_test OK *** ==24207== ==24207== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 28 from 3) ==24207== malloc/free: in use at exit: 49404 bytes in 223 blocks. ==24207== malloc/free: 2197 allocs, 1974 frees, 202196 bytes allocated. ==24207== For counts of detected errors, rerun with: -v ==24207== searching for pointers to 223 not-freed blocks. ==24207== checked 14095580 bytes. ==24207== ==24207== 8 bytes in 1 blocks are still reachable in loss record 1 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x406D11C6: __cxa_get_globals (eh_globals.cc:106) ==24207== by 0x406D0E98: std::uncaught_exception() (eh_catch.cc:104) ==24207== by 0x406C5F48: std::ostream::sentry::~sentry() (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/ostream:196) ==24207== by 0x406C7329: std::ostream::write(char const*, int) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:395) ==24207== by 0x406C7A64: std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:640) ==24207== by 0x406290AE: Athena_test::testRecord(StoreGateSvc&) (../test/SGtests.cxx:70) ==24207== by 0x80492A5: main (../test/StoreGateSvcClient_test.cxx:32) ==24207== ==24207== ==24207== 16 bytes in 1 blocks are still reachable in loss record 2 of 13 ==24207== at 0x4002A11D: calloc (vg_replace_malloc.c:284) ==24207== by 0x403992EC: _dlerror_run (in /lib/libdl-2.2.5.so) ==24207== by 0x40398EA5: dlopen@@GLIBC_2.1 (in /lib/libdl-2.2.5.so) ==24207== by 0x405BEDAC: doLoad(std::string const&, void**) (../src/Lib/System.cpp:66) ==24207== by 0x405BEE87: loadWithoutEnvironment(std::string const&, void**) (../src/Lib/System.cpp:103) ==24207== by 0x405BF066: System::loadDynamicLib(std::string const&, void**) (../src/Lib/System.cpp:123) ==24207== by 0x40529B5D: Gaudi::getFactory(std::string const&, std::string const&) (../src/Lib/Bootstrap.cpp:200) ==24207== by 0x4052970B: Gaudi::createInstance(std::string const&, std::string const&, std::string const&) (../src/Lib/Bootstrap.cpp:119) ==24207== ==24207== ==24207== 60 bytes in 3 blocks are still reachable in loss record 3 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x4002A1C4: realloc (vg_replace_malloc.c:302) ==24207== by 0x40006E6F: add_dependency (in /lib/ld-2.2.5.so) ==24207== by 0x40007183: _dl_lookup_symbol_internal (in /lib/ld-2.2.5.so) ==24207== by 0x40009A2C: _dl_relocate_object_internal (in /lib/ld-2.2.5.so) ==24207== by 0x421126C3: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== ==24207== ==24207== 96 bytes in 4 blocks are still reachable in loss record 4 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x4000A2CD: _dl_map_object_deps_internal (in /lib/ld-2.2.5.so) ==24207== by 0x421123CB: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4039928E: _dlerror_run (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 103 bytes in 1 blocks are still reachable in loss record 5 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x40005EA0: _dl_map_object_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112327: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4039928E: _dlerror_run (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 568 bytes in 4 blocks are still reachable in loss record 7 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x4000A37D: _dl_map_object_deps_internal (in /lib/ld-2.2.5.so) ==24207== by 0x421123CB: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4039928E: _dlerror_run (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 660 bytes in 7 blocks are still reachable in loss record 8 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x40005A01: open_path (in /lib/ld-2.2.5.so) ==24207== by 0x400062A5: _dl_map_object_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4000AEFD: openaux (in /lib/ld-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4000A255: _dl_map_object_deps_internal (in /lib/ld-2.2.5.so) ==24207== by 0x421123CB: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== ==24207== ==24207== 763 bytes in 8 blocks are still reachable in loss record 9 of 13 ==24207== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==24207== by 0x40008BAB: _dl_new_object (in /lib/ld-2.2.5.so) ==24207== by 0x400049EE: _dl_map_object_from_fd (in /lib/ld-2.2.5.so) ==24207== by 0x40005DB6: _dl_map_object_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112327: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 896 bytes in 8 blocks are still reachable in loss record 10 of 13 ==24207== at 0x4002A11D: calloc (vg_replace_malloc.c:284) ==24207== by 0x4000C6EB: _dl_check_map_versions_internal (in /lib/ld-2.2.5.so) ==24207== by 0x421126EF: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x4039928E: _dlerror_run (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 4494 bytes in 8 blocks are still reachable in loss record 11 of 13 ==24207== at 0x4002A11D: calloc (vg_replace_malloc.c:284) ==24207== by 0x4000898B: _dl_new_object (in /lib/ld-2.2.5.so) ==24207== by 0x400049EE: _dl_map_object_from_fd (in /lib/ld-2.2.5.so) ==24207== by 0x40005DB6: _dl_map_object_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112327: dl_open_worker (in /lib/i686/libc-2.2.5.so) ==24207== by 0x4000B432: _dl_catch_error_internal (in /lib/ld-2.2.5.so) ==24207== by 0x42112900: _dl_open (in /lib/i686/libc-2.2.5.so) ==24207== by 0x40398EF4: dlopen_doit (in /lib/libdl-2.2.5.so) ==24207== ==24207== ==24207== 6368 bytes in 6 blocks are possibly lost in loss record 12 of 13 ==24207== at 0x40029CF9: __builtin_new (vg_replace_malloc.c:172) ==24207== by 0x40029D64: operator new(unsigned) (vg_replace_malloc.c:185) ==24207== by 0x406B118B: std::string::_Rep::_S_create(unsigned, std::allocator const&) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_alloc.h:103) ==24207== by 0x406B1EF4: char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:150) ==24207== by 0x406AE1E3: std::string::string(char const*, std::allocator const&) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:732) ==24207== by 0x424129FE: JobOptionsSvc::JobOptionsSvc(std::string const&, ISvcLocator*) (../src/JobOptionsSvc/JobOptionsSvc.cpp:25) ==24207== by 0x42414C37: SvcFactory::instantiate(std::string const&, ISvcLocator*) const (/afs/cern.ch/atlas/offline/external/Gaudi/0.12.1.5/GaudiKernel/v13r5p1/GaudiKernel/SvcFactory.h:38) ==24207== by 0x42456131: ServiceManager::createService(std::string const&, std::string const&, IService*&) (../src/ApplicationMgr/ServiceManager.cpp:418) ==24207== ==24207== ==24207== 35172 bytes in 171 blocks are still reachable in loss record 13 of 13 ==24207== at 0x40029CF9: __builtin_new (vg_replace_malloc.c:172) ==24207== by 0x40029D64: operator new(unsigned) (vg_replace_malloc.c:185) ==24207== by 0x406AD3E0: std::__default_alloc_template::_S_chunk_alloc(unsigned, int&) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_alloc.h:103) ==24207== by 0x406AD2FC: std::__default_alloc_template::_S_refill(unsigned) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_alloc.h:525) ==24207== by 0x406B116F: std::string::_Rep::_S_create(unsigned, std::allocator const&) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_alloc.h:349) ==24207== by 0x406B1EF4: char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:150) ==24207== by 0x406AE1E3: std::string::string(char const*, std::allocator const&) (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:732) ==24207== by 0x403E1AF7: boost::c_regex_traits::init() (libs/regex/src/c_regex_traits.cpp:627) ==24207== ==24207== LEAK SUMMARY: ==24207== definitely lost: 0 bytes in 0 blocks. ==24207== possibly lost: 6368 bytes in 6 blocks. ==24207== still reachable: 42836 bytes in 216 blocks. ==24207== suppressed: 200 bytes in 1 blocks. ==24207==