problem with canvas

From: T Auger (thauger@phns27.saclay.cea.fr)
Date: Tue Sep 29 1998 - 16:45:45 MEST


Hi Rooters,
I have a problem with canvas when trying to use several times the
same macro. Here is a sequence which shows the problems:

root [0] TCanvas c1("c1","Latex",600,700);  
(at this point I close the canvas with the mouse using the File menu)
root [1] gROOT->Reset();

 *** Break *** segmentation violation

I do not have the problem if instead I do :
     TCanvas *c1 = new TCanvas("c1","Latex",600,700);

Is there a bug?
sincerely,
Thierry.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET