Chain and CutG crash

Dear All,

I am running into a problem with TChain and TCutG. I am unable to apply a graphical cut to a TChain containing more than one file without a crash (CINT or compiled).

To expose my problem, I ran $ROOTSYS/tutorials/tree/basic2.C, I copied the file basic.root file to basis2.root to have two files. Now the attached macro run perfectly if the chain contains only one file. If both files are added (uncomment line 4) then it produces a crash that I can’t explain.

Can you help me to find what I am doing wrong?
Thanks a lot,

Manoel

I am running on linux, fedora 10, root version 5.22/00a
chaintest.C (262 Bytes)

This problem had been fixed in 5.23/04

Rene