Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8148

Memory leak in TStorage::ObjectAlloc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.06/02
    • 6.08/00, 6.04/18
    • Core Libraries
    • None
    • x86_64-slc6-gcc49-opt

    Description

      In ATLAS reconstruction jobs

      -------------------------------------------------------------------------------------------------------------
      //// Memory leak  3,204,688
      ==14704== 3,204,688 (722,000 direct, 2,482,688 indirect) bytes in 18,050 blocks are definitely lost in loss record 106,600 of 106,614
      ==14704==    at 0x4A07067: operator new(unsigned long) (vg_replace_malloc.c:333)
      ==14704==    by 0xAAFC3D8: TStorage::ObjectAlloc(unsigned long) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libCore.so)
      ==14704==    by 0xAA52AD9: ROOT::new_TObjString(void*) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libCore.so)
      ==14704==    by 0xAB66E9C: TClass::New(TClass::ENewType, bool) const (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libCore.so)
      ==14704==    by 0xA4122F9: TBufferFile::ReadObjectAny(TClass const*) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libRIO.so)
      ==14704==    by 0xAB13966: TBuffer& operator>><TObject>(TBuffer&, TObject*&) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libCore.so)
      ==14704==    by 0xAB1364B: TList::Streamer(TBuffer&) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libCore.so)
      ==14704==    by 0xA2C968E: TKey::ReadObjectAny(TClass const*) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libRIO.so)
      ==14704==    by 0xA2B71CB: TDirectoryFile::GetObjectChecked(char const*, TClass const*) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libRIO.so)
      ==14704==    by 0xA2B725D: TDirectoryFile::GetObjectChecked(char const*, TClass const*) (in /afs/cern.ch/sw/lcg/releases/ROOT/6.06.02-6cc9c/x86_64-slc6-gcc49-opt/lib/libRIO.so)
      ==14704==    by 0x627C0121: GetObject<TObject> (TDirectoryFile.h:82)
      ==14704==    by 0x627C0121: CoolHistSvc::getHist_i(std::string const&, unsigned int, std::string const&, std::string const&, TObject*&, bool) (CoolHistSvc.cxx:274)
      ==14704==    by 0x627C1168: CoolHistSvc::objectExists(std::string const&, std::string const&, std::string const&) (CoolHistSvc.cxx:183)
      ==14704==    by 0x7E259448: Analysis::CalibrationBroker::callBack(int&, std::list<std::string, std::allocator<std::string> >&) (CalibrationBroker.cxx:554)
      ==14704==    by 0x7E259BE5: operator() (mem_fn_template.hpp:280)
      ==14704==    by 0x7E259BE5: operator()<StatusCode, boost::_mfi::mf2<StatusCode, Analysis::CalibrationBroker, int&, std::list<std::basic_string<char> >&>, boost::_bi::list2<int&, std::list<std::basic_string<char> >&> > (bind.hpp:384)
      ==14704==    by 0x7E259BE5: operator()<int&, std::list<std::basic_string<char> >&> (bind.hpp:919)
      ==14704==    by 0x7E259BE5: boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<StatusCode, boost::_mfi::mf2<StatusCode, Analysis::CalibrationBroker, int&, std::list<std::string, std::allocator<std::string> >&>, boost::_bi::list3<boost::_bi::value<Analysis::CalibrationBroker*>, boost::arg<1>, boost::arg<2> > >, StatusCode, int&, std::list<std::string, std::allocator<std::string> >&>::invoke(boost::detail::function::function_buffer&, int&, std::list<std::string, std::allocator<std::string> >&) (function_template.hpp:138)
      ==14704==    by 0x32136018: operator() (function_template.hpp:771)
      ==14704==    by 0x32136018: IOVSvcTool::preLoadProxies() (IOVSvcTool.cxx:1206)
      ==14704==    by 0x3213F595: IOVSvcTool::handle(Incident const&) (IOVSvcTool.cxx:448)
      ==14704==    by 0x24C5BD8E: IncidentSvc::i_fireIncident(Incident const&, std::string const&) (in /afs/cern.ch/atlas/software/builds/nightlies/dev/GAUDI/rel_4/GaudiCoreSvc/x86_64-slc6-gcc49-opt/libGaudiCoreSvc.so)
      ==14704==    by 0x24C5CCDA: IncidentSvc::fireIncident(Incident const&) (in /afs/cern.ch/atlas/software/builds/nightlies/dev/GAUDI/rel_4/GaudiCoreSvc/x86_64-slc6-gcc49-opt/libGaudiCoreSvc.so)
      ==14704==    by 0x25948C0A: AthenaEventLoopMgr::beginRunAlgorithms(EventInfo const&) (AthenaEventLoopMgr.cxx:532)
      ==14704==    by 0x25949181: AthenaEventLoopMgr::executeEvent(void*) (AthenaEventLoopMgr.cxx:738)
      ==14704==    by 0x2594A78D: AthenaEventLoopMgr::nextEvent(int) (AthenaEventLoopMgr.cxx:978)
      ==14704==    by 0x259440A4: AthenaEventLoopMgr::executeRun(int) (AthenaEventLoopMgr.cxx:871)
      ==14704==    by 0x24C13D77: ApplicationMgr::executeRun(int) (in /afs/cern.ch/atlas/software/builds/nightlies/dev/GAUDI/rel_4/GaudiCoreSvc/x86_64-slc6-gcc49-opt/libGaudiCoreSvc.so)
      ==14704==    by 0x1E886268: ???
       
       

      Attachments

        Activity

          People

            pcanal Philippe Canal
            limosani Antonio Limosani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: