← Back to team overview

kaliveda-dev team mailing list archive

[Bug 814683] [NEW] memory leak in raw->recon task

 

Public bug reported:

raw->recon task has memory leak. KVClassMonitor reveals it is due to creation of KVUniqueNameList objects:
 ++++ 50000 events read ++++ 
Info in <KVClassMonitor::Check>: Checking class instance statistics
Warning in <KVClassMonitor::Check>: TList -5     (142486 --> 142481)
Warning in <KVClassMonitor::Check>: THashTable +204023     (840768 --> 1044791)
Warning in <KVClassMonitor::Check>: KVUniqueNameList +204023     (840685 --> 1044708)
Warning in <KVClassMonitor::Check>: THashList +204023     (840759 --> 1044782)
 ++++ 60000 events read ++++ 
Info in <KVClassMonitor::Check>: Checking class instance statistics
Warning in <KVClassMonitor::Check>: TList +14     (142481 --> 142495)
Warning in <KVClassMonitor::Check>: THashTable +204674     (1044791 --> 1249465)
Warning in <KVClassMonitor::Check>: KVUniqueNameList +204674     (1044708 --> 1249382)
Warning in <KVClassMonitor::Check>: THashList +204674     (1044782 --> 1249456)
 ++++ 70000 events read ++++ 
Info in <KVClassMonitor::Check>: Checking class instance statistics
Warning in <KVClassMonitor::Check>: TList -93     (142495 --> 142402)
Warning in <KVClassMonitor::Check>: THashTable +202704     (1249465 --> 1452169)
Warning in <KVClassMonitor::Check>: KVUniqueNameList +202704     (1249382 --> 1452086)
Warning in <KVClassMonitor::Check>: THashList +202704     (1249456 --> 1452160)
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Abort

This is probably the KVParticle::fGroups member which is 'new'ed in
KVParticle ctor but not deleted in KVParticle::Clear

** Affects: kaliveda
     Importance: Critical
     Assignee: John Frankland (frankland)
         Status: In Progress

** Affects: kaliveda/1.8
     Importance: Critical
     Assignee: John Frankland (frankland)
         Status: In Progress

** Changed in: kaliveda
    Milestone: 1.8.1-bugfixes => None

** Also affects: kaliveda/1.8
   Importance: Critical
     Assignee: John Frankland (frankland)
       Status: In Progress

** Changed in: kaliveda/1.8
    Milestone: None => 1.8.1-bugfixes

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/814683

Title:
  memory leak in raw->recon task

Status in KaliVeda data analysis framework:
  In Progress
Status in KaliVeda 1.8 series:
  In Progress

Bug description:
  raw->recon task has memory leak. KVClassMonitor reveals it is due to creation of KVUniqueNameList objects:
   ++++ 50000 events read ++++ 
  Info in <KVClassMonitor::Check>: Checking class instance statistics
  Warning in <KVClassMonitor::Check>: TList -5     (142486 --> 142481)
  Warning in <KVClassMonitor::Check>: THashTable +204023     (840768 --> 1044791)
  Warning in <KVClassMonitor::Check>: KVUniqueNameList +204023     (840685 --> 1044708)
  Warning in <KVClassMonitor::Check>: THashList +204023     (840759 --> 1044782)
   ++++ 60000 events read ++++ 
  Info in <KVClassMonitor::Check>: Checking class instance statistics
  Warning in <KVClassMonitor::Check>: TList +14     (142481 --> 142495)
  Warning in <KVClassMonitor::Check>: THashTable +204674     (1044791 --> 1249465)
  Warning in <KVClassMonitor::Check>: KVUniqueNameList +204674     (1044708 --> 1249382)
  Warning in <KVClassMonitor::Check>: THashList +204674     (1044782 --> 1249456)
   ++++ 70000 events read ++++ 
  Info in <KVClassMonitor::Check>: Checking class instance statistics
  Warning in <KVClassMonitor::Check>: TList -93     (142495 --> 142402)
  Warning in <KVClassMonitor::Check>: THashTable +202704     (1249465 --> 1452169)
  Warning in <KVClassMonitor::Check>: KVUniqueNameList +202704     (1249382 --> 1452086)
  Warning in <KVClassMonitor::Check>: THashList +202704     (1249456 --> 1452160)
  terminate called after throwing an instance of 'std::bad_alloc'
    what():  St9bad_alloc
  Abort

  This is probably the KVParticle::fGroups member which is 'new'ed in
  KVParticle ctor but not deleted in KVParticle::Clear

To manage notifications about this bug go to:
https://bugs.launchpad.net/kaliveda/+bug/814683/+subscriptions


Follow ups

References