valgrind --suppressions=/afs/cern.ch/sw/lcg/external/valgrind/atlas.supp ../i686-rh73-gcc32-dbg/StoreGateSvcClient_test.exe ==23946== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==23946== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==23946== Using valgrind-2.0.0, a program supervision framework for x86-linux. ==23946== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==23946== Estimated CPU clock rate is 1001 MHz ==23946== For more details, rerun with: -v ==23946== Initializing Gaudi ApplicationMgr using job opts ../share/StoreGateTestCommon.txt .... SNIP ...... SNIP ..... *** StoreGateSvcClient_test OK *** ==23946== ==23946== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 28 from 3) ==23946== malloc/free: in use at exit: 49404 bytes in 223 blocks. ==23946== malloc/free: 2197 allocs, 1974 frees, 202196 bytes allocated. ==23946== For counts of detected errors, rerun with: -v ==23946== searching for pointers to 223 not-freed blocks. ==23946== checked 14094748 bytes. ==23946== ==23946== 8 bytes in 1 blocks are still reachable in loss record 1 of 13 ==23946== at 0x40029C09: malloc (vg_replace_malloc.c:153) ==23946== by 0x406D11C6: __cxa_get_globals (eh_globals.cc:106) ==23946== by 0x406D0E98: std::uncaught_exception() (eh_catch.cc:104) ==23946== by 0x406C5F48: std::ostream::sentry::~sentry() (/scratch/happi/GNU.LANG/gcc-alt-3.2/i686-pc-linux-gnu/libstdc++-v3/include/ostream:196) ==23946== 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) ==23946== 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) ==23946== by 0x406290AE: Athena_test::testRecord(StoreGateSvc&) (../test/SGtests.cxx:70) ==23946== by 0x80492A5: main (../test/StoreGateSvcClient_test.cxx:32) ==23946== ==23946== ==23946== 16 bytes in 1 blocks are still reachable in loss record 2 of 13 ==23946== at 0x4002A11D: calloc (vg_replace_malloc.c:284) ==23946== by 0x403992EC: _dlerror_run (in /lib/libdl-2.2.5.so) ==23946== by 0x40398EA5: dlopen@@GLIBC_2.1 (in /lib/libdl-2.2.5.so) ==23946== by 0x405BEDAC: doLoad(std::string const&, void**) (../src/Lib/System.cpp:66) ==23946== by 0x405BEE87: loadWithoutEnvironment(std::string const&, void**) (../src/Lib/System.cpp:103) ==23946== by 0x405BF066: System::loadDynamicLib(std::string const&, void**) (../src/Lib/System.cpp:123) ==23946== by 0x40529B5D: Gaudi::getFactory(std::string const&, std::string const&) (../src/Lib/Bootstrap.cpp:200) ==23946== by 0x4052970B: Gaudi::createInstance(std::string const&, std::string const&, std::string const&) (../src/Lib/Bootstrap.cpp:119) ==23946== ==23946== ==23946== 6368 bytes in 6 blocks are possibly lost in loss record 12 of 13 ==23946== at 0x40029CF9: __builtin_new (vg_replace_malloc.c:172) ==23946== by 0x40029D64: operator new(unsigned) (vg_replace_malloc.c:185) ==23946== 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) ==23946== 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) ==23946== 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) ==23946== by 0x424129FE: JobOptionsSvc::JobOptionsSvc(std::string const&, ISvcLocator*) (../src/JobOptionsSvc/JobOptionsSvc.cpp:25) ==23946== 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) ==23946== by 0x42456131: ServiceManager::createService(std::string const&, std::string const&, IService*&) (../src/ApplicationMgr/ServiceManager.cpp:418) ==23946== ==23946== LEAK SUMMARY: ==23946== definitely lost: 0 bytes in 0 blocks. ==23946== possibly lost: 6368 bytes in 6 blocks. ==23946== still reachable: 24 bytes in 2 blocks. ==23946== suppressed: 43012 bytes in 215 blocks. ==23946==