TChain::AddFile problems


We are running some compiled applications using TChain and have seemingly run into a random problem involving TChain::AddFile. With both ROOT 5.16 and 5.18, running on RHEL3 and RHEL4. This application will open a ROOT file via a TChain, use it…then delete the TChain, create a new one, and read in another file. Currently all the files reside locally and are not being accessed via xrootd. For some of these jobs, the application terminates with an exception during the TChain::AddFile call:

Please note that these jobs truly are not running out of memory, while the memory usage for the job is somewhere around 1.5 - 2 GB, the machines have 4 GB available.

The input files are “simple” tuples, which do not require loading any associated data definition libraries.

The exception seems random in that the same file can be added and the AddFile will succeed in a different job.

Has anyone seen this type of behavior?

I’m working on using gdb to see what I can figure out.



Could you post a file in a public readable area as well as a script reproducing the problem?