[ROOT] Problem reading large ROOT-File

From: Jens Garstka (garstka@getit.de)
Date: Tue Mar 11 2003 - 08:47:43 MET


I've got a problem reading a large ROOT-File. I've reduced the problem
to the following steps:

1. I generate a ROOT-file with only one branch. 
2. The branch gets the address(reference) of a char-array [4096].
3. Now I fill this array with 2 million urls from 50 to 800 characters.
4. While writing the ROOT-file I pipe the content (after Tree->Fill())
   with Tree->Show() into stdout (>>logfile). All urls seem to be ok.
5. When I read the file and go through the rows, 9605 urls are ok.
   The url 9606 is cutted of after the 4th character. The row 9617 
   and 9619 will be cutted of, too - then the system crashes with a 
   segmentation fault.

These three lines contain no special characters and their length is
shorter than 400.

I've no idea what I can do.

I'm using:
- ROOT 3.03/09 built from source 
- gcc/g++/gpp 3.0.4-7
- libstdc++3 3.0.4-7
- Debian linux kernel 2.4.20

Thx Jens



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET