Re: [ROOT] segmentation violation in GetIntegerDialog() in macro Dialogs.C

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Thu Jul 22 2004 - 18:44:56 MEST


Hi  Anthony,
I didn't find $ROOTSYS/tutorials/Dialogs.C in ROOT version 4.00/04
taken from ftp://root.cern.ch/root/root_v4.00.04.source.tar.gz
I remember that this macro was in tutorials in ROOT of earlier versions.
It was before signal-slots were introduced and it was "hard" to use
GUI (TGxxx) in interpreted code. 
Now everything what Dialogs.C did (and much more) can be done much easier.
Check $ROOTSYS/tutorials/guitest.C tutorial.


Regards. Valeriy


> 
> 
> I am using ROOT version 4.00/04 on Fedora Core 2.
> At the command line I type:
> 
> .L Dialogs.C
> Int_t run   = GetIntegerDialog("Give run number:", 0);
> 
> Then I get a 
>  *** Break *** segmentation violation
>  Generating stack trace...
> 
> When running the same commands in version 4.00/02 I don't get the error.
> 
> -Anthony Palladino
>  palladin@jlab.org
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET