[ROOT] Re: segmentation violation

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 02 2002 - 18:42:06 MEST


Hi Mercedes,

You have again a similar problem to the one I solved for you yesterday.
With your new data file, you need to declare your array, currently;
   char track_type[7],eq[3];
to
   char track_type[29],eq[3];

Please be careful with your array declarations.
Since these problems have nothing to do with Root itself, but rather C++,
it would be nice if you could debug your program with a colleague already
experienced in C++.

Rene Brun


On Wed, 2 Oct 2002, Mercedes Paniccia wrote:

> Hi,
> thanks for helping me yesterday
> I am running a slight modified version of that macro,comb,
> with a bigger ASCII file to read,h01to10.clean.out,
> and I got this message
> 
>  *** Break *** segmentation violation
> Root > 
> 
> after the execution
> 
> what's going on now?
> 
> Mercedes
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET