Re: [ROOT] root segmentation fault

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Sep 17 2001 - 18:54:16 MEST


Hi Tommaso,

   after a segv it is very likely that ROOT/CINT does not manage to
clean up and continue to work correctly. You will have to do a .q.
We know that this is a pain. In principle an interpreter environment
should never produce a segv on faulty user input, but with a system
so closely integrated as ROOT and CINT where the interpreter allows
direct access to all kind of run time data structures this is very
difficult to protect. However, if you find a segv that is the result
of the missing of some obvious check in ROOT please let us know so
we can fix it.

Cheers, Fons.



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?
> 
> 2. ROOT seminary: Have you (experts) ever planned to do some ROOT
> dedicated course somewhere (for example @ CERN)?
> 
> Thanks a lot!
> Tommaso

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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