[ROOT] Pointer address lost

From: Manoel Couder (manoel.couder@fynu.ucl.ac.be)
Date: Tue Dec 07 2004 - 17:16:24 MET


I am using a the class generated by MakeClass on a TTree to loop on that TTree 
and fill some histograms. I have added 3 array of TH?I as member of the 
Class. I create them in the constructor.

When I loop on "small" (<1MB) root file I don't have any problem but with 
bigger one it seems that the address of the pointer to some histogram changed 
causing a segmentation violation.

I didn't succeed to find an error so I ask for some help.

As an example I attach 3 three file modified to fit to a particular root file.
In that example everthings seems OK up to ientry==244476 at that moment, the 
pointer to the histogram hE[40] have change of address.

I am using ROOT4.00/08 and gcc3.3.3 on FC2 or gcc2.96 on Linux RH7.3 

Thanks for your help,


PS: The root file  (~3.3 MB) can be found at: http://www.nd.edu/~mcouder/

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET