Problem with 4.00/08

I am using root 4.00/08. I am using a macro that runs the makeclass and then runs another code. There is a perl script that runs the codes one by one on multiple input files. The root seems to segfault from time to time in random places. It doesn’t stop the code from running but it has an effect on the output.
I have tried using the binary as well as the cvs version of root, both are givng the same problem.


The most likely cause is that you ROOT trees contains a variables size array (possibly a TClonesArray). MakeClass use fixed size array instead (sized from the file you use to create it). Those fixed size are sometimes to small.

You can try to increase the size of these fixed size array or to try using TTree::MakeProxy instead of MakeClass.