Histograms Drawing Problem with ROOT 4.00/04

We have an online C++/ROOT program that produces a ROOT file with a simple TREE and some histograms. Everything worked fine with ROOT 3.05/07. When using ROOT 4.00/04 I can produce the ROOT file, access the TREE, access the histograms (for example to check Integral()), but whenever I try to Draw an histogram (OR EVEN START A TBrowser), I have a crash. Does somebody know what does it mean?

If you want to try, you can find a ROOT file here: pcpavia1.cern.ch/tof.html

Thank you
Ciao, Germano

Hi,

I can not reproduce any problem with your root file. What are you exactly trying?

In addition, you said[quote] (OR EVEN START A TBrowser),[/quote]It is unlikely that a root file (even a bad one) would lead to being unable to start a TBrowser. What is the error? Is there a stack trace?

Make sure that you properly build ROOT 4.00/04 for your platform.

Cheers,
Philippe.

Hi,
indeed after I have build ROOT 4.00/04 (instead of using the binary copy) things worked properly.

Thank you for your reply
I still don’t understand why the binary copy had such a problem, but that’s solved now.

Cheers,
Germano

Hi Germano,

The most likely cause is a mis-match between the binary build OS and/or compiler and your environment.

Cheers,
Philippe.