Hello Root team, I'm merging several hundreds of trees from their corresponding different files. It turns out that some of these files are corrupted (no disk space left, overwritten ...). When I chain them, everything seems fine (no eror) but when the TChain::Merge starts, Root segs. violates with the following error as it accesses the contents of the corrupted file: Error in <TBranchObject::GetBasket>: File problem at address:1128532, basket seekkey=1128532, branch:EVA/dEmcGeaClusterTrack Error in <TBranchObject::GetBasket>: File problem at address:1132940, basket seekkey=0, branch:EVA/dEmcGeaTrack R__unzip: error during decompression Error in <TBasket::ReadBasketBuffers>: fObjlen = 7710, nout = 0 file probably overwritten: stopping reporting error messages Error in <TBranchObject::GetBasket>: File problem at address:1128532, basket seekkey=1128532, branch:EVA/dEmcGeaClusterTrack R__unzip: error during decompression Error in <TBasket::ReadBasketBuffers>: fObjlen = 7710, nout = 0 R__unzip: error during decompression Error in <TBasket::ReadBasketBuffers>: fObjlen = 7710, nout = 0 In order to identify/skip those "bad" files, it would be very convenient to know to which file (out of the hundred ones in my case) the address:1128532 belongs to. Can you think of modifying the following error-message line from: http://root.cern.ch/root/htmldoc/src/TBranch.cxx.html#TBranch:GetBasket Error("GetBasket","File problem at address:%d, basket seekkey=%d, branch:%s",fBasketSeek[basketnumber],basket->GetSeekKey(),GetName()); so that it also outputs the name of the corresponding file where the error occurred ? Thanks very much in advance, -- David D'ENTERRIA - Marie-Curie PostDoc Fellow - TAPS·PHENIX·ALICE Groupe Photons SUBATECH tel: +33 2 51 85 85 60 4, A. Kastler BP 20722 · 44307 Nantes fax: +33 2 51 85 84 24 http://www-subatech.in2p3.fr/~photons mailto:enterria@in2p3.fr --------------------------------------------------------------------- Phenix Group (Bld. 510C) tel: +1 631 344 4233 Brookhaven National Lab. Upton, NY 11973, USA fax: +1 631 344 3253 http://www.phenix.bnl.gov/~enterria mailto:denterri@bnl.gov ---------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET