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

ROOT 6.08 has issues opening a histogram file produced with a newer ROOT version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Clarified
    • Affects Version/s: 6.08/06
    • Fix Version/s: None
    • Component/s: Core Libraries, I/O
    • Labels:
      None
    • Environment:

      x86_64-slc6-gcc62-opt

    • Development:

      Description

      Hi,

      A very worrisome issue was just reported on one of the ATLAS mailing lists. When trying to open a (relatively) new jet calibration file, ROOT 6.08/06 dies like:

      [bash][lxplus753]:~ > lsetup "root 6.08.06-x86_64-slc6-gcc62-opt"
      ************************************************************************
      Requested:  root ...
       Setting up gcc gcc620_x86_64_slc6 ...
       Setting up python 2.7.13-x86_64-slc6-gcc62 ...
        Skipping: python 2.7 x86_64 already setup.
       Setting up boost boost-1.62.0-python2.7-x86_64-slc6-gcc62 ...
       Setting up gsl 2.1-x86_64-slc6-gcc62-opt ...
       Setting up fftw 3.3.4-x86_64-slc6-gcc62-opt ...
       Setting up root 6.08.06-x86_64-slc6-gcc62-opt ...
       Setting up xrootd 4.5.0-x86_64-slc6-gcc62-opt ...
       Setting up davix 0.6.2-x86_64-slc6-gcc62-opt ...
      >>>>>>>>>>>>>>>>>>>>>>>>> Information for user <<<<<<<<<<<<<<<<<<<<<<<<<
       root:
         Tip for _this_ standalone ROOT and grid (ie prun) submission:
          avoid --athenaTag if you do not need athena
          use --rootVer=6.08/06 --cmtConfig=x86_64-slc6-gcc62-opt
      ************************************************************************
      [bash][lxplus753]:~ > root -b /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/JetUncertainties/CalibArea-07/rel21/Spring2019/R10_AllComponents.root
         ------------------------------------------------------------
        | Welcome to ROOT 6.08/06                http://root.cern.ch |
        |                               (c) 1995-2016, The ROOT Team |
        | Built for linuxx8664gcc                                    |
        | From tag v6-08-06, 2 March 2017                            |
        | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
         ------------------------------------------------------------
       
      root [0]
      Attaching file /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/JetUncertainties/CalibArea-07/rel21/Spring2019/R10_AllComponents.root as _file0...
      Error R__unzip_header: error in header
      Info in <TFile::GetStreamerInfoList>: cannot find the StreamerInfo record in file /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/JetUncertainties/CalibArea-07/rel21/Spring2019/R10_AllComponents.root
      (TFile *) nullptr
      root [1]
      

      With newer versions of ROOT the file can be opened just fine. And when opening the file like that, it (correctly) reports that it just has a number of TH1D, TH2D and TH3F objects in it.

      Now, the file was written with a version of ROOT that's newer than 6.08/06. But I though that for such "simple types" we could rely on forwards compatibility.

      Could you tell us what's going wrong? Especially, what we could do with this file to make it readable with 6.08/06. (We don't care about even older versions, just this version and all the ones coming after it.)

      Cheers,
      Attila

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              akraszna Attila Krasznahorkay
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: