Hi Valeri et al, Uh. Who would have thought such a simple mail could spawn some much communique. On Mon, 12 Mar 2001 17:34:52 -0500 "Valeri Fine (Faine)" <fine@bnl.gov> wrote concerning ": Re: [ROOT] Request for iteration on TSystemDirectory": > > > root [0] gSystem->Load("libStar") > > > root [1] TString name("ATLAS") > > > root [2] TFileSet fs(name) > > > > > > Program received signal SIGSEGV, Segmentation fault. I don't even get that far! > > > Any idea ? > > > > > > > > > > > [rcf] ~/public/expert/root > root.exe -b > > > > ******************************************* > > > > * * > > > > * * > > > > * Version 3.00/05 5 March 2001 * > > > > * * > > > > * * > > > > ******************************************* > > > > root [0] gSystem->Load("libStar") > > > > (int)0 > > > > root [1] TString a("~/public/expert") > > > > root [2] TFileSet fs(a) > > > > root [3] fs.ls(8) > > > > 0 - expert directory > > > > 1 - expert/Jeff directory > > > > 2 - expert/Jeff/SavePrim.C file > > > > 2 - expert/Jeff/myTestFile.C file > > > > 1 - expert/C++Fun directory > > > > I also tried using ROOT 2.25/03, and it doesn't work either. Same thing - hangs. I should also mention the rest of my setup (sorry for not doing it in my first mail): OS: Linux 2.2.16 Arch: i386 GCC: egcs-2.91.66 > > > > How deep is your ("/home/group/user") ? Very VERY deep (at least 10 level if you include symlinks). However, that should not be a problem. > > > > Are you sure it is not running around the globe follow the > > > > symbolic links for example.It may take a while I think. > > > > I have found one has to protect this class against of "black > > > > hole deep" directories. I'd probably be a good idea to have some guard against expanding to arbitrary depths. In fact, I believe the class should only expand the current directory, and if the user requests a sub-directory, it should then expand that one ("just in time"). Anyway, thanks for looking in to it. Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET