Hi,
When a simple root tree is opened with the TBrowser, and the leaf is
histogrammed through the TBrowser, I recieve the following error:
Error in <TFile::ReadBuffer>: error in reading all requested bytes from
file test.root, got 661 of 1000
This problem seems to not impact any functionality
The problem does not occur when less than 3991 leaves are read, but
occurs when more than 3990 leaves are read.
The problem occurs on an Intel based machine running Linux (Suse 6.2
/egcs 1.1.2) using the Redhat egcs 1.1.2 binary root distribution.  The
problem occurs for root v2.23/06/04 and v2.22/10 (again the binary
distribution)
The following is the macro to create the tree:
{
gROOT->Reset();
int  count=0;
typedef struct sysinfo{
Int_t	fred;
Int_t	jeff;
};
sysinfo	measdata;
// create a root file
TFile drivefile("test.root","RECREATE");
// Create a ROOT tree
TTree *tree = new TTree("Drivetree","test tree");
// Create a branch
tree->Branch("data",&measdata,"fred/I:jeff/I");
while (count < 3991) {
	count++;
	measdata.fred=10;
	measdata.jeff=10;
	tree->Fill();
	}
drivefile.Write();
drivefile.Close();
cout << "COMPLETE" << endl;
cout << count << " elements inserted" << endl;
}
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET