problem when reading small tree

From: Ursula Berthon (berthon@polhp2.in2p3.fr)
Date: Tue Mar 14 2000 - 17:28:26 MET


Hi!
I am having problems with a small tree I am writing onto a file.
Everything looks ok when I write (compressionlevel 0, split=1), and also
when I read it with a little macro:
  TFile *hfile = new TFile("/h1wgs/reunion/x03/usr/berthon/tag.root");
  hfile->ls();
  TTree * tree = (TTree*)hfile->Get("TAG");
  tree->ls();
  tree->Print();
  TBrowser *b =new TBrowser();
(but tree->Print() talks about compression factor 1...)

But sometimes (no idea about the difference) when I read it, I get
things like:
R__unzip: discrepancy with initial size
Error in <TBuffer::ReadObject>: object tag too large, I/O buffer
corrupted
Error in <TBuffer::ReadObject>: object tag too large, I/O buffer
corrupted
Error in <TBuffer::ReadObject>: object tag too large, I/O buffer
corrupted
... for pages.

Has anyone seen something like that, and found an explanation?

I am working with root 2.23/200 under Linux with gcc-2.95.2.
Thanks for your help!


                         Ursula

*************************************************************
                                                Ursula Berthon
                                      E-mail  berthon@in2p3.fr
                                    Tel. 33 - 1 - 69 33 31 21
                                    Fax  33 - 1 - 69 33 30 02



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET