Hi,
Indeed ROOT 4.00/08 is not always able to read file produced by the newer version ROOT 4.04/02. The issues includes better support for bool and support for autloading of references.
Philippe.
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of Carlos Munoz Camacho
Sent: Tuesday, May 31, 2005 12:30 PM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] I/O problem between 4.04/02 and 4.00/08
Hi,
The ntuple attached was created with root 4.04/02 and linux. When trying to read it with root 4.00/08, it crashes as below. I guess "forward-compatibility" is not supported, but did so many changes in I/O took place between these two versions than the reading of an ntuple is not possible?
Carlos
root -b test.root
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Attaching file test.root as _file0...
Warning in <TClass::TClass>: no dictionary for class TBranchRef is
available
Warning in <TClass::TClass>: no dictionary for class TRefTable is
available
root [1] ntup.Draw("v")
Warning in <TExMap::Remove>: key 65536 not found at 146
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=65536 pointer will be 0
Warning in <TExMap::Remove>: key 64 not found at 64
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=64 pointer will be 0
Warning in <TExMap::Remove>: key 24064 not found at 423
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=24064 pointer will be 0
Warning in <TExMap::Remove>: key 50331904 not found at 215
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=50331904 pointer will be 0
Warning in <TExMap::Remove>: key 419072 not found at 73
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=419072 pointer will be 0
Warning in <TExMap::Remove>: key 3 not found at 3
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=3 pointer will be 0
Error in <TStreamerInfo::ReadBuffer>: The element TLeaf::fIsRange type 218
(Bool_t) is not supported yet
Error in <TStreamerInfo::ReadBuffer>: The element TLeaf::fIsUnsigned type 218 (Bool_t) is not supported yet
Error in <TBuffer::CheckByteCount>: object of class TLeaf read too few
bytes: 38 instead of 40
Warning in <TExMap::Remove>: key 196609 not found at 439
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=196609 pointer will be 0
Warning in <TExMap::Remove>: key 50331648 not found at 462
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=50331648 pointer will be 0
Warning in <TExMap::Remove>: key 16777216 not found at 154
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=16777216 pointer will be 0
Warning in <TExMap::Remove>: key 4194304 not found at 290
Warning in <TBuffer::CheckObject>: reference to object of unavailable
class TObject, offset=4194304 pointer will be 0
etc.... Received on Fri Jun 03 2005 - 13:53:10 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET