Re: [ROOT] TApplication

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jun 27 2001 - 18:15:12 MEST


Hi Olivier,

   the problem was due to a problem in guitest.cxx itself on to an
ordering problem in the destructor of TGMainFrame. Now fixed in CVS.

Cheers, Fons.


Olivier Barret wrote:
> 
> Hi,
> 
> In guitest.cxx in the test directory, I tried to return to the main
> program with
> 
> theApp.Run(kTRUE);
> 
> but the program finishes with
>  *** Break *** segmentation violation
> Aborted
> 
> If I use a pointer to a Tapplication object for theApp instead
>   TApplication *theApp = new TApplication("App", &argc, argv);
> 
> then it returns to the main program fine!
> 
> Is that expected?
> 
> Thanks for your help.
> Olivier

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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