BuildIndex works bad with xrootd

I used the buildindex method of TTree in my program. For some particular file(~ 1%) , i will get the following error:
Error in TNetXNGFile::ReadBuffers: [ERROR] Server responded with an error: [3027] readv past EOF
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:0, badread=0, nerrors=1, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:1, badread=0, nerrors=2, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:2, badread=0, nerrors=3, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:3, badread=0, nerrors=4, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:4, badread=0, nerrors=5, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:5, badread=0, nerrors=6, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:6, badread=0, nerrors=7, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:7, badread=0, nerrors=8, basketnumber=0
Error in TBranchElement::GetBasket: File: root://eos01.ihep.ac.cn//eos/user/z/zhipz/dl0.root at byte:0, branch:tel_id, entry:8, badread=0, nerrors=9, basketnumber=0
file probably overwritten: stopping reporting error message

if i don’t generate the output file in the eos file system(don’t using TNetXfile), it doesn’t have any error. How to fix it ?

_ROOT Version: 6.24/06
_Platform:centos7
_Compiler:gcc4.8.5

Hi,

Thanks for the post.
Have you tried with a more recent ROOT version?

Best,
D

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.