Hi,
I am having a problem if I read a TChain object from a file:
The read object is not added properly to gROOT->GetListOfCleanups().
Not properly means that gROOT->GetListOfCleanups()->FindObject(chain) returns
0, but if I iterate of the list, the chain is there.
This causes trouble later, because after deleting the chain an iteration over
the ListOfCleanups still returns the deleted chain object, causing a
segfault.
I have attached a small macro reproducing this problem.
Best regards,
Jan
PS: I'm having this problem with root 5.28c. With 5.26 and earlier everything was working fine, because TChains were not added to the ListOfCleanups.
This archive was generated by hypermail 2.2.0 : Wed Apr 27 2011 - 17:50:01 CEST