segmentation violation

From: Perrot Luc (perrot@isn.in2p3.fr)
Date: Fri Mar 24 2000 - 09:31:36 MET


Hi Rooters!
I have a small pb... I am working on linux 6.0 with ROOT v2.23/10
I can compile this very stupid prg:

#include "TROOT.h"
#include <TApplication.h>

#include <stdio.h>
int main(int arg, char **pparg)
{
 TROOT root("GUI", "GUI Spectro environement");
 TApplication theApp("App", &arg, pparg);

 printf("Hello\n");
 return 0;
}

It runs but it give a segmentation fault at the end:

Hello

 *** Break *** segmentation violation

Can some one tell me why?
Thanks
Luc Perrot



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET