Re: error in TDCacheFile

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 11 Mar 2011 23:05:53 -0600


Hi Holger,

> This is using a custom binary linked against ROOT version 5.28.00a and
> libDCAP version 1-2-42. ROOT was built from source without any errors.

This might be the problem, older version of dcap indeed had a problem with similar symptoms which has been fixed since.

Philippe.

On 3/10/11 10:01 AM, Holger Meyer wrote:
> Dear roottalk,
>
> I get intermittent (but reproducible) errors when reading files from
> dCache through TDCacheFile. A data analysis program runs sequentially on
> multiple files stored in dCache at Fermilab. Many files are read
> correctly. Many other files show read errors
>
> Error in<TDCacheFile::ReadBuffer>: error reading all requested bytes
> from file
> dcap://fndca1.fnal.gov:24725/pnfs/fnal.gov/usr/e907/mc/dst/pass4f/17/3/mippHist30017379.10.mcdigireco.root,
> got 151503 of 178306
>
> followed by errors in<TBranchElement::GetBasket>. Eventually the
> program crashes:
>
> Error in<TDCacheFile::ReadBuffer>: error reading all requested bytes
> from file
> dcap://fndca1.fnal.gov:24725/pnfs/fnal.gov/usr/e907/mc/dst/pass4f/17/3/mippHist30017381.04.mcdigireco.root,
> got 137404 of 140500
>
> *** Break *** segmentation violation
>
>
>
> The same files that cause errors can be copied (using dccp) to local
> disk space without problems. The analysis program then runs without
> errors if called with the local copies of the files.
>
> This is using a custom binary linked against ROOT version 5.28.00a and
> libDCAP version 1-2-42. ROOT was built from source without any errors.
>
> The dcap library is a little old, could that cause the problem?
> Did anyone else have similar problems with TDCacheFile?
> Or are you doing something similar and it is working without problems?
>
> Thanks in advance for any help with this issue.
>
> Best regards,
> Holger
>
Received on Sat Mar 12 2011 - 06:06:04 CET

This archive was generated by hypermail 2.2.0 : Sun Mar 20 2011 - 23:50:01 CET