Thank you for reporting this problem. I figured out the cause and fixed it
in cint5.13.97. The problem only happens in several complicated context
which happens in LoadMacro() operation.
Thank you
Masaharu Goto
=======================================================
Hi all,
When I tried to load one macro from within another with gROOT->LoadMacro,
my macro crashed with a SegFault. When I tried to load this same macro
from the command line with .L, everything works fine. I tracked this down
to the following lines in my macro
void mySegFault()
{
const Double_t a = 1.;
const Double_t b = 2.;
const Double_t c = b / TMath::Sqrt(b*b+a*a);
return;
}
The segfault can be removed by either removing the const in front of
Double_t c or by putting the r.h.s. of the third line between parentheses.
Perhaps something Masa could solve?
-- Gerco Onderwater
Nuclear Physics Laboratory
312 Loomis Laboratory of Physics
University of Illinois at Urbana-Champaign
1110 West Green Street
Urbana, IL 61801-3080
Phone : (217) 244-7363
Fax : (217) 333-1215
E-mail: onderwat@uiuc.edu