ROOT stalling while closing a file

From: Chiara Zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Tue, 26 Sep 2006 15:15:19 +0200


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:14:32 MEST

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