← Back to team overview

kaliveda-dev team mailing list archive

[Bug 377880] Re: Seg fault analysing recon data with empty tree

 

in v1.8 there is no longer any need to do fChain->GetCurrentFile()->Get("INDRA")
so this should probably no longer exist

** Also affects: kaliveda/1.8
   Importance: Undecided
       Status: New

** Changed in: kaliveda/1.8
       Status: New => Won't Fix

** Changed in: kaliveda
       Status: New => Won't Fix

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

Title:
  Seg fault analysing recon data with empty tree

Status in KaliVeda data analysis framework:
  Won't Fix
Status in KaliVeda 1.7 series:
  Triaged
Status in KaliVeda 1.8 series:
  Won't Fix

Bug description:
  Bug submitted to KaliVedaBugs on 5/12/2008:

  Analysis of reconstructed data crashes with segmentation fault if the
  ReconstructedEvents tree contains no events. Running under gdb gives:

  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 182969175776 (LWP 9318)]
  0x0000002a9846de38 in KVSelector::Init (this=0xe5d050, tree=0x142a180) at analysis/KVSelector.h:256
  256        gIndra = (KVINDRA *) fChain->GetCurrentFile()->Get("INDRA");

  (example for dataset INDRA_e494s, run 542, using version cvs-head-2008-12-05)
  This is probably because fChain->GetCurrentFile() returns 0x0 (have checked there is a valid KVINDRA object in the file).