Re: ROOT stalling while closing a file

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 26 Sep 2006 15:44:13 +0200


Hi Chiara,

This problem was fixed a few weeks ago in the CVS head . It affected directories
with a very large number of objects like in your example.

Rene Brun

Chiara Zampolli wrote:
> Dear all,
>
> I have a file where a TObjArray of 160000 TH1F is stored (~3.3 MB).
> When I try to retrieve the array, and then close the file, root
> stalls. root [0]
>
> root [0] TFile *file = new
> TFile("$ALICE_ROOT/TOF/DELAYS/MON/file1.root","READ")
> root [1] TObjArray * array =(TObjArray*)file->Get("ciccio")
> root [2] array
> (class TObjArray*)0xa836050
> root [3] file->Close()
> ....
> and here it stalls....
> It stalls even if I use the "OPEN" option for the file, if i first
> delete and set to null the pointer to the array, and if, instead of
> closing, i try to delete the file. Do you know why this happens? I am
> using the latest ROOT version, v5-13-02, gcc 3.4.4, Scientific Linux
> SL release 4.2.
>
> Thank you a lot.
> Regards,
>
> Chiara
Received on Tue Sep 26 2006 - 15:44:31 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET