Need help on understanding a mysterious crash

Hi, Rooters(Lorenzo),

Iโ€™m doing an upper limit analyst. There is a mysterious crash when running RooFit, :frowning: :confused: .
The symptom is RooFit quits from a ROOT prompt to a Linux prompt unexpectedly and there are NO any error messages displayed on the screen. Neither, there are any produced plots.

I attach the related lines here.

Signal PDF.

       TF1 *f1 = new TF1("myfunc",myfunction,0,30,2);

Thanks in advance for your help !



Just a heads up for the solution.

The problem is a kind of simple(shamefully) : the histogram has been defined a too small โ€œxmaxโ€.
So, the solution is rather โ€œsimpleโ€ in some senses : increasing it to a big enough value, for instance 80.
Everything is set.

TF1 *f1 = new TF1("myfunc",myfunction,0,80,2);