[ROOT] Problem accessing file via TRFIOFile

From: Joern Wuestenfeld (j.wuestenfeld@gsi.de)
Date: Fri Jun 11 2004 - 14:21:28 MEST


Hello ROOT experts,

I'm getting a strange message from my attempt to access a file via 
TRFIOFile:

 >TRFIOFile *f = new 
TRFIOFile("rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root")
Error in <TRFIOFile::Init>: file 
rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root is 
truncated at 1074855741 bytes: should be 1745652030, trying to recover
Warning in <TRFIOFile::Init>: no keys recovered, file has been made a Zombie

My ROOT version used is 303-09 without threads.
Using a version compiled with debugging symbols, I get for the same file:

 >TRFIOFile *f = new 
TRFIOFile("rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root")
Error in <TRFIOFile::Init>: file 
rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root is 
truncated at 1074855741 bytes: should be 1745652030, trying to recover
Info in <TRFIOFile::Recover>: recovered key 
TFile:/tmp/be02340213455_dst.root at address 34346611
Info in <TRFIOFile::Recover>: recovered key 
TFile:/tmp/be02340213455_dst.root at address 34347342
Warning in <TRFIOFile::Init>: successfully recovered 2 keys

In neither case the file is usable afterwards. I'm wondering if there is 
a size limit in files as the truncation takes always place a t a size of 
1.01 GB independent of the total file size. Note, that the files where 
created such, that they where closed, if the size reaches 1.8 GB and a 
new file was opened.
If I would retrieve the file from our taperobot, the file can be 
accessed via TFile successfully. A file with a size smaller that 1.01 GB 
can be accessed without any problems.

Any idea what could be wrong?

Best regards,

Joern



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET