I am getting a segmentation violation and I am not sure where it comes from. I have a tree in a file so I get it loop through it, get the values, and all is good. Now I added a little code to create a new tree, just a plain empty tree. As soon as this tree is created, if I try to GetEntry from the first tree, I get a seg fault.
Any idea why this is happening and how I can get around it?