Re: [ROOT] following up on my ROOT crash ...

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jun 26 2003 - 11:01:53 MEST


Hi Ed,

A crash in cout is typically a sign of code that has been overwritten.
Instead of running with
.L analysis.C
do
.L analysis.C+g

If you still get a crash, run under gdb
gdb root.exe
gdb > run
root > .L analysis.C+g
root > analysis a
root > a.Loop();
  here you get a crash and are back to gdb
gdb > bt

send the full traceback reported by the gdb bt command, or even better,
try to examine variables in your code when it happens.

If you do not succeed in finding the problem, make a tar file
with the strict minimum to reproduce the problem (*.h, *.C, *.root files)
and tell me where I can pick from AFS (public read area) your tar file.
Note that I will be away until Thursday next week.

Rene Brun

Edward Moyse wrote:
> 
> It actually happens on all computers I can try. I've tracked it down though
> and it's most likely a CINT bug.
> 
> This:
> cout <<"T2ca_hadet ""<<T2ca_hadet<<endl;
> 
> causes the crash. Removing the extra " fixes it - i.e.
> 
> cout <<"T2ca_hadet "<<T2ca_hadet<<endl;
> is okay.
> 
> Obviously this is an error in my macro, but it must be a bug in ROOT/CINT too.
> 
> Cheers,
> 
> Ed



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET