Re: [ROOT] segmentation fault with fillin a simple tree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Sep 16 2002 - 19:44:38 MEST


Please send all the necessary files, such that we can execute your
test program. At least the following files are missing:
cross.h,event_structure.h. I do not see the calling program.

Rene Brun

On Mon, 16 Sep 2002, Masoud M.Shafiei wrote:

> Hi,
> 
>         I have a mysterious problem with filling a simple tree.
> I am using root 5.15.50 compiled on RedHat 7.3.
> I get segmentation fault at the level of filling up the tree.
> I ran my gdb debugger and the following message came about:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1026 (LWP 10582)]
> 0x401f7e51 in TClass::Streamer () from /cern/root/lib/libCore.so.3.03
> (gdb) list
> 386       Delay(2*CLK_TCK);
> 387     }
> 388 }
> 389
> 390 /*lint -esym(714,testStaDAQ) */
> 391 void main (int argc, char *argv[])
> 392 {
> 393   extern char *optarg;
> 394   extern int optind;
> 395   int errflg = 0;
> (gdb)
> 
> the code is attached,
> 
> thanks in advance,
> Masoud
> 



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