Re: [ROOT] problems after using my classes.

From: Otto.Schaile@Physik.uni-muenchen.de
Date: Wed Aug 08 2001 - 10:47:49 MEST


On Wed, 8 Aug 2001, Primrose Mbanefo wrote:

> Hello everyone,
> I'm new to root talk but I would really appreciate some help with ROOT.
> 
> After executing a macro which uses the classes I created I have no error 
> messages but on trying to quit ROOT with ".q " I get the following error 
> message: 
> *** Break *** segmentation violation   
> Has anyone ever had this type of error and where could it be coming from?
> 
> Thank you for your time.

Hi Primrose,
this typically happens  if you overwrite something (your own or roots
classes) in your program

simplest case: 
double * x = new double[2];
x[2] = 10;

Cheers
Otto

Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



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