Re: [ROOT] root segmentation fault

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Sep 25 2001 - 16:05:55 MEST


Hi Tommaso,

Tommaso Chiarusi wrote:
> 
> dear rooters end experts
> 
> I have 2 simple questions:
> 
> 1. root segmentation fault:
> assume macro.C is a normal ROOT macro;
> sometimes, after giving the normal execution command
> 
>                 root [1] .x macro.C
> 
> if  macro.C  is containing some error, ROOT starts to produce the output
> 
>                 segmentation fault
> 
> and then stops to behave normally: infact even if I fix the bug in the
> macro, ROOT still  not interpretates correctly the macro and
> doesn't properly work. I thus need to quit (.q) and restart ROOT from
> scratch!
> 
> There is a method to refresh ROOT, in case like this?

You can try the CINT command .reset  or gROOT->Reset() before executing
an unamed macro. This sometimes is not sufficient. It may happen that the crash
happen during a memory management operation from which it is difficult to
recover.

> 
> 2. ROOT seminary: Have you (experts) ever planned to do some ROOT
> dedicated course somewhere (for example @ CERN)?

We have never organized public courses at CERN, but have given several courses
outside. FNAL have been more active and have organized many public courses.
These courses are very well organized (thanks Suzanne) and are also
available from the Web site at:

            http://www-pat.fnal.gov/root/

Suzanne distributed a CDROM with the video of her courses at the ROOT workshop
at FNAL. May be she has still a few copies left.
But I encourage you to start from the page above. It is full of interesting
material, exercises, etc.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET