Error reading trees produced with v5-16 in >= v5-20

Hi,

using v5-16 we produced trees using the syntax

TTree* tree = new Tree(“pp”,“Title”);
tree->Branch(“pi”,&pi,“pi/D”);
[…]

Everything worked fine. However, reading those trees with root version >= v5-20 we get the following error messages starting an interactive root session:

root [1] pp->Print()                             
Error in <TExMap::Remove>: key 553648384 not found at 309
Warning in <TBufferFile::CheckObject>: reference to object of unavailable class TObject, offset=553648384 pointer will be 0
Error in <TExMap::Remove>: key 64 not found at 65
Warning in <TBufferFile::CheckObject>: reference to object of unavailable class TObject, offset=64 pointer will be 0
Error in <TExMap::Remove>: key 50331904 not found at 216
[...]
Error in <TBufferFile::CheckByteCount>: Byte count probably corrupted around buffer position 17284:
	763363328 for a possible maximum of 576866
[...]

Any idea?

Thanks and best regards,
Volker

Hi,

Did you try with v5.25/04 (a similar sounding problem was recently fixed)?
Can you send us you ROOT file?

Cheers,
Philippe.

Hi,

sorry for the delay. I tried with 5.25/04 and now I get the error message

Error in <TBufferFile::ReadObject>: object tag too large, I/O buffer corrupted
Error in <TBufferFile::ReadObject>: object tag too large, I/O buffer corrupted

I would be happy to provide a tree, but I was not able to reproduce the effect with a short and simple tree with only a few branches. Therefore I can offer a file, but that would be 30MB. So nothing to attach.

Could you post your file in a public area?

Rene