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

TTreePerfStats cannot be read from the file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.34/38
    • Fix Version/s: 5.34/38, 6.10/00, 6.08/04
    • Component/s: I/O
    • Labels:
      None
    • Environment:

      Linux 64bit

      Description

      I just tried to do:

      root [0] TFile::Open("https://root.cern/files/aod_orig.root")
      root [1] TTreePerfStats* pp = (TTreePerfStats*) gFile->Get("ioperf");
      Error in <TBufferFile::ReadObject>: object tag too large, I/O buffer corrupted
      Error in <TBufferFile::CheckByteCount>: object of class TTreePerfStats read too few bytes: 322 instead of 85029801

      It is because of TVirtualPerfStats defined with ClassDef(0), but derived from TObject
      Are you aware about such problem?

      In JSROOT I need to provide workaround to "jump over" TVirtualPerfStats definition. Then it works:

      http://jsroot.gsi.de/dev/?file=https://root.cern/files/aod_orig.root&item=ioperf;1&opt=inspect

      Regards,
      Sergey

      P.S. And Happy New Year to everybody

        Attachments

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              slinev Serguei Linev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: