after the execution of the roologon.C the interpreter stack gets frozen.
I.e. gROOT->Reset() will only delete just up to what was defined in the
rootlogon (so the iostream.h definitions in rootlogon survive a gROOT->Reset()).
However, if you call the Reset() before the stack is frozen (i.e. in
rootlogon.C itself) you wipe out the iosteam definitions.
Cheers, Fons.
Stephen Bailey wrote:
>
> I just found the solution, but I'm a bit mystified about
> why it caused this problem. I had a gROOT->Reset() call
> in my .rootlogon.cc file. Without that reset, cout
> survives any other reset. With the reset in there, cout
> gets blown away, never to return. Hmmm.
>
> Stephen
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910