Re: Problem when reading TChain from file

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 27 Apr 2011 08:01:32 -0500


Hi Jan,

Thanks for reporting this problem. It is solved for revision 39038 of the trunk.

Cheers,
Philippe.

On 4/27/11 7:29 AM, Jan Hartmann wrote:
> 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.
Received on Wed Apr 27 2011 - 15:01:38 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 28 2011 - 05:50:01 CEST