TTree::AutoSave example error messages

Using ROOT v5.20.00, RHEL 5 (gcc 4.1.2).
If I use the example in the ROOT Reference (treer.C and treew.C):

http://root.cern.ch/root/html520/TTree.html#TTree:AutoSave

I get this error message for each refresh in ttreer.C:

Error in <TBranch::DropBaskets>: fNBasketRAM =-1

It may be unrelated… but in a more complicated code I wrote, using the same method… I get a core dump. But I’m not sure if it is caused by the same thing.

This problem was not there in v5.16… I haven’t been keeping up.

EDIT typo: changed “refresh in ttreew.C” to “refresh in ttreer.C”

I just tried this using v5.18.00 and I do not see the error message there, either.

Thanks for reporting this problem. Now fixed in the SVN trunk.
Note that the error message is harmless.

Rene

[quote=“brun”]Thanks for reporting this problem. Now fixed in the SVN trunk.
Note that the error message is harmless.
[/quote]

Thanks Rene. I also found that I cannot refresh TTree’s from rootfiles built with v5.20.00. Is this a known bug, as well?